[FIX] warning: no notes parameter in onchange_product_id

This is related to rev. 4606b4535a
This commit is contained in:
Denis Ledoux 2015-02-16 15:07:21 +01:00
parent 30d3f9605f
commit a87d60f70f
1 changed files with 1 additions and 1 deletions

View File

@ -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