[6.1] wrong accounting entries when paying a customer refund

Bug #1092489 reported by Fabrice (OpenERP)
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
High
Unassigned

Bug Description

In v6.1, when we pay a customer refund by clicking on the 'pay invoice' button directly located in the refund form view, the accounting entries created by the voucher are wrong.

For example, if i want to pay an refund of 100 through a voucher, it creates these accounting entries:
bank account, debit=100
customer account, debit=100
customer account, credit=200

where it should only have created:
bank account, debit=100
customer account, credit=100

This problem doesn't occure in v7 because, there, the way refund are handled by voucher is changed

Tested and confirmed by qdp.

qdp (OpenERP) (qdp)
Changed in openobject-addons:
importance: Undecided → High
status: New → Confirmed
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
qdp (OpenERP) (qdp)
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → nobody
importance: High → Undecided
status: Confirmed → New
summary: - debit instead of credit in accounting entries for customer refund
+ [6.1] wrong accounting entries when paying a customer refund
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
qdp (OpenERP) (qdp) wrote :

i changed the description to be more specific.

also i'd like to add: i said that "the way refunds are handled by voucher is changed in v7", i think that before (v6.1) a customer refund payment was treated like a supplier payment voucher, and now (in v7), they are treated like a customer payment voucher with a negative amount... which sounds a bit more logical to me.

The fix for this specific problem was probably included buring that refactoring of the module

description: updated
Changed in openobject-addons:
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
qdp (OpenERP) (qdp) wrote :

marked as duplicated

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.