Commit 1db18f63 authored by Aurel's avatar Aurel

_getExplanationUidList should also return documents linked by causality


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30942 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 834a6635
......@@ -224,7 +224,8 @@ class BusinessPath(Path):
# that documents are sequenced like simulation movements, which
# is wrong
for found_explanation in explanation.getCausalityRelatedValueList(
portal_type=self.getPortalDeliveryTypeList()):
portal_type=self.getPortalDeliveryTypeList()) + \
explanation.getCausalityValueList():
explanation_uid_list.extend(self._getExplanationUidList(
found_explanation))
return explanation_uid_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