Commit cf772456 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Prevent modifying variation categories unnecessarily.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19117 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27193ebe
...@@ -395,7 +395,8 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -395,7 +395,8 @@ class OrderBuilder(XMLObject, Amount, Predicate):
line_variation_category_list = dict([(variation_category, 1) \ line_variation_category_list = dict([(variation_category, 1) \
for variation_category in \ for variation_category in \
line_variation_category_list]).keys() line_variation_category_list]).keys()
delivery_line.setVariationCategoryList(line_variation_category_list) line_variation_category_list.sort()
delivery_line.edit(variation_category_list=line_variation_category_list)
# Then, create delivery movement (delivery cell or complete delivery # Then, create delivery movement (delivery cell or complete delivery
# line) # line)
group_list = movement_group.getGroupList() group_list = movement_group.getGroupList()
......
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