From 5bb1ebbb9be6b84129a7d854039b98ba0a9249f3 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 20 May 2010 12:00:52 +0000 Subject: [PATCH] checking order category is not needed in Delivery.py. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35483 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Delivery.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index 84764affd9..aab2485a68 100644 --- a/product/ERP5/Document/Delivery.py +++ b/product/ERP5/Document/Delivery.py @@ -960,8 +960,4 @@ class Delivery(XMLObject, ImmobilisationDelivery, CompositionMixin): movement_uid_list = [x.getUid() for x in self.getMovementList()] sim_movement_list = search_method(portal_type='Simulation Movement', delivery_uid=movement_uid_list, **kw) - if len(sim_movement_list) == 0: - # 'order' category is deprecated. it is kept for compatibility. - sim_movement_list = search_method(portal_type='Simulation Movement', - order_uid=movement_uid_list, **kw) return sim_movement_list -- 2.30.9