[Erp5-report] r15193 - in /erp5/trunk/bt5/erp5_mrp: WorkflowTemplateItem/portal_workflow/pr...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 11 18:03:15 CEST 2007


Author: kazuhiko
Date: Wed Jul 11 18:03:15 2007
New Revision: 15193

URL: http://svn.erp5.org?rev=15193&view=rev
Log:
* state_change.object -> state_change[\'object\']
* state_change.transition -> state_change[\'transition\']

Modified:
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_matrix_workflow/scripts/DeliveryLine_updateCellRange.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_appliedToRelatedMovement.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/start_date.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/stop_date.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_acceptDecision.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_adoptPrevision.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_split.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/start_date.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/stop_date.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_activateUpdatePackingListState.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_updatePackingListState.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_beforeDelete.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_updatePackingListState.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingList_updateAppliedRule.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/scripts/PackingList_updateAppliedRule.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/start_date.xml
    erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/stop_date.xml
    erp5/trunk/bt5/erp5_mrp/bt/revision

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_matrix_workflow/scripts/DeliveryLine_updateCellRange.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_matrix_workflow/scripts/DeliveryLine_updateCellRange.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_matrix_workflow/scripts/DeliveryLine_updateCellRange.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_matrix_workflow/scripts/DeliveryLine_updateCellRange.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>delivery_line = state_change.object\n
+            <value> <string>delivery_line = state_change[\'object\']\n
 \n
 base_id = \'movement\'\n
 delivery_line.updateCellRange(base_id)\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_appliedToRelatedMovement.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_appliedToRelatedMovement.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_appliedToRelatedMovement.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_appliedToRelatedMovement.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>order = state_change.object\n
+            <value> <string>order = state_change[\'object\']\n
 \n
 expand_tag = order.getPath() + \'_expand\'\n
 activate_kw = {\'tag\':expand_tag,\'priority\':3}\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_buildPackingList.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>order = state_change.object\n
+            <value> <string>order = state_change[\'object\']\n
 \n
 previous_tag = order.getPath() + \'_firstUpdateAppliedRule\'\n
 expand_tag = order.getPath() + \'_expand\'\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/scripts/Order_createOrderRule.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>order = state_change.object\n
+            <value> <string>order = state_change[\'object\']\n
 \n
 tag = order.getPath() + \'_firstUpdateAppliedRule\'\n
 order.activate(tag=tag).updateAppliedRule(tag=tag,rule_id = \'default_production_order_rule\',priority=3)\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/start_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/start_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/start_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/start_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change.object.getStartDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change[\'object\'].getStartDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/stop_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/stop_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/stop_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_order_workflow/variables/stop_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change.object.getStopDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change[\'object\'].getStopDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_acceptDecision.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_acceptDecision.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_acceptDecision.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_acceptDecision.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 # Create Delivery Applied Rule (if required)\n
 packing_list.updateAppliedRule()\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_adoptPrevision.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_adoptPrevision.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_adoptPrevision.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_adoptPrevision.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 # Create Delivery Applied Rule (if required)\n
 packing_list.updateAppliedRule()\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 stop_date = state_change.kwargs[\'stop_date\']\n
 start_date = state_change.kwargs[\'start_date\']\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_split.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_split.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_split.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/scripts/PackingList_split.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 stop_date = state_change.kwargs[\'stop_date\']\n
 start_date = state_change.kwargs[\'start_date\']\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/start_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/start_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/start_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/start_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change.object.getStartDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change[\'object\'].getStartDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/stop_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/stop_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/stop_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_causality_workflow/variables/stop_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change.object.getStopDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change[\'object\'].getStopDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_activateUpdatePackingListState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_activateUpdatePackingListState.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_activateUpdatePackingListState.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_activateUpdatePackingListState.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list_content = state_change.object\n
+            <value> <string>packing_list_content = state_change[\'object\']\n
 \n
 packing_list_content.getExplanationValue().activate().edit()\n
 </string> </value>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_updatePackingListState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_updatePackingListState.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_updatePackingListState.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/Container_updatePackingListState.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list_content = state_change.object\n
+            <value> <string>packing_list_content = state_change[\'object\']\n
 \n
 #packing_list_content.immediateReindexObject()\n
 #packing_list_content.getExplanationValue().edit()\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_beforeDelete.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_beforeDelete.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_beforeDelete.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_beforeDelete.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list_content = state_change.object\n
+            <value> <string>packing_list_content = state_change[\'object\']\n
 \n
 # Clean simulation\n
 simulation_movement_list = packing_list_content.getDeliveryRelatedValueList(\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_updatePackingListState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_updatePackingListState.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_updatePackingListState.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingListContent_updatePackingListState.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list_content = state_change.object\n
+            <value> <string>packing_list_content = state_change[\'object\']\n
 \n
 packing_list_content.getExplanationValue().activate().edit()\n
 </string> </value>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingList_updateAppliedRule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingList_updateAppliedRule.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingList_updateAppliedRule.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_interaction_workflow/scripts/PackingList_updateAppliedRule.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 # XXX Unable to create simulation now...\n
 # packing_list.updateAppliedRule("default_production_packing_list_rule")\n

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/scripts/PackingList_updateAppliedRule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/scripts/PackingList_updateAppliedRule.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/scripts/PackingList_updateAppliedRule.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/scripts/PackingList_updateAppliedRule.xml Wed Jul 11 18:03:15 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>packing_list = state_change.object\n
+            <value> <string>packing_list = state_change[\'object\']\n
 \n
 packing_list.updateAppliedRule("default_production_packing_list_rule")\n
 </string> </value>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/start_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/start_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/start_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/start_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change.object.getStartDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'start_date\',state_change[\'object\'].getStartDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/stop_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/stop_date.xml?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/stop_date.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/WorkflowTemplateItem/portal_workflow/production_packing_list_workflow/variables/stop_date.xml Wed Jul 11 18:03:15 2007
@@ -77,7 +77,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change.object.getStopDate())</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'stop_date\',state_change[\'object\'].getStopDate())</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_mrp/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/bt/revision?rev=15193&r1=15192&r2=15193&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/bt/revision (original)
+++ erp5/trunk/bt5/erp5_mrp/bt/revision Wed Jul 11 18:03:15 2007
@@ -1,1 +1,1 @@
-28
+29




More information about the Erp5-report mailing list