diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/PackingList_updateAppliedRule.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/PackingList_updateAppliedRule.xml index c2fff349a386541f63ba83ed43be373bea8710f2..a6a63e0bb6d8a910fc2c82fb1ee096c2e685b64a 100644 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/PackingList_updateAppliedRule.xml +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/PackingList_updateAppliedRule.xml @@ -75,7 +75,7 @@ packing_list = state_change.object\n \n \n activate_kw = {}\n -related_order = context.getCausalityValue()\n +related_order = packing_list.getCausalityValue()\n after_path_list = []\n if related_order is not None:\n after_path_list.append(related_order.getPath() + \'_firstUpdateAppliedRule\')\n