diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index 6ff0763285caed73ce3e8f8c2aff16b55f9bbefc..e34c4f689e19859d28684d6ae7be7b6604f03750 100644 --- a/product/ERP5/Document/Delivery.py +++ b/product/ERP5/Document/Delivery.py @@ -242,12 +242,14 @@ class Delivery(XMLObject, ImmobilisationDelivery, CompositionMixin): movement_list = [] add_movement = movement_list.append extend_movement = movement_list.extend - sub_object_list = self.objectValues(portal_type=movement_portal_type_list) + sub_object_list = self.objectValues(\ + portal_type=movement_portal_type_list, **kw) extend_sub_object = sub_object_list.extend append_sub_object = sub_object_list.append while sub_object_list: sub_object = sub_object_list.pop() - content_list = sub_object.objectValues(portal_type=movement_portal_type_list) + content_list = sub_object.objectValues(\ + portal_type=movement_portal_type_list, **kw) if sub_object.hasCellContent(): cell_list = sub_object.getCellValueList() if len(cell_list) != len(content_list):