Skip to content

Commit

Permalink
[FIX] l10n_it_withholding_tax: fix singleton error
Browse files Browse the repository at this point in the history
  • Loading branch information
GSLabIt authored and tafaRU committed Jul 5, 2024
1 parent b1439cd commit 4ff13cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_it_withholding_tax/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def reconcile_exist_account_move(self, lines, rec_line_statement, amount_wt):
line_to_reconcile = line
break
if line_to_reconcile:
if lines.move_id.move_type in ["in_refund", "out_invoice"]:
if line_to_reconcile.move_id.move_type in ["in_refund", "out_invoice"]:
debit_move_id = rec_line_statement.id
credit_move_id = line_to_reconcile.id
else:
Expand Down

0 comments on commit 4ff13cf

Please sign in to comment.