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
84ada4ce
Commit
84ada4ce
authored
Sep 22, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor function name change
parent
caebaffb
Pipeline
#2980
failed with stage
in 1 minute 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
admin.py
members/admin.py
+2
-2
No files found.
members/admin.py
View file @
84ada4ce
...
@@ -627,7 +627,7 @@ def shift_subscription(request):
...
@@ -627,7 +627,7 @@ def shift_subscription(request):
res
[
"unsubscribe_member"
]
=
m
.
unsubscribe_member
(
changing_shift
=
True
)
res
[
"unsubscribe_member"
]
=
m
.
unsubscribe_member
(
changing_shift
=
True
)
# https://redmine.coopdev.fr/issues/4715
# https://redmine.coopdev.fr/issues/4715
lower_makeup_count_to_zero_if_moving_from_std_to_
non_std
(
api
,
partner_id
,
shift_type
,
res
)
lower_makeup_count_to_zero_if_moving_from_std_to_
ftop
(
api
,
partner_id
,
shift_type
,
res
)
reg_id
=
m
.
create_coop_shift_subscription
(
shift_template_id
,
shift_type
)
reg_id
=
m
.
create_coop_shift_subscription
(
shift_template_id
,
shift_type
)
# Return necessary data
# Return necessary data
...
@@ -649,7 +649,7 @@ def shift_subscription(request):
...
@@ -649,7 +649,7 @@ def shift_subscription(request):
return
response
return
response
def
lower_makeup_count_to_zero_if_moving_from_std_to_
non_std
(
api
,
partner_id
,
shift_type
,
res
):
def
lower_makeup_count_to_zero_if_moving_from_std_to_
ftop
(
api
,
partner_id
,
shift_type
,
res
):
if
shift_type
==
2
:
if
shift_type
==
2
:
c
=
[[
'id'
,
'='
,
partner_id
]]
c
=
[[
'id'
,
'='
,
partner_id
]]
f
=
[
'shift_type'
]
f
=
[
'shift_type'
]
...
...
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