diff --git a/l10n_br_purchase_stock/models/stock_rule.py b/l10n_br_purchase_stock/models/stock_rule.py index b7211820116a..9187a6405907 100644 --- a/l10n_br_purchase_stock/models/stock_rule.py +++ b/l10n_br_purchase_stock/models/stock_rule.py @@ -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