summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-08-26 13:41:21 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-08-26 13:41:21 +0000
commita20b84d05a3f76040a4ca9477b7719537e9c987d (patch)
treea59e4506818c51b2ad56a16b235916ef344eb4b6 /doc/reference/javascript_reference.rst
parent0ff1933ba122206db3003552b74f3a532cd68c3c (diff)
[FIX] account: reconcile invoice, refund in foreign; payment and writeoff in domestic
This reverts 0164c9dfcb8f94dd09ffc5a0ce056e4e23308abe Have exchange rates: Domestic - Domestic: 1.0 Domestic - Foreign : 1.113900 Make an invoice: 480 Foreign Make a credit note: 140 Foreign Make a payment: 287.20 Domestic Reconcile all this with a writeoff: 18.04 Domestic Before this commit, the first invoice was not fully paid this was due to wrong summing of the partial lines that applies to it account.partial.reconcile are made between only 2 move lines at a time Whatever the amounts they hold, it has been computed at creation and it makes no sense to aggregate their rounding error when computing their impact on a move line (because, the information is already lost) After this commit, the use case works, all invoices and payments are fully consumed and reconciled Note that this is a simple use case, no dates or exchange rates involved OPW 2057845 closes odoo/odoo#36087 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions