diff --git a/product/ERP5/Document/InventoryCell.py b/product/ERP5/Document/InventoryCell.py index 23b3aed9a9ff4bd8c5d8980ad468ed83dfb13164..89f84ea1ddfdae9c4a2c5821b06e7e5c6bf8aaad 100644 --- a/product/ERP5/Document/InventoryCell.py +++ b/product/ERP5/Document/InventoryCell.py @@ -121,4 +121,4 @@ class InventoryCell(DeliveryCell): """ Make sure to reindex the inventory """ - self.getParentValue().reindexObject() + self.getParentValue().reindexObject(*args, **kw) diff --git a/product/ERP5/Document/InventoryLine.py b/product/ERP5/Document/InventoryLine.py index d2efab90203a8892418448525921f62eefc69582..60240ef92f4437a38cd4a64659aa571d38e486a9 100644 --- a/product/ERP5/Document/InventoryLine.py +++ b/product/ERP5/Document/InventoryLine.py @@ -142,5 +142,5 @@ class InventoryLine(DeliveryLine): """ Make sure to reindex the inventory """ - self.getParentValue().recursiveReindexObject() + self.getParentValue().recursiveReindexObject(*args, **kw)