From afce66997ecbf71de2ac59676f0502d15cb0aa75 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 23 Mar 2010 10:05:14 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/TradeModelSolver.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/TradeModelSolver.py b/product/ERP5/Document/TradeModelSolver.py index 0fccc8847d..594dbd5afc 100644 --- a/product/ERP5/Document/TradeModelSolver.py +++ b/product/ERP5/Document/TradeModelSolver.py @@ -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() -- 2.30.9