Commit 23663495 authored by Jean-Paul Smets's avatar Jean-Paul Smets

catalog Applied rules (not only sim movements)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b351b31
...@@ -248,7 +248,15 @@ An ERP5 Rule...""" ...@@ -248,7 +248,15 @@ An ERP5 Rule..."""
""" """
Returns a list of indexable movements Returns a list of indexable movements
""" """
result = [] result = [ { 'uid' : self.getUid(),
'portal_type' : self.getPortalType(),
'url' : self.getUrl(),
'relative_url' : self.getRelativeUrl(),
'parent_uid' : self.getParentUid(),
'simulation_state' : None,
'causality_uid' : self.getCausalityUid(),
'specialise_uid' : self.getSpecialiseUid(),
} ]
for m in self.objectValues(): for m in self.objectValues():
result.extend(m.getMovementIndex()) result.extend(m.getMovementIndex())
return result return result
......
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