Commit 5bb1ebbb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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
parent f47407ab
...@@ -960,8 +960,4 @@ class Delivery(XMLObject, ImmobilisationDelivery, CompositionMixin): ...@@ -960,8 +960,4 @@ class Delivery(XMLObject, ImmobilisationDelivery, CompositionMixin):
movement_uid_list = [x.getUid() for x in self.getMovementList()] movement_uid_list = [x.getUid() for x in self.getMovementList()]
sim_movement_list = search_method(portal_type='Simulation Movement', sim_movement_list = search_method(portal_type='Simulation Movement',
delivery_uid=movement_uid_list, **kw) 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 return sim_movement_list
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