Commit cfb789d2 authored by Julien Muchembled's avatar Julien Muchembled

Trade: empty amounts shall not be generated when legacy simulation is used

This reverts commit 414042ad partially,
which is required for testLegacySimulationPerformance
parent 67a51255
......@@ -70,6 +70,8 @@ class TradeModelRule(Rule):
context_movement = applied_rule.getParentValue()
for amount in trade_condition.getAggregatedAmountList(context_movement):
if not amount.getQuantity():
continue
# business path specific
business_path_list = business_process.getPathValueList(
trade_phase=amount.getTradePhaseList(), context=context_movement)
......
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