[Erp5-report] r15186 - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/portal_work...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 11 18:02:36 CEST 2007


Author: kazuhiko
Date: Wed Jul 11 18:02:36 2007
New Revision: 15186

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

Modified:
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/start_date.xml
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/stop_date.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml Wed Jul 11 18:02:36 2007
@@ -72,7 +72,7 @@
 
 from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
 \n
-closing_period = state_change.object\n
+closing_period = state_change[\'object\']\n
 portal = closing_period.getPortalObject()\n
 N_ = portal.Base_translateString\n
 valid_states = [\'planned\', \'confirmed\', \'delivered\']\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml Wed Jul 11 18:02:36 2007
@@ -72,7 +72,7 @@
 
 from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
 \n
-closing_period = state_change.object\n
+closing_period = state_change[\'object\']\n
 portal = closing_period.getPortalObject()\n
 N_ = portal.Base_translateString\n
 accounting_module = portal.accounting_module\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml Wed Jul 11 18:02:36 2007
@@ -72,7 +72,7 @@
 
 from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
 \n
-closing_period = state_change.object\n
+closing_period = state_change[\'object\']\n
 portal = closing_period.getPortalObject()\n
 N_ = portal.Base_translateString\n
 accounting_module = portal.accounting_module\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml Wed Jul 11 18:02:36 2007
@@ -69,7 +69,7 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string># Purchase Invoice Transaction or Sale Invoice Transaction.\n
-transaction = state_change.object\n
+transaction = state_change[\'object\']\n
 \n
 # Get sections.\n
 source_section = transaction.getSourceSection()\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml Wed Jul 11 18:02:36 2007
@@ -73,7 +73,7 @@
 error_message = \'\'\n
 \n
 # Balance Transaction.\n
-transaction = state_change.object\n
+transaction = state_change[\'object\']\n
 module = transaction.getParentValue()\n
 \n
 # Get sections and a currency.\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml Wed Jul 11 18:02:36 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(\'default_invoice_rule\')\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml Wed Jul 11 18:02:36 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(\'default_invoice_rule\')\n

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml Wed Jul 11 18:02:36 2007
@@ -68,7 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>context = state_change.object\n
+            <value> <string>context = state_change[\'object\']\n
 context.activate().updateCausalityState()\n
 </string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml Wed Jul 11 18:02:36 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_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml Wed Jul 11 18:02:36 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_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/start_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/start_date.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/start_date.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/start_date.xml Wed Jul 11 18:02:36 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_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/stop_date.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/stop_date.xml?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/stop_date.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/variables/stop_date.xml Wed Jul 11 18:02:36 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_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=15186&r1=15185&r2=15186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Wed Jul 11 18:02:36 2007
@@ -1,1 +1,1 @@
-354
+355




More information about the Erp5-report mailing list