From da23601ebfd291c6a7a2a9ae6d718df01d93da17 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 2 Jul 2010 09:17:04 +0000 Subject: [PATCH] simulation_movement.setMappedProperty() does not accept activate_kw (this is why I added simulation_movement.setDefaultActivateParameters() in the previous commit). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36796 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/TradeModelSolver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/Document/TradeModelSolver.py b/product/ERP5/Document/TradeModelSolver.py index 4722ec4352..86c59639c8 100644 --- a/product/ERP5/Document/TradeModelSolver.py +++ b/product/ERP5/Document/TradeModelSolver.py @@ -107,8 +107,7 @@ class TradeModelSolver(AcceptSolver): for property_id, value in value_dict.iteritems(): if not simulation_movement.isPropertyRecorded(property_id): simulation_movement.recordProperty(property_id) - simulation_movement.setMappedProperty(property_id, value, - activate_kw=activate_kw) + simulation_movement.setMappedProperty(property_id, value) simulation_movement.expand(activate_kw=activate_kw) # Third, adopt changes on trade model related lines. -- 2.30.9