022ecb50fedf4f444f1d37c182ef438de27e460b
Steps to reproduce: Have a 0% Tax Make an invoice with it Open tax report The 0% tax is not present in the report because there is no tax lines generated for them because the resulting balance is zero. Since the tax details is making a mapping between tax lines and base lines and the tax report is using them to compute the report, the tax report is not able to compute the tax base amount for such taxes. Explanation: Until now, the tax line with a zero amount wasn't generated because considered as noisy journal items. Now we must be able to groupby on the base tax account on the tax report, we are forced to use the tax details. Injecting dynamically the 0% tax on the tax details sub-queries is really complicated and leads to a huge performance drop. For that reason, we start to generate the tax lines for 0% tax even the balance is zero. However, since there is nothing creating the missing lines in the past, it should be fixed case by case if needed. opw-2711432 closes odoo/odoo#82971 X-original-commit: 65b5ec4ad65f798b1d647978b5b42a49e760139a Signed-off-by: Olivier Colson <oco@odoo.com> Signed-off-by: Laurent Smet <las@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%