3e147220fd3b410ad8b530daccff5f697e1749c6
- Enable multi-currency. Company currency = USD, another currency = SGD - Update the exchange rate - Create a purchase journal. Assign SGD to this journal - Create a purchase tax of 7.00 % - Enable tax rounding globally - Create a purchase receipt with the following values 62.04 @ 7% tax 7.29 @ 7% tax An error occurs: 'Cannot create unbalanced journal entry.' Each line of the receipt creates its own tax line, which is therefore rounded => the total of the receipt is computed with a 'round globally' configuration, while the taxes are computed with a 'round per line' configuration. This is because `apply_taxes=True` is set in the context. This creates the tax line by forcing the rounding. Therefore, we call the method `_apply_taxes` explicitly in this specific case, and manually round the taxes once they are merged. opw-1938623 closes odoo/odoo#31194
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%