[FIX] account: set customer reference for the invoice name (customer refrence) while refunding instead of reason of refund (opw 591713)

bzr revid: mat@openerp.com-20131118094951-o2ixt5xyrwlyvzgx
This commit is contained in:
Martin Trigaux 2013-11-18 10:49:51 +01:00
commit 4d105a27d6
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'):