Skip to content

Commit

Permalink
[REF] l10n_br_purchase_stock: Unnecessary call methods because _oncha…
Browse files Browse the repository at this point in the history
…nge_product_id_fiscal already call it.
  • Loading branch information
mbcosta committed Aug 14, 2024
1 parent ef13570 commit 0409644
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions l10n_br_purchase_stock/models/stock_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ def _run_buy(self, procurements):
price_unit = line.price_unit
line._onchange_product_id_fiscal()
line.price_unit = price_unit
line._onchange_fiscal_operation_id()
line._onchange_fiscal_operation_line_id()

return result

0 comments on commit 0409644

Please sign in to comment.