← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Patch added: "fix_writeoff_type_detection.patch"
   https://bugs.launchpad.net/bugs/691059/+attachment/1767633/+files/fix_writeoff_type_detection.patch

** Branch linked: lp:openobject-addons/5.0

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/691059

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

Status in OpenObject Addons Modules:
  New

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.





References