Commit a3c1a093 authored by Romain Courteaud's avatar Romain Courteaud

In task_report_causality_workflow, rename edit transition to calculate.

Associate Task Report to delivery_causality_interaction_workflow.
Associate Task Report Line to delivery_movement_causality_interaction_workflow.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c03c0f4f
......@@ -25,10 +25,10 @@
</chain>
<chain>
<type>Task Report</type>
<workflow>task_report_interaction_workflow, edit_workflow, task_report_causality_workflow, task_report_workflow</workflow>
<workflow>task_report_interaction_workflow, task_report_causality_workflow, edit_workflow, delivery_causality_interaction_workflow, task_report_workflow</workflow>
</chain>
<chain>
<type>Task Report Line</type>
<workflow>task_report_interaction_workflow, edit_workflow</workflow>
<workflow>delivery_movement_causality_interaction_workflow, task_report_interaction_workflow, edit_workflow</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context = state_change[\'object\']\n
if context.getSimulationState()!=\'draft\':\n
context.activate().updateCausalityState()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>state_change,**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>state_change</string>
<string>kw</string>
<string>_getitem_</string>
<string>context</string>
<string>_getattr_</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>PackingList_calculate</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -44,14 +44,20 @@
<string>accept_decision_action</string>
<string>adopt_prevision</string>
<string>adopt_prevision_action</string>
<string>calculate</string>
<string>converge</string>
<string>edit</string>
<string>split_prevision</string>
<string>split_prevision_action</string>
<string>start_building</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -40,12 +40,18 @@
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>calculate</string>
<string>diverge</string>
<string>edit</string>
<string>start_building</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -32,7 +32,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>PackingList_afterEdit</string> </value>
<value> <string>PackingList_calculate</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>edit</string> </value>
<value> <string>calculate</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......
281
\ No newline at end of file
283
\ No newline at end of file
......@@ -6,8 +6,10 @@ Requirement | edit_workflow
Requirement | requirement_analysis_workflow
Task Line | edit_workflow
Task Line | order_movement_simulation_interaction_workflow
Task Report Line | delivery_movement_causality_interaction_workflow
Task Report Line | edit_workflow
Task Report Line | task_report_interaction_workflow
Task Report | delivery_causality_interaction_workflow
Task Report | edit_workflow
Task Report | task_report_causality_workflow
Task Report | task_report_interaction_workflow
......
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