Commit 2b776840 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_simulation: set also reference on split movement

parent d0ae8ccf
......@@ -131,6 +131,9 @@ class QuantitySplitSolver(SolverMixin, ConfigurableMixin, XMLObject):
if stop_date is not None:
new_movement.recordProperty('stop_date')
new_movement.setStopDate(stop_date)
reference = configuration_dict.get('reference', None)
if reference is not None:
new_movement.setReference(reference)
if activate_kw:
new_movement.setDefaultActivateParameterDict({})
simulation_movement.expand(activate_kw=activate_kw)
......
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