From 58fd7da4dfd78fe7ce612bd719819bd8676e86e4 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 30 Sep 2005 14:25:58 +0000
Subject: [PATCH] fixed error found by Shrenik

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

diff --git a/product/ERP5/Document/InventoryCell.py b/product/ERP5/Document/InventoryCell.py
index ce6a080005..2d0b9cb37e 100755
--- a/product/ERP5/Document/InventoryCell.py
+++ b/product/ERP5/Document/InventoryCell.py
@@ -68,7 +68,7 @@ class InventoryCell(DeliveryCell):
                       )
 
     def _edit(self, REQUEST=None, force_update = 0, **kw):
-      DeliveryLine._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
+      DeliveryCell._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
       # Calculate inventory
       item_list = self.getAggregateValueList()
       if len(item_list) > 0:
@@ -283,4 +283,4 @@ class InventoryCell(DeliveryCell):
         provides a default inventory value - None since
         no inventory was defined.
       """
-      return self.getInventory() # XXX quantity unit is missing
\ No newline at end of file
+      return self.getInventory() # XXX quantity unit is missing
-- 
2.30.9