Commit b7a04d55 authored by Julien Muchembled's avatar Julien Muchembled

Don't generate ids for nothing when building deliveries

parent 844036e8
...@@ -349,7 +349,6 @@ class SimulatedDeliveryBuilder(BuilderMixin): ...@@ -349,7 +349,6 @@ class SimulatedDeliveryBuilder(BuilderMixin):
old_delivery = None old_delivery = None
if old_delivery is None: if old_delivery is None:
# from scratch # from scratch
new_delivery_id = str(delivery_module.generateNewId())
delivery = super(SimulatedDeliveryBuilder, self)._createDelivery( delivery = super(SimulatedDeliveryBuilder, self)._createDelivery(
delivery_module, movement_list, activate_kw) delivery_module, movement_list, activate_kw)
# Interactions will usually trigger reindexing of related SM when # Interactions will usually trigger reindexing of related SM when
......
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