[FIX] partner_statement: consider a multicurrency case

Detected cases where account_partial_reconcile has null currency_id, thus giving falsy amount_currency, and thus making some reconciled invoices appearing in the outstanding. Used _amount_residual of account move lines as reference to fix it.

partner_statement 13.0.1.2.1
This commit is contained in:
mreficent
2021-06-17 01:12:35 +02:00
committed by Miquel Raïch
parent f6c6ce950e
commit 286a330509
4 changed files with 135 additions and 100 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Partner Statement",
"version": "13.0.1.2.0",
"version": "13.0.1.2.1",
"category": "Accounting & Finance",
"summary": "OCA Financial Reports",
"author": "ForgeFlow, Odoo Community Association (OCA)",