Commit 270e206b authored by Fabien Morin's avatar Fabien Morin

specialise_value_list is the starting point to find other objects, so it's...

specialise_value_list is the starting point to find other objects, so it's always needed (for all portal_types)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28052 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68b21ae8
......@@ -130,8 +130,7 @@ class TradeCondition(Path, Transformation, XMLMatrix):
specialise_value_list = [context]
visited_trade_condition_list = [context]
else:
specialise_value_list = context.getSpecialiseValueList(\
portal_type=portal_type_list)
specialise_value_list = context.getSpecialiseValueList()
visited_trade_condition_list = context.getSpecialiseValueList(\
portal_type=portal_type_list)
while len(specialise_value_list) != 0:
......
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