diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/new.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/new.xml index bd1bf815d42edf5f1c94cdf0fdd1a6ed6181204c..7c01cda0f8d84cdb6724a097282e47aa33958b9f 100644 --- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/new.xml +++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/new.xml @@ -40,8 +40,10 @@ <string>expire</string> <string>expire_action</string> <string>mark_responded_action</string> + <string>mark_started_action</string> <string>respond</string> <string>respond_action</string> + <string>start</string> </tuple> </value> </item> diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/transitions/mark_started_action.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/transitions/mark_started_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..9379bbac3e9d6c62e9d75723d0feaf614c033c45 --- /dev/null +++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/transitions/mark_started_action.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Mark Posted</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=mark_started_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>start</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Use the Mark Posted action to mark the event as posted. This is the action to be used when you send a copy of the event to the portal and it was already posted in other way.</string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>mark_started_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Mark Posted</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Guard" module="Products.DCWorkflow.Guard"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Owner</string> + <string>Assignee</string> + <string>Assignor</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/bt/change_log b/bt5/erp5_crm/bt/change_log index bf50fbf03d3dd4fc8b14890351e755d57c630e64..2d0056744a0edfe5bd8146409c1514d63841b235 100644 --- a/bt5/erp5_crm/bt/change_log +++ b/bt5/erp5_crm/bt/change_log @@ -1,3 +1,6 @@ +2008-10-30 rafael +* Added Marked Posted transition for new messages. + 2008-10-24 yusei * Fixed EventModule_getEventDetailedReportSectionList. Since All messages will be translated in a template, no need to translate in this script. diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 272a4581e99a8e4b8a0bfd3429e493850a30788b..9d239ff80782ef04598a120993de2cc0f9611708 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -316 \ No newline at end of file +321 \ No newline at end of file