Commit f88add74 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

'accept' changes in normal invoice line related movements only.

divergent movement can include trade model related movements, that should not be accepted.
parent 3a3ad1ec
......@@ -95,6 +95,8 @@ class TradeModelSolver(AcceptSolver):
# Second, apply changes on invoice lines to simulation movements,
# then expand.
for movement, simulation_movement_list in delivery_dict.iteritems():
if movement in trade_model_related_movement_list:
continue
for simulation_movement in simulation_movement_list:
if activate_kw is not None:
simulation_movement.setDefaultActivateParameters(
......
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