Skip to content

Commit

Permalink
Merge PR #3497 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by rvalyi
  • Loading branch information
OCA-git-bot committed Nov 18, 2024
2 parents f74bbb9 + c845188 commit 4793563
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 4793563

Please sign in to comment.