diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 04c567fec90..b1927f80cf2 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -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