Error when we try to create a refund
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP RMA |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I create a RMA.
I attach an invoice : partner delivery address and claim lines are populated correctly.
I pass the RMA in state progress.
I click on "New Refund" button.
It raises the next error :
File "/home/
data_refund = self.read(cr, uid, ids, ['filter_
File "/home/
cr, uid, ids, mode=mode, context=context)
File "/home/
refund_id = inv_obj.refund(cr, uid, [inv.id], date, period, description, journal_id, context=context)
File "/home/
context=
File "/home/
journal_
File "/home/
invoice_lines = self._refund_
File "/home/
for __, claim_line_id in context.
ValueError: too many values to unpack
Regards,
Romain
Related branches
- Benoit Guillot - http://www.akretion.com: Approve
- Yannick Vaucher @ Camptocamp: Approve (code review, no test)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 87 lines (+58/-1)3 files modifiedcrm_claim_rma/__openerp__.py (+1/-0)
crm_claim_rma/account_invoice.py (+1/-1)
crm_claim_rma/test/test_invoice_refund.yml (+56/-0)
Changed in openerp-rma: | |
status: | New → Fix Released |