Commit 9d78d053 authored by Lucas Carvalho's avatar Lucas Carvalho

Renamed the wrong workflow transition in bug_workflow and in bug_event_workflow.

Thank you Romain

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22759 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7c0ce5e
......@@ -142,7 +142,7 @@ for to_url in to_url_list:\n
# Bug Message not send email it self.\n
#context.activate(activity=\'SQLQueue\').sendMailHostMessage(mail_message)\n
\n
context.activate(activity=\'SQLQueue\').delivery()\n
context.activate(activity=\'SQLQueue\').deliver()\n
context.setData(mail_message)\n
\n
if download:\n
......
......@@ -115,7 +115,7 @@ body += """\n
# Messages Information \n
message_count = 0\n
for message in bug.searchFolder(portal_type=\'Bug Line\'):\n
if message.getSimulationState() == \'deliveried\':\n
if message.getSimulationState() == \'delivered\':\n
message_count += 1\n
body += """\n
++++++ Message #%s submitted by %s on %s ++++++\n
......
......@@ -33,8 +33,8 @@
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>delivery</string>
<string>delivery_action</string>
<string>deliver</string>
<string>deliver_action</string>
</tuple>
</value>
</item>
......
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>delivery</string> </value>
<value> <string>deliver</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
......@@ -21,7 +21,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Delivery</string> </value>
<value> <string>Deliver</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -29,7 +29,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>delivery</string> </value>
<value> <string>deliver</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>delivery_action</string> </value>
<value> <string>deliver_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
......@@ -73,7 +73,7 @@ person_list = []\n
\n
history = state_change.getHistory()\n
\n
valid_transaction_list = ["confirm_action", "stop_action", "delivery_action", "set_ready_action"]\n
valid_transaction_list = ["confirm_action", "stop_action", "deliver_action", "set_ready_action"]\n
\n
comment = ""\n
message = [ h for h in history if h[\'action\'] in valid_transaction_list]\n
......
......@@ -39,8 +39,8 @@
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>delivery</string>
<string>delivery_action</string>
<string>deliver</string>
<string>deliver_action</string>
<string>set_ready</string>
<string>set_ready_action</string>
</tuple>
......
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>delivery</string> </value>
<value> <string>deliver</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
......@@ -25,11 +25,11 @@
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=delivery_action</string> </value>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=deliver_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>delivery</string> </value>
<value> <string>deliver</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>delivery_action</string> </value>
<value> <string>deliver_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
281
\ No newline at end of file
289
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment