diff --git a/product/ERP5/Document/Order.py b/product/ERP5/Document/Order.py index 3e171e414d836d50ae517c67da0d477edbc6dfd9..ae4398678347bea6d1f19ca09a26ade0f3423588 100755 --- a/product/ERP5/Document/Order.py +++ b/product/ERP5/Document/Order.py @@ -87,7 +87,8 @@ class Order(Delivery): portal_type='Simulation Movement'): # And apply getattr(my_simulation_movement, method_id)() - for c in m.contentValues(filter={'portal_type': 'Delivery Cell'}): + for c in m.contentValues(filter={'portal_type': + self.getPortalMovementTypeList()}): for my_simulation_movement in c.getOrderRelatedValueList( portal_type='Simulation Movement'): # And apply