Skip to content

Commit

Permalink
[FIX] l10n_br_stock_account: Update line Fiscal OP
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Nov 16, 2024
1 parent f74bbb9 commit c845188
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l10n_br_stock_account/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ def _onchange_invoice_state(self):
fiscal_operation = record._get_default_fiscal_operation()
if fiscal_operation:
record.fiscal_operation_id = fiscal_operation
for line in record.move_lines:
line.fiscal_operation_id = fiscal_operation
line._onchange_product_id_fiscal()

def set_to_be_invoiced(self):
"""
Expand Down

0 comments on commit c845188

Please sign in to comment.