Commit 768a02f5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

here, order or delivery is only one, and we use 'order' not 'order_list' as a matching property.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32456 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 41eb5fdd
...@@ -257,6 +257,6 @@ class DeliveryRule(Rule): ...@@ -257,6 +257,6 @@ class DeliveryRule(Rule):
business_path, current_property_dict): business_path, current_property_dict):
"""Delivery specific update dict""" """Delivery specific update dict"""
return { return {
'order_list': [movement.getRelativeUrl()], 'order': movement.getRelativeUrl(),
'delivery_list': [movement.getRelativeUrl()], 'delivery': movement.getRelativeUrl(),
} }
...@@ -197,5 +197,5 @@ class OrderRule(DeliveryRule): ...@@ -197,5 +197,5 @@ class OrderRule(DeliveryRule):
business_path, current_property_dict): business_path, current_property_dict):
"""Order rule specific update dictionary""" """Order rule specific update dictionary"""
return { return {
'order_list': [movement.getRelativeUrl()], 'order': movement.getRelativeUrl(),
} }
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