Commit 870a22a0 authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: specify a default value to the accessor


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14486 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14207598
......@@ -236,8 +236,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
class_list = [getattr(MovementGroup, x) \
for x in self.getCollectOrderList()]
last_line_class_name = self.getDeliveryCollectOrderList()[-1]
# XXX Bug when nothing is defined ...
separate_method_name_list = self.getDeliveryCellSeparateOrderList()
separate_method_name_list = self.getDeliveryCellSeparateOrderList([])
my_root_group = MovementGroup.RootMovementGroup(
class_list,
last_line_class_name=last_line_class_name,
......
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