74109d0479dd8bd1e76312dd417d2865d8882e6a
When the invoice is a New record and thus, not yet stored inside the database, the totals like amount_untaxed/amount_tax/amount_total are set to 0.0 because line_ids is empty. About the lines, balance/amount_currency are also set to 0.0. This means we can not rely to any of these fields in any case when computing the values for a New record. To reproduce, configure the early payment discount computation to "Always upon invoice", create a new invoice and set the demo terms 30 Net 2/7. For a customer invoice, the tax amount will not be correct until the save. For a vendor bill, the tax amount will be erased by the quick edit mode and the correct value will never be set. closes odoo/odoo#114994 X-original-commit: a34033524f6e1a2f46ce2e14368389ecddc3c840 Signed-off-by: William André (wan) <wan@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%