Skip to content
Snippets Groups Projects
Commit a066a8b1 authored by Paolo Gatti's avatar Paolo Gatti
Browse files

[FIX] l10n_it_edi: self-invoices require fiscal regime RF18

When the seller is foreign, the Fiscal Regime of the seller must
be set to 'RF18', as per:
https://www.fattura24.com/manuale/altri-documenti/autofattura-fornitori/

Task: https://www.odoo.com/web#id=3010849&model=project.task


opw-3010849

closes odoo/odoo#104780

Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
parent d005fd85
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ class AccountMove(models.Model):
'document_total': document_total,
'representative': company.l10n_it_tax_representative_partner_id,
'codice_destinatario': codice_destinatario,
'regime_fiscale': company.l10n_it_tax_system if not is_self_invoice else 'RF01',
'regime_fiscale': company.l10n_it_tax_system if not is_self_invoice else 'RF18',
'is_self_invoice': is_self_invoice,
'partner_bank': self.partner_bank_id,
'format_date': format_date,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment