diff --git a/crm_claim_rma/wizard/account_invoice_refund.py b/crm_claim_rma/wizard/account_invoice_refund.py index 0d0a8471..c6c1bf2d 100644 --- a/crm_claim_rma/wizard/account_invoice_refund.py +++ b/crm_claim_rma/wizard/account_invoice_refund.py @@ -27,7 +27,7 @@ class account_invoice_refund(osv.osv_memory): if context is None: context={} if context.get('invoice_ids'): context['active_ids'] = context.get('invoice_ids') - return super(account_invoice_refund, self).compute_refund(cr, uid, ids, mode='refund', context=context) + return super(account_invoice_refund, self).compute_refund(cr, uid, ids, mode=mode, context=context) def _get_description(self, cr, uid, context=None): if context is None: context = {}