diff --git a/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml b/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml index 2543611dcdb0192ec01fe8964a6fb971ef4e180e..44a555b1b631826bd89dc419af619622e70172b2 100644 --- a/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml +++ b/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml @@ -70,7 +70,7 @@ previous_tag = order.getPath() + \'_firstUpdateAppliedRule\'\n expand_tag = order.getPath() + \'_expand\'\n activate_kw = {\'tag\':expand_tag,\'priority\':3}\n -order.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_id = \'default_production_order_rule\',activate_kw=activate_kw)\n +order.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_reference = \'default_production_order_rule\',activate_kw=activate_kw)\n \n \n delivery_builder_list = [\n diff --git a/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml b/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml index 2e38d96ff337f532a2654c1a668a6813405b0859..19dc89e161d1290483ffadc56167695d937a708a 100644 --- a/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml +++ b/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml @@ -69,7 +69,7 @@ \n tag = order.getPath() + \'_firstUpdateAppliedRule\'\n activate_kw = {\'tag\':tag,\'priority\':3}\n -order.activate(tag=tag).updateAppliedRule(rule_id = \'default_production_order_rule\',activate_kw=activate_kw)\n +order.activate(tag=tag).updateAppliedRule(rule_reference = \'default_production_order_rule\',activate_kw=activate_kw)\n </string> </value> </item> <item> diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index fd098d297eb9bbdfce1aa740556cbaa888bc90d5..5f5d9b11ac62bcf4b8955b4ab0ff1e2216ff4825 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -374 \ No newline at end of file +375 \ No newline at end of file