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
7ce1951e
Commit
7ce1951e
authored
Mar 07, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
column point added
parent
5cfdcae6
Pipeline
#1875
passed with stage
in 1 minute 31 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
models.py
members/models.py
+1
-1
manage_makeups.js
members/static/js/admin/manage_makeups.js
+12
-0
No files found.
members/models.py
View file @
7ce1951e
...
...
@@ -1089,7 +1089,7 @@ class CagetteMembers(models.Model):
def
get_makeups_members
():
api
=
OdooAPI
()
cond
=
[[
'makeups_to_do'
,
'>'
,
0
]]
fields
=
[
'id'
,
'name'
,
'
makeups_to_do'
,
'shift_type
'
]
fields
=
[
'id'
,
'name'
,
'
display_std_points'
,
'display_ftop_points'
,
'makeups_to_do
'
]
res
=
api
.
search_read
(
'res.partner'
,
cond
,
fields
)
return
res
...
...
members/static/js/admin/manage_makeups.js
View file @
7ce1951e
...
...
@@ -69,6 +69,18 @@ function display_makeups_members() {
title
:
"Nom"
},
{
data
:
"display_std_points"
,
title
:
"Nb points service"
,
className
:
"dt-body-center"
,
width
:
"10%"
,
},
{
data
:
"display_ftop_points"
,
title
:
"Nb points comité"
,
className
:
"dt-body-center"
,
width
:
"10%"
,
},
{
data
:
"makeups_to_do"
,
title
:
"Nb rattrapages"
,
className
:
"dt-body-center"
,
...
...
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