OCA / l10n-italy

Odoo Italian localization
https://www.odoo-italia.org
GNU Affero General Public License v3.0
143 stars 298 forks source link

[16.0] [FIX] l10n_it_reverse_charge: write supplier_invoice_vals in generate_supplier_self_invoice #4065

Open eLBati opened 3 months ago

eLBati commented 3 months ago

Otherwise if user resets to draft supplier invoice and change some invoice fields, they are not propagated to self invoices

Also, this alignes to generate_self_invoice which already performs rc_invoice.write(inv_vals)