[5.0] [account] Reconciliation: wrong additional entry included in the reconciliation

Bug #691059 reported by Dukai Gábor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hi!
5.0 latest bzr.
Reconciling a supplier invoice in the domestic currency with a write-off > 0 results in a wrong residual amount. That's because the reconciliation code wrongly identifies this case as an exchange rate income/expense kind of write-off.

Example case:
supplier refund 1839.97
payment to supplier 14157.05
payment to supplier 16597.89
supplier invoice 17590.26
supplier invoice 15004.63
sum debit: 32594.91 sum credit: 32594.89

Reconciliation wizard with a write-off of 0.02. The invoice with the total of 15004.63 will have a residual of -0.02 because both sides of booking the write-off will be included in the invoice's payments.

Patch included.

Revision history for this message
Dukai Gábor (gdukai) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.