[Erp5-report] r13948 - in /erp5/trunk/bt5/erp5_banking_core: SkinTemplateItem/portal_skins/...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 4 23:51:47 CEST 2007


Author: seb
Date: Wed Apr  4 23:51:44 2007
New Revision: 13948

URL: http://svn.erp5.org?rev=13948&view=rev
Log:
forgot to call checkActivities

Modified:
    erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml
    erp5/trunk/bt5/erp5_banking_core/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml?rev=13948&r1=13947&r2=13948&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory.xml Wed Apr  4 23:51:44 2007
@@ -109,7 +109,7 @@
 serialize_dict = {}\n
 \n
 activity_tool = context.portal_activities\n
-def checkActivities(line,source_counter):\n
+def checkActivities(source_counter):\n
   if activity_tool.countMessageWithTag(source_counter):\n
     msg = Message(domain=\'ui\', message="There are operations pending for this vault that prevent form calculating its position. Please try again later.")\n
     raise ValidationFailed, (msg,)\n
@@ -127,6 +127,7 @@
     serialize_dict[source_counter] = 1\n
     source_object = context.portal_categories.getCategoryValue(source_counter)\n
     source_object.serialize()\n
+    checkActivities(source_counter)\n
   # Reindex this line with this particular source_counter tag\n
   activate_kw = {\'tag\':source_counter}\n
   line.reindexObject(activate_kw=activate_kw)\n

Modified: erp5/trunk/bt5/erp5_banking_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/revision?rev=13948&r1=13947&r2=13948&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/revision Wed Apr  4 23:51:44 2007
@@ -1,1 +1,1 @@
-185
+187




More information about the Erp5-report mailing list