[Erp5-report] r21928 - in /erp5/trunk/bt5/erp5_payroll: PortalTypeWorkflowChainTemplateItem...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 26 11:03:28 CEST 2008
Author: jerome
Date: Thu Jun 26 11:03:21 2008
New Revision: 21928
URL: http://svn.erp5.org?rev=21928&view=rev
Log:
Adds an interaction workflow to update cell range when changing variation settings categories on a pay sheet model.
Added:
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/update_cell_range.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/PaySheetModel_updateCellRange.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/variables.xml
erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/worklists.xml
Modified:
erp5/trunk/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
erp5/trunk/bt5/erp5_payroll/bt/revision
erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
erp5/trunk/bt5/erp5_payroll/bt/template_workflow_id_list
Modified: erp5/trunk/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=21928&r1=21927&r2=21928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml (original)
+++ erp5/trunk/bt5/erp5_payroll/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml Thu Jun 26 11:03:21 2008
@@ -9,7 +9,7 @@
</chain>
<chain>
<type>Pay Sheet Model</type>
- <workflow>validation_workflow, edit_workflow</workflow>
+ <workflow>paysheet_model_interaction_workflow, validation_workflow, edit_workflow</workflow>
</chain>
<chain>
<type>Pay Sheet Model Line</type>
Added: erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,61 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_objects</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>creation_guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>Updates cell range when variation settings categories changed</string> </value>
+ </item>
+ <item>
+ <key> <string>groups</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>paysheet_model_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>Interaction Workflow Definition</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,37 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/update_cell_range.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/update_cell_range.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/update_cell_range.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/interactions/update_cell_range.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,93 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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>PaySheetModel_updateCellRange</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>When variation settings category list changes, this means that the slices will be set on this model or delegated to another model. In both cases, we have to update the cell range, either to be able to create new cell, or to have contained cells deleted so that PaySheetModel.getCell gets the value on the inherited model.</string> </value>
+ </item>
+ <item>
+ <key> <string>guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>update_cell_range</string> </value>
+ </item>
+ <item>
+ <key> <string>method_id</string> </key>
+ <value>
+ <list>
+ <string>_setVariationSettingsCategoryList</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>once_per_transaction</string> </key>
+ <value> <int>0</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>
Added: erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,37 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/PaySheetModel_updateCellRange.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/PaySheetModel_updateCellRange.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/PaySheetModel_updateCellRange.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/scripts/PaySheetModel_updateCellRange.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,141 @@
+<?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>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>sci[\'object\'].updateCellRange(base_id=\'cell\')\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>sci</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>sci</string>
+ <string>_getattr_</string>
+ <string>_getitem_</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>PaySheetModel_updateCellRange</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/variables.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/variables.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/variables.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/variables.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,31 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/worklists.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/worklists.xml?rev=21928&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/worklists.xml (added)
+++ erp5/trunk/bt5/erp5_payroll/WorkflowTemplateItem/portal_workflow/paysheet_model_interaction_workflow/worklists.xml Thu Jun 26 11:03:21 2008
@@ -1,0 +1,31 @@
+<?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>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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_payroll/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/revision?rev=21928&r1=21927&r2=21928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/revision (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/revision Thu Jun 26 11:03:21 2008
@@ -1,1 +1,1 @@
-302
+308
Modified: erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list?rev=21928&r1=21927&r2=21928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_portal_type_workflow_chain_list Thu Jun 26 11:03:21 2008
@@ -6,6 +6,7 @@
Pay Sheet Line | edit_workflow
Pay Sheet Model Line | edit_workflow
Pay Sheet Model | edit_workflow
+Pay Sheet Model | paysheet_model_interaction_workflow
Pay Sheet Model | validation_workflow
Pay Sheet Transaction Line | delivery_movement_causality_interaction_workflow
Pay Sheet Transaction Line | delivery_movement_simulation_interaction_workflow
Modified: erp5/trunk/bt5/erp5_payroll/bt/template_workflow_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_payroll/bt/template_workflow_id_list?rev=21928&r1=21927&r2=21928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_payroll/bt/template_workflow_id_list (original)
+++ erp5/trunk/bt5/erp5_payroll/bt/template_workflow_id_list Thu Jun 26 11:03:21 2008
@@ -1,0 +1,1 @@
+paysheet_model_interaction_workflow
More information about the Erp5-report
mailing list