Commit 44751ebd authored by Łukasz Nowak's avatar Łukasz Nowak

- fix docstring

 - install in ERP5Type namespace


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aaec0ba5
......@@ -31,11 +31,10 @@ from Products.ERP5Type.Interactor.Interactor import Interactor
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment