Commit 0d8805ac authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added getAggregateList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@92 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e720f3f2
......@@ -168,6 +168,18 @@ class InventoryListBrain(ZSQLBrain):
except:
return ''
def getAggregateList(self):
aggregate_list = self.Resource.zGetAggregateList(
explanation_uid = self.explanation_uid,
node_uid = self.node_uid,
section_uid = self.section_uid,
variation_text = self.variation_text,
resource_uid = self.resource_uid)
result = []
for o in aggregate_list:
result.append(o.relative_url)
return '\n'.join(aggregate_list)
def getExplanationText(self):
# Returns an explanation of the movement
o = self.getObject()
......
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