[Erp5-report] r14202 - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/portal_work...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 24 22:15:21 CEST 2007
Author: jerome
Date: Tue Apr 24 22:15:20 2007
New Revision: 14202
URL: http://svn.erp5.org?rev=14202&view=rev
Log:
Use activities to clear cache when validating an account. Use a low priorty as it may prevent unnecessary cache clears when validating / invalidating multiple accounts.
Modified:
erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/scripts/clearCache.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/scripts/clearCache.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/scripts/clearCache.xml?rev=14202&r1=14201&r2=14202&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/scripts/clearCache.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/scripts/clearCache.xml Tue Apr 24 22:15:20 2007
@@ -73,7 +73,7 @@
"""\n
from Products.CMFCore.utils import getToolByName\n
portal_caches = getToolByName(sci.getPortal(), \'portal_caches\')\n
-portal_caches.clearCache()\n
+portal_caches.activate(priority=3).clearCache()\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=14202&r1=14201&r2=14202&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Tue Apr 24 22:15:20 2007
@@ -1,1 +1,1 @@
-282
+283
More information about the Erp5-report
mailing list