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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 12 17:15:18 CET 2009


Author: fabien
Date: Thu Feb 12 17:15:12 2009
New Revision: 25546

URL: http://svn.erp5.org?rev=25546&view=rev
Log:
add activity=SQLQueue parameter to activate method. This permit to execute the activity as many times as they are called. (before, if it was called two time at the same time, only one activity was executed, now two).

Modified:
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml?rev=25546&r1=25545&r2=25546&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml [utf8] Thu Feb 12 17:15:12 2009
@@ -122,13 +122,16 @@
 \n
   tag = \'invoice_transaction_build_%s\' % delivery.getRelativeUrl()\n
   builder.activate(\n
+      activity=\'SQLQueue\',\n
       after_method_id=method_id_list,\n
       tag=tag,\n
       activate_kw=dict(tag=tag)).build(activate_kw=dict(tag=tag),\n
                                        explanation_uid=explanation_uid_list)\n
 \n
   # build related payment transactions\n
-  portal_deliveries.payment_transaction_builder.activate(after_method_id=method_id_list).build(explanation_uid=explanation_uid_list)\n
+  portal_deliveries.payment_transaction_builder.activate(\n
+                              activity=\'SQLQueue\',\n
+                              after_method_id=method_id_list).build(explanation_uid=explanation_uid_list)\n
 \n
   # set the object in building state.\n
   delivery.startBuilding()\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=25546&r1=25545&r2=25546&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Thu Feb 12 17:15:12 2009
@@ -1,1 +1,1 @@
-865
+866




More information about the Erp5-report mailing list