[FIX] warning: no notes parameter in onchange_product_id
This is related to rev. 4606b4535a
This commit is contained in:
parent
30d3f9605f
commit
a87d60f70f
|
@ -307,7 +307,7 @@ class purchase_order_line(osv.osv):
|
|||
name=False, price_unit=False, context=None):
|
||||
warning = {}
|
||||
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_info = product_obj.browse(cr, uid, product)
|
||||
title = False
|
||||
|
|
Loading…
Reference in New Issue