Commit 40a6a870 authored by Jérome Perrin's avatar Jérome Perrin

the interaction workflow to copy base contribution from resource to movement...

the interaction workflow to copy base contribution from resource to movement is still needed in trade model line system

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28592 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8141f1c9
......@@ -41,7 +41,7 @@
</chain>
<chain>
<type>Internal Packing List Line</type>
<workflow>delivery_movement_causality_interaction_workflow, edit_workflow, trade_matrix_workflow, pricing_interaction_workflow, delivery_movement_simulation_interaction_workflow</workflow>
<workflow>delivery_movement_causality_interaction_workflow, edit_workflow, movement_base_contribution_interaction_workflow, trade_matrix_workflow, pricing_interaction_workflow, delivery_movement_simulation_interaction_workflow</workflow>
</chain>
<chain>
<type>Inventory</type>
......@@ -73,7 +73,7 @@
</chain>
<chain>
<type>Purchase Order Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow, order_movement_simulation_interaction_workflow</workflow>
<workflow>edit_workflow, movement_base_contribution_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow, order_movement_simulation_interaction_workflow</workflow>
</chain>
<chain>
<type>Purchase Packing List</type>
......@@ -85,7 +85,7 @@
</chain>
<chain>
<type>Purchase Packing List Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, delivery_movement_causality_interaction_workflow, trade_matrix_workflow, delivery_movement_simulation_interaction_workflow</workflow>
<workflow>edit_workflow, pricing_interaction_workflow, delivery_movement_causality_interaction_workflow, trade_matrix_workflow, delivery_movement_simulation_interaction_workflow, movement_base_contribution_interaction_workflow</workflow>
</chain>
<chain>
<type>Purchase Trade Condition</type>
......@@ -113,7 +113,7 @@
</chain>
<chain>
<type>Sale Order Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow, order_movement_simulation_interaction_workflow</workflow>
<workflow>edit_workflow, movement_base_contribution_interaction_workflow, pricing_interaction_workflow, trade_matrix_workflow, order_movement_simulation_interaction_workflow</workflow>
</chain>
<chain>
<type>Sale Packing List</type>
......@@ -125,7 +125,7 @@
</chain>
<chain>
<type>Sale Packing List Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, container_interaction_workflow, trade_matrix_workflow, delivery_movement_causality_interaction_workflow, delivery_movement_simulation_interaction_workflow</workflow>
<workflow>edit_workflow, pricing_interaction_workflow, container_interaction_workflow, trade_matrix_workflow, delivery_movement_causality_interaction_workflow, delivery_movement_simulation_interaction_workflow, movement_base_contribution_interaction_workflow</workflow>
</chain>
<chain>
<type>Sale Trade Condition</type>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="InteractionWorkflowDefinition" module="Products.ERP5.InteractionWorkflow"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>creation_guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>movement_base_contribution_interaction_workflow</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Base Contribution Interaction Workflow</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Interaction" module="Products.ERP5.Interaction"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>interactions</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
<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></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>activate_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>Movement_copyBaseContributionFromResource</string>
</list>
</value>
</item>
<item>
<key> <string>before_commit_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>setResource</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>_setResource.*</string>
</list>
</value>
</item>
<item>
<key> <string>once_per_transaction</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Scripts" module="Products.DCWorkflow.Scripts"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </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>movement = state_change[\'object\']\n
\n
resource = movement.getResourceValue()\n
if resource is not None:\n
movement.setBaseContributionList(resource.getBaseContributionList())\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</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>_getitem_</string>
<string>movement</string>
<string>_getattr_</string>
<string>resource</string>
<string>None</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>Movement_copyBaseContributionFromResource</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Variables" module="Products.DCWorkflow.Variables"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>variables</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Worklists" module="Products.DCWorkflow.Worklists"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>worklists</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
722
\ No newline at end of file
723
\ No newline at end of file
......@@ -21,6 +21,7 @@ Internal Packing List Cell | pricing_interaction_workflow
Internal Packing List Line | delivery_movement_causality_interaction_workflow
Internal Packing List Line | delivery_movement_simulation_interaction_workflow
Internal Packing List Line | edit_workflow
Internal Packing List Line | movement_base_contribution_interaction_workflow
Internal Packing List Line | pricing_interaction_workflow
Internal Packing List Line | trade_matrix_workflow
Internal Packing List | delivery_causality_interaction_workflow
......@@ -41,6 +42,7 @@ Purchase Order Cell | edit_workflow
Purchase Order Cell | order_movement_simulation_interaction_workflow
Purchase Order Cell | pricing_interaction_workflow
Purchase Order Line | edit_workflow
Purchase Order Line | movement_base_contribution_interaction_workflow
Purchase Order Line | order_movement_simulation_interaction_workflow
Purchase Order Line | pricing_interaction_workflow
Purchase Order Line | trade_matrix_workflow
......@@ -53,6 +55,7 @@ Purchase Packing List Cell | pricing_interaction_workflow
Purchase Packing List Line | delivery_movement_causality_interaction_workflow
Purchase Packing List Line | delivery_movement_simulation_interaction_workflow
Purchase Packing List Line | edit_workflow
Purchase Packing List Line | movement_base_contribution_interaction_workflow
Purchase Packing List Line | pricing_interaction_workflow
Purchase Packing List Line | trade_matrix_workflow
Purchase Packing List | delivery_causality_interaction_workflow
......@@ -70,6 +73,7 @@ Sale Order Cell | edit_workflow
Sale Order Cell | order_movement_simulation_interaction_workflow
Sale Order Cell | pricing_interaction_workflow
Sale Order Line | edit_workflow
Sale Order Line | movement_base_contribution_interaction_workflow
Sale Order Line | order_movement_simulation_interaction_workflow
Sale Order Line | pricing_interaction_workflow
Sale Order Line | trade_matrix_workflow
......@@ -84,6 +88,7 @@ Sale Packing List Line | container_interaction_workflow
Sale Packing List Line | delivery_movement_causality_interaction_workflow
Sale Packing List Line | delivery_movement_simulation_interaction_workflow
Sale Packing List Line | edit_workflow
Sale Packing List Line | movement_base_contribution_interaction_workflow
Sale Packing List Line | pricing_interaction_workflow
Sale Packing List Line | trade_matrix_workflow
Sale Packing List | delivery_causality_interaction_workflow
......
container_interaction_workflow
internal_packing_list_workflow
inventory_workflow
movement_base_contribution_interaction_workflow
order_workflow
packing_list_container_workflow
packing_list_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