458b952d019b8d99681326adc2c1748f8a1e3164
- Set the Product Price precision to 5 - Create an invoice with one line: No taxes Price Unit: 0.895 - Save An error is raised because of an unbalanced journal entry. The root cause is the `balance` which is not rounded. This is due to the fact that the currency field (`company_currency_id`) is a related and not set at the moment of computation. This leads to this being equal to `0.01` instead of zero: https://github.com/odoo/odoo/blob/ed1926cb12c830f383dbe540cb96e14d0804eb3d/addons/account/models/account_payment_term.py#L64 Note that if the line is saved with another value then the price unit is modified, the error doesn't occur since the balance is properly rounded. opw-2209543 closes odoo/odoo#50655 X-original-commit: bd4bf1fe759a70d0b44606f1b2a3b27f8e71971d Signed-off-by: Nicolas Martinelli (nim) <nim@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%