2d65713286602e4287bb2f01d66ea85c24db44b1
The invoice line and tax line sections of the Italian edi should be reported in euros. Due to this, the line.balance is used instead of the line.price_subtotal when calculating the PrezzoTotale' (price_subtotal) of the line. The amount is then made negative if the line is representing a completed downpayment, or if it is a negative line on a reverse charge refund. The unit price is calculated mostly the same way (using the new price_subtotal value). If the line has a discount of 100% then the unit price of the line is computed from the line.price_unit, by converting it to euros using the _convert method on the invoice currency. The exchange rate and the original currency / original currency amount are listed on the lines using he 'AltriDatiGestionali' elements in the xml. A mistake with the way a reverse charge invoice was calculated has been corrected too. Before reverse charge was determined by the document type being 'TD16', 'TD17' or 'TD18'. Where instead it should be 'TD17', 'TD18' or 'TD19'. A typo (inovice -> invoice) has also be corrected in the tests. closes odoo/odoo#98534 Ticket-id: 2952018 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Daniel Kosky (dako) <dako@odoo.com>
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%