[FIX] Purchase :copy method was not setting stock moves to be null for PO lines
bzr revid: jvo@tinyerp.com-20090821132406-imb0eoyictenofcr
This commit is contained in:
committed by
Jay (Open ERP)
parent
39ef3e6e6f
commit
9631c6faea
@@ -455,7 +455,7 @@ class purchase_order_line(osv.osv):
|
||||
def copy_data(self, cr, uid, id, default=None,context={}):
|
||||
if not default:
|
||||
default = {}
|
||||
default.update({'state':'draft', 'move_id':[]})
|
||||
default.update({'state':'draft', 'move_ids':[]})
|
||||
return super(purchase_order_line, self).copy_data(cr, uid, id, default, context)
|
||||
|
||||
def product_id_change(self, cr, uid, ids, pricelist, product, qty, uom,
|
||||
|
||||
Reference in New Issue
Block a user