-
- Downloads
[FIX] account: Fix 'reconcile' of statement line in foreign currency
The liquidity line of a statement line is always expressed in journal currency.
The counterpart lines (invoice lines most of the time) are expressed in the transaction currency.
When reconciling the statement line with an invoice line, the current code sums the amounts in foreign currency to detect if there is a rounding issue or not.
However, the considered amount for the liquidity line is not expressed in the right currency (journal currency instead of the transaction one).
Note: The current test is working even without the fix in 14.0 but is failing on the next version because the code has changed.
co-author: ushyme (sesn) <sesn@odoo.com>
opw-2991183
closes odoo/odoo#103676
Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
Please register or sign in to comment