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
817df44b
Commit
817df44b
authored
Jul 06, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove print(res)
parent
f08d81aa
Pipeline
#2302
passed with stage
in 1 minute 25 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
models.py
members/models.py
+0
-2
No files found.
members/models.py
View file @
817df44b
...
@@ -1486,8 +1486,6 @@ class CagetteServices(models.Model):
...
@@ -1486,8 +1486,6 @@ class CagetteServices(models.Model):
fields
=
[
'id'
,
'state'
,
'partner_id'
,
'date_begin'
]
fields
=
[
'id'
,
'state'
,
'partner_id'
,
'date_begin'
]
res
=
api
.
search_read
(
'shift.registration'
,
cond
,
fields
)
res
=
api
.
search_read
(
'shift.registration'
,
cond
,
fields
)
print
(
res
)
extra_shift_done_incremented_srids
=
[]
# shift registration ids
extra_shift_done_incremented_srids
=
[]
# shift registration ids
for
r
in
res
:
for
r
in
res
:
cond
=
[[
'id'
,
'='
,
r
[
'partner_id'
][
0
]]]
cond
=
[[
'id'
,
'='
,
r
[
'partner_id'
][
0
]]]
...
...
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