[Erp5-report] r37293 luke - /erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 27 16:40:36 CEST 2010
Author: luke
Date: Tue Jul 27 16:40:35 2010
New Revision: 37293
URL: http://svn.erp5.org?rev=37293&view=rev
Log:
- fix docstring
- install in ERP5Type namespace
Modified:
erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py
Modified: erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py?rev=37293&r1=37292&r2=37293&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interactor/RecursiveReindexInteractor.py [utf8] Tue Jul 27 16:40:35 2010
@@ -31,11 +31,10 @@ from Products.ERP5Type.Interactor.Intera
class RecursiveReindexInteractor(Interactor):
"""
- This interactor invokes reindex on Inventory document when its
- subdocuments are modified.
+ This interactor invokes reindex of subobjects when parent document is reindexed
"""
def install(self):
- from Products.ERP5.Document.TradeCondition import TradeCondition
+ from Products.ERP5Type.Document.TradeCondition import TradeCondition
self.on(TradeCondition.reindexObject).doAfter(self.recursiveReindexObject)
def recursiveReindexObject(self, method_call_object, *args, **kw):
More information about the Erp5-report
mailing list