Commit 04a46ed3 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Orders are now bound with the delivery base category, so we must add the order...

Orders are now bound with the delivery base category, so we must add the order types for the set of accpetable portal types.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35309 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cda663f4
......@@ -299,7 +299,8 @@ class SimulationMovement(Movement, PropertyRecordableMixin):
else:
explanation_value = delivery_value
portal = self.getPortalObject()
delivery_type_list = self.getPortalDeliveryTypeList()
delivery_type_list = self.getPortalDeliveryTypeList() \
+ self.getPortalOrderTypeList()
while explanation_value.getPortalType() not in delivery_type_list and \
explanation_value != portal:
explanation_value = explanation_value.getParentValue()
......
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