6200696ecc00b2f7205d7ad99387cd0a2a36f13b
Steps to reproduce: - On a company with multi currency - Set the company currency rate to 1, and the foreign currency to 0.273748 - Create a vendor bill - Set first the foreign currency, then select a product with a tax to 21% and a price unit of 155.32 - Go to 'Journal Items', the 'tax paid' line debit is computed to 119.15 - Reselect the foreign currency on form. - Now the 'tax paid' line debit is computed to 119.16 The total is also impacted as the tax changed. Explanation: Before this commit, the taxes was both computed in foreign currency and company currency. However, when setting a new currency or changing the date, the taxes wasn't recomputed but the new conversion rate was applied. This commit is fixing the issue by applying the same logic as in 14.0: the taxes are always computed only the foreign currency, then the conversion rate is applied to get the accounting balance. opw-2569668 closes odoo/odoo#79618 X-original-commit: 11f5fcfb577b117b279f5d96095e9c0798d78bbd Signed-off-by: Laurent Smet <las@openerp.com> Signed-off-by: William André (wan) <wan@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%