Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
stananatanaela committed Oct 1, 2024
1 parent d293a92 commit 7f92bec
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 @@ -82,7 +82,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()

Check warning on line 86 in l10n_ro_stock_account_date/models/stock_move.py

View check run for this annotation

Codecov / codecov/patch

l10n_ro_stock_account_date/models/stock_move.py#L86

Added line #L86 was not covered by tests
if self.is_l10n_ro_record:
if (
self.origin_returned_move_id
Expand Down

0 comments on commit 7f92bec

Please sign in to comment.