[Erp5-report] r23880 - in /erp5/trunk/bt5/erp5_budget: PortalTypeWorkflowChainTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 29 11:51:30 CEST 2008


Author: fabrice
Date: Mon Sep 29 11:51:26 2008
New Revision: 23880

URL: http://svn.erp5.org?rev=23880&view=rev
Log:
2008-09-29 fabrice
*Add budget_cell_interaction_workflow

Added:
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/membership_criterion_category_list.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/variables.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/worklists.xml
Modified:
    erp5/trunk/bt5/erp5_budget/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
    erp5/trunk/bt5/erp5_budget/bt/change_log
    erp5/trunk/bt5/erp5_budget/bt/revision
    erp5/trunk/bt5/erp5_budget/bt/template_portal_type_workflow_chain_list
    erp5/trunk/bt5/erp5_budget/bt/template_workflow_id_list

Modified: erp5/trunk/bt5/erp5_budget/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=23880&r1=23879&r2=23880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml (original)
+++ erp5/trunk/bt5/erp5_budget/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml Mon Sep 29 11:51:26 2008
@@ -5,7 +5,7 @@
  </chain>
  <chain>
   <type>Budget Cell</type>
-  <workflow>edit_workflow</workflow>
+  <workflow>budget_cell_interaction_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Budget Line</type>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,49 @@
+<?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>budget_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>Interaction Workflow Definition</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,31 @@
+<?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>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/membership_criterion_category_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/membership_criterion_category_list.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/membership_criterion_category_list.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/interactions/membership_criterion_category_list.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,90 @@
+<?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>BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>When criterion category list are set on the budget cell, we also set standard category membership based on this information.\r\n
+Note: criterion category list is set by the BudgetLine_view/matrixbox\'s Global Properties.</string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>membership_criterion_category_list</string> </value>
+        </item>
+        <item>
+            <key> <string>method_id</string> </key>
+            <value>
+              <list>
+                <string>_setMembershipCriterionCategoryList</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>
+              <list>
+                <string>Budget Cell</string>
+              </list>
+            </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_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,31 @@
+<?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>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/scripts/BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,132 @@
+<?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>cell = sci[\'object\']\n
+\n
+for membership_criterion_category in cell.getMembershipCriterionCategoryList():\n
+  base_category, category = membership_criterion_category.split(\'/\', 1)\n
+  cell.setProperty(base_category, category)\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</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>_getitem_</string>
+                            <string>cell</string>
+                            <string>_getiter_</string>
+                            <string>_getattr_</string>
+                            <string>membership_criterion_category</string>
+                            <string>base_category</string>
+                            <string>category</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>BudgetCell_setCategoryMembershipFromMembershipCriterionCategoryList</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/variables.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/variables.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/variables.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/variables.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,25 @@
+<?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>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/worklists.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/worklists.xml?rev=23880&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/worklists.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_cell_interaction_workflow/worklists.xml Mon Sep 29 11:51:26 2008
@@ -1,0 +1,25 @@
+<?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>

Modified: erp5/trunk/bt5/erp5_budget/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/change_log?rev=23880&r1=23879&r2=23880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_budget/bt/change_log Mon Sep 29 11:51:26 2008
@@ -1,3 +1,9 @@
+2008-09-29 fabrice
+*Add budget_cell_interaction_workflow
+
+2008-07-30 fabrice
+* add the base category budget_section
+
 2008-07-09 fabrice
 * change budget_workflow
 

Modified: erp5/trunk/bt5/erp5_budget/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/revision?rev=23880&r1=23879&r2=23880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/revision (original)
+++ erp5/trunk/bt5/erp5_budget/bt/revision Mon Sep 29 11:51:26 2008
@@ -1,1 +1,1 @@
-151
+153

Modified: erp5/trunk/bt5/erp5_budget/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/template_portal_type_workflow_chain_list?rev=23880&r1=23879&r2=23880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/template_portal_type_workflow_chain_list (original)
+++ erp5/trunk/bt5/erp5_budget/bt/template_portal_type_workflow_chain_list Mon Sep 29 11:51:26 2008
@@ -1,3 +1,4 @@
+Budget Cell | budget_cell_interaction_workflow
 Budget Cell | edit_workflow
 Budget Line | budget_line_interaction_workflow
 Budget Line | edit_workflow

Modified: erp5/trunk/bt5/erp5_budget/bt/template_workflow_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/template_workflow_id_list?rev=23880&r1=23879&r2=23880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/template_workflow_id_list (original)
+++ erp5/trunk/bt5/erp5_budget/bt/template_workflow_id_list Mon Sep 29 11:51:26 2008
@@ -1,3 +1,4 @@
+budget_cell_interaction_workflow
 budget_line_interaction_workflow
 budget_transaction_workflow
 budget_workflow




More information about the Erp5-report mailing list