Commit afce6699 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

same as r33958 (now tested property list should be taken from Target Solver...

same as r33958 (now tested property list should be taken from Target Solver document or its portal type).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33990 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f7d6a08
......@@ -61,8 +61,10 @@ class TradeModelSolver(AcceptSolver):
original one recorded, and then update Trade Model related lines
accordingly.
"""
solved_property_list = self.getCausalityValue().getCausalityValue(). \
getTestedPropertyList()
configuration_dict = self.getConfigurationPropertyDict()
portal_type = self.getPortalObject().portal_types[self.getPortalType()]
solved_property_list = configuration_dict.get('tested_property_list',
portal_type.getTestedPropertyList())
# Here, items of delivery_list should be movements, not deliveries.
solved_movement_list = self.getDeliveryValueList()
......
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