[Erp5-report] r32712 kazuhiko - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 18 07:00:38 CET 2010


Author: kazuhiko
Date: Thu Feb 18 07:00:36 2010
New Revision: 32712

URL: http://svn.erp5.org?rev=32712&view=rev
Log:
update causality state after building payment transactions.

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_postGeneration.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_postGeneration.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_postGeneration.xml?rev=32712&r1=32711&r2=32712&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_postGeneration.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_postGeneration.xml [utf8] Thu Feb 18 07:00:36 2010
@@ -60,6 +60,13 @@
 # initialize accounting_workflow to planned state\n
 if payment_transaction.getSimulationState() == "draft":\n
   payment_transaction.plan(comment=translateString("Initialised by Delivery Builder."))\n
+\n
+# First set the payment transaction in the building state on the causality workflow\n
+payment_transaction.startBuilding()\n
+\n
+# Then an activity should put the causality state in diverged or solved\n
+payment_transaction.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
+  (\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))).updateCausalityState()\n
 </string> </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=32712&r1=32711&r2=32712&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Thu Feb 18 07:00:36 2010
@@ -1,1 +1,1 @@
-1108
+1109




More information about the Erp5-report mailing list