[FIX] warning.py : fix bug 11 arg needed 15 given
bzr revid: tfr@openerp.com-20101028134558-neiqqv7qjk9ahpvc
This commit is contained in:
parent
f00a176355
commit
194ead1ccd
|
@ -231,7 +231,8 @@ sale_order_line()
|
|||
class purchase_order_line(osv.osv):
|
||||
_inherit = 'purchase.order.line'
|
||||
def product_id_change(self,cr, uid, ids, pricelist, product, qty, uom,
|
||||
partner_id, date_order=False, fiscal_position=False):
|
||||
partner_id, date_order=False, fiscal_position=False, date_planned=False,
|
||||
name=False, price_unit=False, notes=False):
|
||||
warning = {}
|
||||
if not product:
|
||||
return {'value': {'price_unit': 0.0, 'name':'','notes':'', 'product_uom' : False}, 'domain':{'product_uom':[]}}
|
||||
|
|
Loading…
Reference in New Issue