Commit c530335e authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

builder: use _edit on delivery to only reindex modification

parent 51a0816f
......@@ -654,7 +654,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
self._setUpdated(delivery, 'delivery')
if property_dict:
property_dict.setdefault('edit_order', ('stop_date', 'start_date'))
delivery.edit(**property_dict)
delivery._edit(reindex_object=1, **property_dict)
if created:
delivery.immediateReindexObject()
......
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