diff --git a/l10n_it_fatturapa_in_rc/wizard/wizard_import_fatturapa.py b/l10n_it_fatturapa_in_rc/wizard/wizard_import_fatturapa.py index c63c907ddf4f..82d4e0a125e1 100644 --- a/l10n_it_fatturapa_in_rc/wizard/wizard_import_fatturapa.py +++ b/l10n_it_fatturapa_in_rc/wizard/wizard_import_fatturapa.py @@ -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