Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[FIX] account: `create_exchange_rate_entry` method is failing #521

Closed hbto closed 1 year ago

hbto commented 1 year ago

Main

[FIX] account: create_exchange_rate_entry method is failing because amount_residual and amount_residual_currency are not inline with each other in v11. Thus we are backporting some of the changes made in the original code for that method in v12. Odoo does not explain that much of the changes in the commit where it is incorporated:

https://github.com/odoo/odoo/commit/d3d2612061413

But it can be seen that the changes are more inline with the approach of being consistent with the values in the same line to be fixed.

Related to:

Issue20249

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr