Commit ab5288a2 authored by Julien Muchembled's avatar Julien Muchembled

_migrateSimulationTree: forgot 'delivery_ratio' property

parent aa8e9a60
...@@ -425,6 +425,10 @@ class AppliedRule(XMLObject, ExplainableMixin): ...@@ -425,6 +425,10 @@ class AppliedRule(XMLObject, ExplainableMixin):
elif movement is not None: elif movement is not None:
sm._setDeliveryValue(movement) sm._setDeliveryValue(movement)
delivery_set.add(sm.getExplanationValue()) delivery_set.add(sm.getExplanationValue())
try:
sm.delivery_ratio = old_sm.aq_base.delivery_ratio
except AttributeError:
pass
recorded_property_dict = {} recorded_property_dict = {}
edit_kw = {} edit_kw = {}
kw['quantity'] = 0 kw['quantity'] = 0
......
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