Commit 421400b9 authored by Łukasz Nowak's avatar Łukasz Nowak

- install interactor on ERP5.Document.TradeCondition.TradeCondition to have...

 - install interactor on ERP5.Document.TradeCondition.TradeCondition to have it working on subclasses of TradeCondition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36973 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ab86f80
...@@ -35,7 +35,7 @@ class RecursiveReindexInteractor(Interactor): ...@@ -35,7 +35,7 @@ class RecursiveReindexInteractor(Interactor):
subdocuments are modified. subdocuments are modified.
""" """
def install(self): def install(self):
from Products.ERP5Type.Document.TradeCondition import TradeCondition from Products.ERP5.Document.TradeCondition import TradeCondition
self.on(TradeCondition.reindexObject).doAfter(self.recursiveReindexObject) self.on(TradeCondition.reindexObject).doAfter(self.recursiveReindexObject)
def recursiveReindexObject(self, method_call_object, *args, **kw): 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