diff --git a/product/ERP5/Document/DeliveryRule.py b/product/ERP5/Document/DeliveryRule.py index 99be42822721d1817f98e16b120a6611141ca341..3ecbe5ed2383f85b368905b996147fce21d90530 100644 --- a/product/ERP5/Document/DeliveryRule.py +++ b/product/ERP5/Document/DeliveryRule.py @@ -257,6 +257,6 @@ class DeliveryRule(Rule): business_path, current_property_dict): """Delivery specific update dict""" return { - 'order_list': [movement.getRelativeUrl()], - 'delivery_list': [movement.getRelativeUrl()], + 'order': movement.getRelativeUrl(), + 'delivery': movement.getRelativeUrl(), } diff --git a/product/ERP5/Document/OrderRule.py b/product/ERP5/Document/OrderRule.py index d729b4681f2403d336af6a6d2705566773c42c3d..d4270bf220c60905f34d1869bd2fadf43b9d59ed 100644 --- a/product/ERP5/Document/OrderRule.py +++ b/product/ERP5/Document/OrderRule.py @@ -197,5 +197,5 @@ class OrderRule(DeliveryRule): business_path, current_property_dict): """Order rule specific update dictionary""" return { - 'order_list': [movement.getRelativeUrl()], + 'order': movement.getRelativeUrl(), }