partial reconciliation
Bug #1008774 reported by
Ferdinand
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned | ||
6.1 |
Fix Released
|
Undecided
|
Pedro Manuel Baeza |
Bug Description
to reproduce
create
2 invoices (100+200)
1 bank statement line (250)
go to manual reconciliation
mark all 3 line, do a partial reconciliation
the remaining 50 are written as residual to BOTH invoices which is wrong.
according to common accounting practice the older invoice has to be fully reconciled, the remaining 50 go to the newer invoice
Related branches
lp://qastaging/~openerp-dev/openobject-addons/7.0-bug-1008774-api
- qdp (OpenERP): Pending requested
-
Diff: 49 lines (+32/-0)1 file modifiedaccount/account_invoice.py (+32/-0)
lp://qastaging/~pedro.baeza/ocb-addons/account_invoice-reconciliation-fixes
- Omar (Pexego): Approve (tested)
- Guewen Baconnier @ Camptocamp: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 57 lines (+34/-9)1 file modifiedaccount/account_invoice.py (+34/-9)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | New → Fix Committed |
To post a comment you must log in.
Hello,
I made a fix for that "bug" but there is something that you need to know: Periodical Processing/ reconciliation/ Manual reconciliation the value given for the Partial reconcile will stay the same as before. (Example: I have two invoices with 1000 as Debit and 1 bank statement with 1500 as Credit. After partial reconciliation for those three, the partial reconcile amount will be 500 for each of them)
The balance for each invoice is recomputed like that:
(reconcile amount)/(number of invoice linked to the reconciliation)
but the reconcile amount stays the same
Like that the sum of each invoice's balance will give the reconcile amount and therefore accounting balance is preserved.
So:
- On the Accounting/
- When you look at the invoice (in other menu such as "customer Invoices" the balance will be the partial reconcile amount divided by the number of invoices linked in the same reconciliation).
Good luck,
Arnaud Pineux (API)