Commit 72fc88e0 authored by Łukasz Nowak's avatar Łukasz Nowak

- explained why explanation is used


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26758 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90cb2422
...@@ -107,6 +107,8 @@ class TradeCondition(Path, Transformation): ...@@ -107,6 +107,8 @@ class TradeCondition(Path, Transformation):
if context is not None: if context is not None:
document = context document = context
if getattr(context, 'getExplanationValue', None) is not None: if getattr(context, 'getExplanationValue', None) is not None:
# if context is movement it is needed to ask its explanation
# for contained Trade Model Lines
document = context.getExplanationValue() document = context.getExplanationValue()
containting_object_list.append(document) containting_object_list.append(document)
containting_object_list.extend(findSpecialiseValueList(self)) containting_object_list.extend(findSpecialiseValueList(self))
......
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