[IMP] Remove unwated change
bzr revid: jap@tinyerp.com-20130502062818-ghys3kb5mp6rt5af
This commit is contained in:
parent
4eabc8f186
commit
07cb4cd083
|
@ -775,9 +775,6 @@ class mrp_production(osv.osv):
|
|||
for new_parent_id in new_parent_ids:
|
||||
stock_mov_obj.write(cr, uid, [raw_product.id], {'move_history_ids': [(4,new_parent_id)]})
|
||||
wf_service = netsvc.LocalService("workflow")
|
||||
for componant in production.bom_id.bom_lines:
|
||||
if componant.product_id.type == 'service' and not production.move_lines or not production.move_lines2:
|
||||
wf_service.trg_validate(uid, 'mrp.production', production_id, 'button_produce', cr)
|
||||
wf_service.trg_validate(uid, 'mrp.production', production_id, 'button_produce_done', cr)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue