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
7556d561
Commit
7556d561
authored
Sep 11, 2023
by
François C.
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Hot fix : start shelf labels auto print only is RECEPTION_SHELF_LABEL_PRINT set to TRUE"
This reverts commit
535002df
.
parent
535002df
Pipeline
#2948
failed with stage
in 1 minute 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
models.py
reception/models.py
+1
-2
No files found.
reception/models.py
View file @
7556d561
...
...
@@ -261,8 +261,7 @@ class CagetteReception(models.Model):
new_x_reception_status
+=
'/error_uprice'
if
new_x_reception_status
==
''
:
new_x_reception_status
=
'done'
if
getattr
(
settings
,
'RECEPTION_SHELF_LABEL_PRINT'
,
False
)
is
True
:
self
.
print_shelf_labels_for_updated_prices
(
price_update
[
'lines'
])
self
.
print_shelf_labels_for_updated_prices
(
price_update
[
'lines'
])
if
result
!=
'already done'
:
self
.
o_api
.
update
(
'purchase.order'
,
[
self
.
id
],
{
'x_reception_status'
:
new_x_reception_status
})
...
...
François C.
@fracolo
mentioned in commit
97a032e3
Sep 11, 2023
mentioned in commit
97a032e3
mentioned in commit 97a032e373695e494aac0efe3be42784c71d695f
Toggle commit list
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