Commit 21bdf00e by Yvon Kerdoncuff

add debug

parent ac49ee0c
Pipeline #3903 canceled with stage
......@@ -186,6 +186,8 @@ def commit_actions_on_product(request):
if res_inventory['errors'] or res_inventory['missed']:
res["code"] = "error_stock_update"
res["error"] = res_inventory['errors']
res["done"] = res_inventory["done"]
res["inv_id"] = res_inventory["inv_id"]
return JsonResponse(res, status=500)
except Exception as e:
res["code"] = "error_stock_update"
......
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