[Erp5-report] r27840 - in /erp5/trunk/bt5: erp5_base/SkinTemplateItem/portal_skins/erp5_bas...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 1 00:16:05 CEST 2009


Author: jm
Date: Wed Jul  1 00:16:05 2009
New Revision: 27840

URL: http://svn.erp5.org?rev=27840&view=rev
Log:
Update delivery_causality_workflow and related workflows so that no workflow method is called when the transition doesn't exist for the current state.
Also update permissions of states so that they are consistent with the workflow logic: make "building" and "solving" non-editable.

Added:
    erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml   (with props)
Removed:
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow/
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow.xml
Modified:
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_interaction_workflow/scripts/Delivery_calculateCausalityState.xml
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/building.xml
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/diverged.xml
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/solved.xml
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/scripts/DeliveryMovement_calculateCausalityState.xml
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml
    erp5/trunk/bt5/erp5_base/bt/revision
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/calculating.xml
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solving.xml
    erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/immobilisation_movement_interaction_workflow/interactions/Immobilisation_edit.xml
    erp5/trunk/bt5/erp5_immobilisation/bt/revision
    erp5/trunk/bt5/erp5_immobilisation/bt/template_workflow_id_list

Added: erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml?rev=27840&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml (added)
+++ erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -1,0 +1,138 @@
+<?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># Note that delivery may have no causality state.\n
+# For instance, Accounting Transaction Lines\n
+# can be contained in a Accounting Rule Cell\n
+# of a Invoice Transaction Rule, and none of\n
+# these provide a causality workflow, but\n
+# Accounting Transaction Line is also a\n
+# possible child of a Accounting Transaction\n
+# in the Accounting Transaction Module\n
+\n
+portal = context.getPortalObject()\n
+if portal.portal_workflow.isTransitionPossible(context, \'calculate\'):\n
+  context.calculate()\n
+else:\n
+  # Make sure no other node is moving the delivery\n
+  # to \'diverged\' or \'solved\' state.\n
+  context.serialize()\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></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>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>portal</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>Delivery_calculate</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Propchange: erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_calculate.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_interaction_workflow/scripts/Delivery_calculateCausalityState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_interaction_workflow/scripts/Delivery_calculateCausalityState.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_interaction_workflow/scripts/Delivery_calculateCausalityState.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_interaction_workflow/scripts/Delivery_calculateCausalityState.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -53,12 +53,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>delivery = state_change[\'object\']\n
-\n
-getCausalityState = getattr(delivery, \'getCausalityState\', None)\n
-\n
-if getCausalityState is not None and getCausalityState() != \'draft\':\n
-  delivery.calculate()\n
+            <value> <string>state_change[\'object\'].Delivery_calculate()\n
 </string> </value>
         </item>
         <item>
@@ -96,12 +91,8 @@
                         <value>
                           <tuple>
                             <string>state_change</string>
+                            <string>_getattr_</string>
                             <string>_getitem_</string>
-                            <string>delivery</string>
-                            <string>getattr</string>
-                            <string>None</string>
-                            <string>getCausalityState</string>
-                            <string>_getattr_</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/building.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/building.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/building.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/building.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -33,6 +33,7 @@
               <tuple>
                 <string>converge</string>
                 <string>diverge</string>
+                <string>start_building</string>
               </tuple>
             </value>
         </item>
@@ -62,16 +63,7 @@
                     <key> <string>Add portal content</string> </key>
                     <value>
                       <tuple>
-                        <string>Assignee</string>
-                        <string>Assignor</string>
-                        <string>Associate</string>
-                        <string>Auditor</string>
-                        <string>Authenticated</string>
-                        <string>Author</string>
                         <string>Manager</string>
-                        <string>Member</string>
-                        <string>Owner</string>
-                        <string>Reviewer</string>
                       </tuple>
                     </value>
                 </item>
@@ -79,16 +71,7 @@
                     <key> <string>Modify portal content</string> </key>
                     <value>
                       <tuple>
-                        <string>Assignee</string>
-                        <string>Assignor</string>
-                        <string>Associate</string>
-                        <string>Auditor</string>
-                        <string>Authenticated</string>
-                        <string>Author</string>
                         <string>Manager</string>
-                        <string>Member</string>
-                        <string>Owner</string>
-                        <string>Reviewer</string>
                       </tuple>
                     </value>
                 </item>

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/diverged.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/diverged.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/diverged.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/diverged.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -33,6 +33,7 @@
               <tuple>
                 <string>calculate</string>
                 <string>converge</string>
+                <string>diverge</string>
                 <string>solve_divergence</string>
                 <string>solve_divergence_action</string>
                 <string>split_and_defer</string>

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/solved.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/solved.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/solved.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/states/solved.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -32,6 +32,7 @@
             <value>
               <tuple>
                 <string>calculate</string>
+                <string>converge</string>
                 <string>diverge</string>
                 <string>start_building</string>
               </tuple>

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/scripts/DeliveryMovement_calculateCausalityState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/scripts/DeliveryMovement_calculateCausalityState.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/scripts/DeliveryMovement_calculateCausalityState.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_movement_causality_interaction_workflow/scripts/DeliveryMovement_calculateCausalityState.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -53,23 +53,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>delivery_movement = state_change[\'object\']\n
-\n
-delivery = delivery_movement.getExplanationValue()\n
-\n
-# Check that getCausalityState is available.\n
-# For instance, Accounting Transaction Lines\n
-# can be contained in a Accounting Rule Cell\n
-# of a Invoice Transaction Rule, and none of\n
-# these provide a causality workflow, but\n
-# Accounting Transaction Line is also a\n
-# possible child of a Accounting Transaction\n
-# in the Accounting Transaction Module\n
-\n
-getCausalityState = getattr(delivery, \'getCausalityState\', None)\n
-\n
-if getCausalityState is not None and getCausalityState() != \'draft\':\n
-  delivery.calculate()\n
+            <value> <string>state_change[\'object\'].getExplanationValue().Delivery_calculate()\n
 </string> </value>
         </item>
         <item>
@@ -107,13 +91,8 @@
                         <value>
                           <tuple>
                             <string>state_change</string>
+                            <string>_getattr_</string>
                             <string>_getitem_</string>
-                            <string>delivery_movement</string>
-                            <string>_getattr_</string>
-                            <string>delivery</string>
-                            <string>getattr</string>
-                            <string>None</string>
-                            <string>getCausalityState</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -59,15 +59,7 @@
 \n
 if delivery_movement is not None:\n
   delivery = delivery_movement.getExplanationValue()\n
-  # Because Payment Transaction does not have a causality workflow, we cannot assume that\n
-  # getCausalityState will always be present. This getattr test needs to be removed once\n
-  # Payment Transaction is linked to a correct causality workflow.\n
-  getCausalityState = getattr(delivery, \'getCausalityState\', None)\n
-\n
-  if getCausalityState is not None and getCausalityState() != \'draft\':\n
-    delivery.activate(\n
-        after_path_and_method_id=(delivery_movement.getPath(),\n
-        (\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))).calculate()\n
+  delivery.activate().Delivery_calculate()\n
 </string> </value>
         </item>
         <item>
@@ -129,8 +121,6 @@
                             <string>delivery_movement</string>
                             <string>None</string>
                             <string>delivery</string>
-                            <string>getattr</string>
-                            <string>getCausalityState</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Wed Jul  1 00:16:05 2009
@@ -1,1 +1,1 @@
-604
+605

Modified: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/calculating.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/calculating.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/calculating.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/calculating.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -32,9 +32,7 @@
             <value>
               <tuple>
                 <string>accept_decision</string>
-                <string>accept_decision_action</string>
                 <string>adopt_prevision</string>
-                <string>adopt_prevision_action</string>
                 <string>converge</string>
                 <string>diverge</string>
                 <string>start_building</string>

Modified: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -37,6 +37,7 @@
                 <string>adopt_prevision_action</string>
                 <string>calculate</string>
                 <string>converge</string>
+                <string>diverge</string>
                 <string>start_building</string>
               </tuple>
             </value>

Modified: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -32,6 +32,7 @@
             <value>
               <tuple>
                 <string>calculate</string>
+                <string>converge</string>
                 <string>diverge</string>
                 <string>start_building</string>
               </tuple>

Modified: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solving.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solving.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solving.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solving.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -33,7 +33,6 @@
               <tuple>
                 <string>converge</string>
                 <string>diverge</string>
-                <string>start_building</string>
               </tuple>
             </value>
         </item>
@@ -49,17 +48,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -93,7 +89,6 @@
                     <key> <string>Modify portal content</string> </key>
                     <value>
                       <tuple>
-                        <string>Assignor</string>
                         <string>Manager</string>
                       </tuple>
                     </value>

Removed: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow.xml?rev=27839&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_interaction_workflow.xml (removed)
@@ -1,31 +1,0 @@
-<?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>groups</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>amortisation_transaction_interaction_workflow</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Modified: erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/immobilisation_movement_interaction_workflow/interactions/Immobilisation_edit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/immobilisation_movement_interaction_workflow/interactions/Immobilisation_edit.xml?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/immobilisation_movement_interaction_workflow/interactions/Immobilisation_edit.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/immobilisation_movement_interaction_workflow/interactions/Immobilisation_edit.xml [utf8] Wed Jul  1 00:16:05 2009
@@ -37,6 +37,12 @@
             </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>
@@ -54,8 +60,7 @@
             <key> <string>method_id</string> </key>
             <value>
               <list>
-                <string>_set*</string>
-                <string>_edit</string>
+                <string>_set.*</string>
               </list>
             </value>
         </item>

Modified: erp5/trunk/bt5/erp5_immobilisation/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/bt/revision?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/bt/revision [utf8] Wed Jul  1 00:16:05 2009
@@ -1,1 +1,1 @@
-157
+158

Modified: erp5/trunk/bt5/erp5_immobilisation/bt/template_workflow_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_immobilisation/bt/template_workflow_id_list?rev=27840&r1=27839&r2=27840&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_immobilisation/bt/template_workflow_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_immobilisation/bt/template_workflow_id_list [utf8] Wed Jul  1 00:16:05 2009
@@ -1,5 +1,4 @@
 amortisation_transaction_causality_workflow
-amortisation_transaction_interaction_workflow
 immobilisation_delivery_workflow
 immobilisation_movement_interaction_workflow
 immobilisation_workflow




More information about the Erp5-report mailing list