Commit 9b16b70d authored by Guillaume Michon's avatar Guillaume Michon

Added getPath() to FakeMovement


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3349 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 244ad05f
...@@ -591,6 +591,15 @@ class FakeMovement: ...@@ -591,6 +591,15 @@ class FakeMovement:
for movement in self.getMovementList(): for movement in self.getMovementList():
movement.immediateReindexObject() movement.immediateReindexObject()
def getPath(self):
"""
Return the movements path list
"""
path_list = []
for movement in self.getMovementList():
path_list.append(movement.getPath())
return path_list
def getVariationBaseCategoryList(self): def getVariationBaseCategoryList(self):
""" """
Return variation base category list Return variation base category list
......
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