4d3b26b5808320b12445735dd15dd24fc991c8e1
For zero percent taxes, when the repartition lines are defined as 0% of the 0% tax, the DatiReipilogo elements are not generated. This is because of the recent addition of a filter to the calling of the _prepare_edi_tax_details inside of the function that generates the values for the template. The filter specifies that the tax data retrieved relates to repartition lines with a percentage > 0. This excludes taxes that are 0% of a 0% tax (which would be the same as a repartition line of 100% of a 0% tax). The solution is to change the > to >= so that these 0% tax repartition lines are included. A test is created with an invoice with two 0% taxes. One tax has a 100% tax repartition line, and one has a 0% tax repartition line. With the fix, there should be DatiReipilogo for both taxes in the xml. The reverse_charge_invoice tests are also fixed in order to ignore the invoice name (which will change depending on how many invoices are posted in the previous tests). closes odoo/odoo#95966 Ticket-id: 2909394 X-original-commit: 089f59ef79c554d7517d8621bfaee03875ad6062 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%