Commit 23e042a2 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

erp5_trade: table inventory_stock does not exist anymore

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