Commit da23601e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

simulation_movement.setMappedProperty() does not accept activate_kw (this is...

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
parent 1ea2aa4e
...@@ -107,8 +107,7 @@ class TradeModelSolver(AcceptSolver): ...@@ -107,8 +107,7 @@ class TradeModelSolver(AcceptSolver):
for property_id, value in value_dict.iteritems(): for property_id, value in value_dict.iteritems():
if not simulation_movement.isPropertyRecorded(property_id): if not simulation_movement.isPropertyRecorded(property_id):
simulation_movement.recordProperty(property_id) simulation_movement.recordProperty(property_id)
simulation_movement.setMappedProperty(property_id, value, simulation_movement.setMappedProperty(property_id, value)
activate_kw=activate_kw)
simulation_movement.expand(activate_kw=activate_kw) simulation_movement.expand(activate_kw=activate_kw)
# Third, adopt changes on trade model related lines. # Third, adopt changes on trade model related lines.
......
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