Commit 4bbc4b9a authored by Vincent Pelletier's avatar Vincent Pelletier

Inventory no longer contains negative values for inventories.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16774 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 527213ba
......@@ -1771,10 +1771,6 @@ class TestInventoryDocument(InventoryAPITestCase):
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
'date': self.INVENTORY_DATE_3},
{'inventory': -self.INVENTORY_QUANTITY_2,
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
'date': self.INVENTORY_DATE_3},
{'inventory': self.BASE_QUANTITY,
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
......@@ -1802,10 +1798,6 @@ class TestInventoryDocument(InventoryAPITestCase):
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
'date': self.INVENTORY_DATE_3},
{'inventory': -self.INVENTORY_QUANTITY_2,
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
'date': self.INVENTORY_DATE_3},
{'inventory': self.BASE_QUANTITY,
'resource_uid': self.resource.getUid(),
'node_uid': self.node_uid,
......
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