From 0b33a57bb6c43dd5682bc376cc383d627172cca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 10 Aug 2007 14:22:29 +0000
Subject: [PATCH] forward parameters to reindex

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15603 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/InventoryCell.py | 2 +-
 product/ERP5/Document/InventoryLine.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Document/InventoryCell.py b/product/ERP5/Document/InventoryCell.py
index 23b3aed9a9..89f84ea1dd 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 d2efab9020..60240ef92f 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)
 
-- 
2.30.9