diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml index 9047e2e9ac63c416b9bab214242b185d9167212e..046d86285a51510332a7e334550db35fd6e4aaf6 100644 --- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml +++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/scripts/Event_createFollowUpTicket.xml @@ -71,6 +71,8 @@ \n event = state_change[\'object\']\n \n +follow_up_ticket_title = \'\'\n +\n if not(len(event.getFollowUpValueList())):\n history = event.portal_workflow.getInfoFor(event, \'history\', wf_id=\'event_workflow\')\n \n @@ -132,13 +134,13 @@ if not(len(event.getFollowUpValueList())):\n <string>state_change</string> <string>_getitem_</string> <string>event</string> + <string>follow_up_ticket_title</string> <string>len</string> <string>_getattr_</string> <string>history</string> <string>_getiter_</string> <string>history_item</string> <string>follow_up_ticket_type</string> - <string>follow_up_ticket_title</string> </tuple> </value> </item> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 6dd90d24d319b452859920bf74120405fcdaa017..fca7fbef0e3e82105ad15b6f5f6850d017cb09a9 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -222 \ No newline at end of file +223 \ No newline at end of file