Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
21bdf00e
Commit
21bdf00e
authored
Nov 07, 2024
by
Yvon Kerdoncuff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debug
parent
ac49ee0c
Pipeline
#3903
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
views.py
products/views.py
+2
-0
No files found.
products/views.py
View file @
21bdf00e
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment