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
826b0fba
Commit
826b0fba
authored
Oct 12, 2022
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run process target status at the end of update_members_makeups
parent
39e18e62
Pipeline
#2433
passed with stage
in 1 minute 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
admin.py
members/admin.py
+7
-1
No files found.
members/admin.py
View file @
826b0fba
...
...
@@ -408,7 +408,13 @@ def update_members_makeups(request):
}
cm
.
update_member_points
(
data
)
# Better to call run_process_target_status now, otherwise partner remains
# in alert until routine is called (every 5 minutes). It is a bit weird for users and
# allocation of rattrapages before the routine is executed will not trigger change to delay state !
# (the parner would have to go back to espace membre and click on "j'affecte mes rattrapage"
# even though it shows 'J'ai 0 rattrapages à effecter' for the delay state change to be eventually triggered)
api
=
OdooAPI
()
api
.
execute
(
'res.partner'
,
'run_process_target_status'
,
[])
response
=
JsonResponse
(
res
)
else
:
res
[
"message"
]
=
"Unauthorized"
...
...
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