diff --git a/product/ERP5/Document/DeliveryBuilder.py b/product/ERP5/Document/DeliveryBuilder.py index 62fdfb11f43471063444a0a7375f9349cf12e368..3c2a671dc83c63ac1b60c6b11ea8bea1fd1b5cf9 100755 --- a/product/ERP5/Document/DeliveryBuilder.py +++ b/product/ERP5/Document/DeliveryBuilder.py @@ -546,7 +546,7 @@ class DeliveryBuilder(XMLObject, Amount, Predicate): for collect_order in self.getDeliveryCollectOrderList(): for group in movement_group.getGroupList()[1:]: - rejected_movement_list.extend(movement_group.getMovementList()) + rejected_movement_list.extend(group.getMovementList()) movement_group = movement_group.getGroupList()[0] property_dict.update(movement_group.getGroupEditDict())