[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:
parent
d79db3f73a
commit
4fc1c14b33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue