Commit ddf93870 authored by Romain Courteaud's avatar Romain Courteaud

Comment notifySimulationChange.

This part must be done with a interaction workflow is needed.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4389 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9767b57a
...@@ -126,8 +126,12 @@ class AppliedRule(XMLObject): ...@@ -126,8 +126,12 @@ class AppliedRule(XMLObject):
# We should capture here a list of url/uids of deliveires to update # We should capture here a list of url/uids of deliveires to update
rule._v_notify_dict = {} rule._v_notify_dict = {}
rule.expand(self,**kw) rule.expand(self,**kw)
if self.isRootAppliedRule(): # XXX This part must be done with a interaction workflow is needed.
self.activate(after_method_id=["immediateReindexObject", "recursiveImmediateReindexObject"]).notifySimulationChange(rule._v_notify_dict) # if self.isRootAppliedRule():
# 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