Commit 0203757b authored by Guillaume Michon's avatar Guillaume Michon

Added a condition to activate notifySimulationChange


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3350 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b16b70d
...@@ -178,7 +178,7 @@ An ERP5 Rule...""" ...@@ -178,7 +178,7 @@ An ERP5 Rule..."""
rule._v_notify_dict = {} # We should capture here a list of url/uids of deliveires to update rule._v_notify_dict = {} # We should capture here a list of url/uids of deliveires to update
rule.expand(self,**kw) rule.expand(self,**kw)
if self.isRootAppliedRule(): if self.isRootAppliedRule():
self.activate(after_method_id="immediateReindexObject").notifySimulationChange(rule._v_notify_dict) self.activate(after_method_id=["immediateReindexObject", "recursiveImmediateReindexObject"]).notifySimulationChange(rule._v_notify_dict)
#expand = WorkflowMethod(expand) #expand = WorkflowMethod(expand)
......
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