Commit bf5e21af by Yvon Kerdoncuff

Revert "remove call to stock_picking_update in update_orders (this is done later by the cron)"

This reverts commit f89645c8.
parent 3107d9ba
Pipeline #4145 failed with stage
......@@ -213,6 +213,8 @@ def update_orders(request):
if update is not True:
errors.append(order_line['id'])
if update is True:
spu = m.stock_picking_update(order_line)
# If update succeded, and supplier shortage set, try to register the supplier shortage
if update is True and 'supplier_shortage' in order_line:
......
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