Commit 7ce1951e by Félicie

column point added

parent 5cfdcae6
Pipeline #1875 passed with stage
in 1 minute 31 seconds
...@@ -1089,7 +1089,7 @@ class CagetteMembers(models.Model): ...@@ -1089,7 +1089,7 @@ class CagetteMembers(models.Model):
def get_makeups_members(): def get_makeups_members():
api = OdooAPI() api = OdooAPI()
cond = [['makeups_to_do','>', 0]] 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) res = api.search_read('res.partner', cond, fields)
return res return res
......
...@@ -69,6 +69,18 @@ function display_makeups_members() { ...@@ -69,6 +69,18 @@ function display_makeups_members() {
title: "Nom" 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", data: "makeups_to_do",
title: "Nb rattrapages", title: "Nb rattrapages",
className: "dt-body-center", className: "dt-body-center",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment