Commit 88aea739 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Jérome Perrin

erp5_trade: table inventory_stock does not exist anymore

parent 9a96bd86
...@@ -105,7 +105,7 @@ class DuplicateInventoryConstraint(ConstraintMixin): ...@@ -105,7 +105,7 @@ class DuplicateInventoryConstraint(ConstraintMixin):
inventory_list = getCurrentInventoryList(resource=resource, inventory_list = getCurrentInventoryList(resource=resource,
variation_text=variation_text, variation_text=variation_text,
from_date=date, at_date=date, from_date=date, at_date=date,
default_stock_table='inventory_stock', default_stock_table='stock',
node=node) node=node)
for inventory in inventory_list: for inventory in inventory_list:
movement = getObjectFromUid(inventory.stock_uid) movement = getObjectFromUid(inventory.stock_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