From 8df1dad12f34c97444afbb32ad47af45c45cf155 Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (Open ERP)" Date: Tue, 23 Apr 2013 18:32:56 +0530 Subject: [PATCH] [FIX]Setting the customer reference of the original invoice in the draft invoice while creating from refunds bzr revid: dhr@tinyerp.com-20130423130256-49dj1iwayheham6d --- addons/account/wizard/account_invoice_refund.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_invoice_refund.py b/addons/account/wizard/account_invoice_refund.py index d62fd331774..523b6024964 100644 --- a/addons/account/wizard/account_invoice_refund.py +++ b/addons/account/wizard/account_invoice_refund.py @@ -195,7 +195,7 @@ class account_invoice_refund(osv.osv_memory): 'invoice_line': invoice_lines, 'tax_line': tax_lines, 'period_id': period, - 'name': description + 'name': inv.name }) for field in ('partner_id', 'account_id', 'currency_id', 'payment_term', 'journal_id'):