Skip to content

Commit

Permalink
[FIX] l10n_it_fatturapa_in_rc: gestione RC in importazione fattura XM…
Browse files Browse the repository at this point in the history
…L con raggruppamento per Aliquota
  • Loading branch information
TennyMkt committed Nov 4, 2024
1 parent f53fd95 commit 902f3ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions l10n_it_fatturapa_in_rc/wizard/wizard_import_fatturapa.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@ def set_invoice_line_ids(
if rc_ita_fp:
invoice.fiscal_position_id = rc_ita_fp
return res

def _prepareInvoiceLineAliquota(self, credit_account_id, line, nline):
retLine = super()._prepareInvoiceLineAliquota(
credit_account_id, line, nline
)
if self._is_in_reverse_charge_line(line):
retLine["rc"] = True
return retLine

0 comments on commit 902f3ec

Please sign in to comment.