Skip to content

Commit

Permalink
Merge PR #1084 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by feketemihai
  • Loading branch information
OCA-git-bot committed Oct 1, 2024
2 parents 208ece3 + 443ad45 commit 4f26072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l10n_ro_stock_account_date/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def _get_price_unit(self):
.search([("name", "=", "purchase_mrp"), ("state", "=", "installed")])
)
if mrp:
return super()._get_price_unit()
if self.bom_line_id:
return super()._get_price_unit()
if self.is_l10n_ro_record:
if (
self.origin_returned_move_id
Expand Down

0 comments on commit 4f26072

Please sign in to comment.