[FIX] Account : Invoice line should display complete name of product from the onchange

lp bug: https://launchpad.net/bugs/516100 fixed

bzr revid: jvo@tinyerp.com-20100211065651-4v97zog6ygxc7g31
This commit is contained in:
Jay (Open ERP) 2010-02-11 12:26:51 +05:30
parent d79db3f73a
commit 4fc1c14b33
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ class account_invoice_line(osv.osv):
result.update({'price_unit': res.list_price, 'invoice_line_tax_id': tax_id})
if not name:
result['name'] = res.name
result['name'] = res.partner_ref
domain = {}
result['uos_id'] = uom or res.uom_id.id or False