Commit d31d2cb9 authored by Łukasz Nowak's avatar Łukasz Nowak

- note issue with oversimplified implementation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc33e462
...@@ -220,6 +220,9 @@ class BusinessPath(Path): ...@@ -220,6 +220,9 @@ class BusinessPath(Path):
def _getExplanationUidList(self, explanation): def _getExplanationUidList(self, explanation):
"""Helper method to fetch really explanation related movements""" """Helper method to fetch really explanation related movements"""
explanation_uid_list = [explanation.getUid()] explanation_uid_list = [explanation.getUid()]
# XXX: getCausalityRelatedValueList is oversimplification, assumes
# that documents are sequenced like simulation movements, which
# is wrong
for found_explanation in explanation.getCausalityRelatedValueList( for found_explanation in explanation.getCausalityRelatedValueList(
portal_type=self.getPortalDeliveryTypeList()): portal_type=self.getPortalDeliveryTypeList()):
explanation_uid_list.extend(self._getExplanationUidList( explanation_uid_list.extend(self._getExplanationUidList(
......
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