Commit 271f8ebe authored by Romain Courteaud's avatar Romain Courteaud

Remove reindexObject, because it already exists on Delivery.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3124 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6daefd89
......@@ -157,17 +157,6 @@ class Order(Delivery):
portal_type='Simulation Movement')
return result
def reindexObject(self, *k, **kw):
"""
Reindex children and simulation
"""
if self.isIndexable:
# Reindex children
self.activate().recursiveImmediateReindexObject()
# Make sure expanded simulation is still OK (expand and reindex)
# self.activate().applyToOrderRelatedMovement(method_id = 'expand')
# Removed because overkill
def manage_beforeDelete(self, item, container):
"""
Delete related Applied Rule
......
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