[Erp5-report] r43551 aurel - in /erp5/trunk/bt5/erp5_trade: WorkflowTemplateItem/portal_wor...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 22 13:25:09 CET 2011
Author: aurel
Date: Tue Feb 22 13:25:09 2011
New Revision: 43551
URL: http://svn.erp5.org?rev=43551&view=rev
Log:
add an interaction worflow for trade model cell which will copy
variation defined into the base application category
Added:
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/setVariationCategoryList.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/copyVariationToBaseApplication.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/variables.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/worklists.xml
Modified:
erp5/trunk/bt5/erp5_trade/bt/revision
erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="InteractionWorkflowDefinition" module="Products.ERP5.InteractionWorkflow"/>
+ </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>trade_model_cell_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>Trade Model Cell Interaction Workflow</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Interaction" module="Products.ERP5.Interaction"/>
+ </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>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/setVariationCategoryList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/setVariationCategoryList.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/setVariationCategoryList.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/interactions/setVariationCategoryList.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
+ </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>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>before_commit_script_name</string> </key>
+ <value>
+ <list>
+ <string>copyVariationToBaseApplication</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>Copy the variation category into base application of cell</string> </value>
+ </item>
+ <item>
+ <key> <string>guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>setVariationCategoryList</string> </value>
+ </item>
+ <item>
+ <key> <string>method_id</string> </key>
+ <value>
+ <list>
+ <string>_setVariationCategoryList</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>
+ <list>
+ <string>Pay Sheet Model Cell</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>script_name</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>temporary_document_disallowed</string> </key>
+ <value> <int>0</int> </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>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Scripts" module="Products.DCWorkflow.Scripts"/>
+ </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>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/copyVariationToBaseApplication.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/copyVariationToBaseApplication.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/copyVariationToBaseApplication.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/scripts/copyVariationToBaseApplication.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ </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>var = state_change[\'object\'].getVariationCategoryList()\n
+\n
+state_change[\'object\'].log("var = %s" %(var,))\n
+state_change[\'object\'].setBaseApplicationList(var)\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>state_change</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>copyVariationToBaseApplication</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/variables.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/variables.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/variables.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/variables.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Variables" module="Products.DCWorkflow.Variables"/>
+ </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>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/worklists.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/worklists.xml?rev=43551&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/worklists.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_model_cell_interaction_workflow/worklists.xml [utf8] Tue Feb 22 13:25:09 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Worklists" module="Products.DCWorkflow.Worklists"/>
+ </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>
Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=43551&r1=43550&r2=43551&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision [utf8] Tue Feb 22 13:25:09 2011
@@ -1 +1 @@
-1104
\ No newline at end of file
+1106
Modified: erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list?rev=43551&r1=43550&r2=43551&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list [utf8] Tue Feb 22 13:25:09 2011
@@ -5,4 +5,5 @@ order_workflow
packing_list_container_workflow
packing_list_workflow
trade_matrix_workflow
-trade_model_line_interaction_workflow
\ No newline at end of file
+trade_model_line_interaction_workflow
+trade_model_cell_interaction_workflow
More information about the Erp5-report
mailing list