Commit 508896a3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we don't use '*_list' but use base category's id itself in...

we don't use '*_list' but use base category's id itself in MovemenetGenerator._getUpdatePropertyDict().
parent 96a61b09
......@@ -90,7 +90,7 @@ class TradeModelSimulationRule(RuleMixin, MovementCollectionUpdaterMixin):
class TradeModelRuleMovementGenerator(MovementGeneratorMixin):
def _getUpdatePropertyDict(self, input_movement):
return {'causality_list': input_movement.getCausalityList(),
return {'causality': input_movement.getCausalityList(),
'delivery': None,
# XXX shouldn't we create a tester for price instead ?
'price': input_movement.getPrice()}
......
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