Wednesday, February 26, 2025
1 change · 17.0
New functionality added to Odoo
Italian sales orders can now capture CUP, CIG, and origin document details needed for public administration or publicly funded purchases. These details are carried automatically to invoices, reducing duplicate entry and helping ensure compliant Italian e-invoicing.
Original PR description
CUP and CIG fields for the Italian Localization are available in account moves and are used when the buyer is a Public Administration or utilizes public funds for payment. However, in some cases, these fields are already necessary in the Sales Order. Therefore, this commit adds the CUP and CIG fields to eligible Sales Orders and automatically adds said fields to the Invoice generated from the SO. The fields Origin Document Type, Origin Document Name, Origin Document Date are also added to the Sales Order. If the fields are filled, then the values are passed to the invoice. If the fields are empty, then the Origin Document fields in the invoice are filled with information about the SO which originated it. Task [link](https://www.odoo.com/odoo/project/967/tasks/4290997) task-4290997 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr