Commit 397bfe02 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Pass arbitrary arguments and keywords to recursiveReindexObject from reindexObject.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5748 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fab5c0b3
......@@ -320,7 +320,7 @@ class Delivery(XMLObject):
"""
Reindex children and simulation
"""
self.recursiveReindexObject()
self.recursiveReindexObject(*k, **kw)
# NEW: we never rexpand simulation - This is a task for DSolver / TSolver
# Make sure expanded simulation is still OK (expand and reindex)
# self.activate().applyToDeliveryRelatedMovement(method_id = 'expand')
......
......@@ -237,7 +237,7 @@ class DeliveryLine(Movement, XMLObject, XMLMatrix, Variated):
"""
Reindex children and simulation
"""
self.recursiveReindexObject()
self.recursiveReindexObject(*k, **kw)
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedQuantity')
def getInventoriatedQuantity(self):
......
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