[FIX] sale: fix typo introduced in untested fix for translating sale order lines notes
Would not have happened if old code was not reusing the same variable for holding different types, and breaking other best practices. bzr revid: odo@openerp.com-20121112143834-cjjzsrz2ah3l7mwd
This commit is contained in:
parent
94115788e2
commit
66c2170173
|
@ -938,7 +938,7 @@ class sale_order_line(osv.osv):
|
|||
result['tax_id'] = self.pool.get('account.fiscal.position').map_tax(cr, uid, fpos, product_obj.taxes_id)
|
||||
|
||||
if not flag:
|
||||
result['name'] = product_obj.name_get(cr, uid, [product_obj.id], context=context_partner)[0][1]
|
||||
result['name'] = self.pool.get('product.product').name_get(cr, uid, [product_obj.id], context=context_partner)[0][1]
|
||||
if product_obj.description_sale:
|
||||
result['name'] += '\n'+product_obj.description_sale
|
||||
domain = {}
|
||||
|
|
Loading…
Reference in New Issue