diff --git a/Compte rendu/Compte rendu.md b/Compte rendu/Compte rendu.md index 10bee905501432d72f74e6700da06ab5aa8ae271..acd3e164674f9848008d243b8eba49095f79d163 100644 --- a/Compte rendu/Compte rendu.md +++ b/Compte rendu/Compte rendu.md @@ -29,3 +29,5 @@ Le paramêtre permettant de changer le calcul de la moyenne est dans la page de ### 2.2 Analyse de la solution +Les paramètres sont stockés dans le fichier app/scodoc/sco_preferences.py +plus précisément dans le tableau self.prefs_definition \ No newline at end of file diff --git a/app/scodoc/sco_preferences.py b/app/scodoc/sco_preferences.py index 2cf1794c5c049b6fad7aab480c8ea3de63fec18a..49fa875841c94ae4a9d2fd57fd9a5e09e3a77db8 100644 --- a/app/scodoc/sco_preferences.py +++ b/app/scodoc/sco_preferences.py @@ -1783,6 +1783,17 @@ class BasePreferences: "category": "bul_but_pdf", }, ), + ( + "bul_but_moy_gen_ind", + { + "initvalue": 1, + "title": "Bulletins BUT: afficher la moyenne générale indicative", + "explanation": "pour qu'elle soit calculéé mais pas affichée sur les bulletins.", + "input_type": "boolcheckbox", + "labels": ["non", "oui"], + "category": "bul_but_pdf", + }, + ), # XXX A COMPLETER, voir sco_formsemestre_edit.py XXX # bul_mail (