-
- Downloads
[FIX] account: multicurrency of bank statement reconciliation
- Activate multicurrency and use a 1.5 rate on USD to EUR (to ease calculations) - Create two customer invoices in EUR (company is in USD) for two different partners (e.g. partner1 and partner2) with only one line and an amount of 100 EUR (removed the tax as well so that payment term line is 150 USD on receivable account) - On the "Invoices Matching Rule" reconciliation model: 1. Set Amount Matching to 90% 2. Define any account for the counterpart 3. Remove "Same Currency Matching" 4. Ensure "Partner Is Set & Matches" is marked - Then create a new bank statement with two lines as follows: 1. dummy label, partner1, 140 USD 2. dummy label, partner2, 100 USD - When clicking on reconcile, 1. the line for partner1 is not matched 2. the line for partner2 is matched This occur because the amount from the invoice is not correctly converted in company currency before making the check with the bank statement amounts opw-2261134 closes odoo/odoo#52529 Signed-off-by:Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
Showing
- addons/account/models/account_bank_statement.py 30 additions, 15 deletionsaddons/account/models/account_bank_statement.py
- addons/account/models/account_reconcile_model.py 16 additions, 21 deletionsaddons/account/models/account_reconcile_model.py
- addons/account/tests/test_reconciliation_matching_rules.py 105 additions, 2 deletionsaddons/account/tests/test_reconciliation_matching_rules.py
Please register or sign in to comment