[FIX] warning: no notes parameter in onchange_product_id
This is related to rev. 4606b4535a
This commit is contained in:
@@ -307,7 +307,7 @@ class purchase_order_line(osv.osv):
|
|||||||
name=False, price_unit=False, context=None):
|
name=False, price_unit=False, context=None):
|
||||||
warning = {}
|
warning = {}
|
||||||
if not product:
|
if not product:
|
||||||
return {'value': {'price_unit': price_unit or 0.0, 'name': name or '', 'notes': notes or '', 'product_uom' : uom or False}, 'domain':{'product_uom':[]}}
|
return {'value': {'price_unit': price_unit or 0.0, 'name': name or '', 'product_uom' : uom or False}, 'domain':{'product_uom':[]}}
|
||||||
product_obj = self.pool.get('product.product')
|
product_obj = self.pool.get('product.product')
|
||||||
product_info = product_obj.browse(cr, uid, product)
|
product_info = product_obj.browse(cr, uid, product)
|
||||||
title = False
|
title = False
|
||||||
|
|||||||
Reference in New Issue
Block a user