Commit 58fd7da4 authored by Sebastien Robin's avatar Sebastien Robin

fixed error found by Shrenik


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3925 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d644dae
...@@ -68,7 +68,7 @@ class InventoryCell(DeliveryCell): ...@@ -68,7 +68,7 @@ class InventoryCell(DeliveryCell):
) )
def _edit(self, REQUEST=None, force_update = 0, **kw): 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 # Calculate inventory
item_list = self.getAggregateValueList() item_list = self.getAggregateValueList()
if len(item_list) > 0: if len(item_list) > 0:
...@@ -283,4 +283,4 @@ class InventoryCell(DeliveryCell): ...@@ -283,4 +283,4 @@ class InventoryCell(DeliveryCell):
provides a default inventory value - None since provides a default inventory value - None since
no inventory was defined. no inventory was defined.
""" """
return self.getInventory() # XXX quantity unit is missing return self.getInventory() # XXX quantity unit is missing
\ No newline at end of file
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