[FIX]Setting the customer reference of the original invoice in the draft invoice while creating from refunds

bzr revid: dhr@tinyerp.com-20130423130256-49dj1iwayheham6d
This commit is contained in:
Dharti Ratani (Open ERP) 2013-04-23 18:32:56 +05:30
parent d50b081191
commit 8df1dad12f
1 changed files with 1 additions and 1 deletions

View File

@ -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'):