mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-29 15:01:04 +02:00
Patch observer oral min note
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -1545,7 +1545,7 @@ class Pool(models.Model):
|
||||
for i in range(passages.count()):
|
||||
for j in range(passage_width):
|
||||
column = getcol(min_column + i * passage_width + j)
|
||||
min_note = 0
|
||||
min_note = 0 if j < 7 else -10
|
||||
max_note = 20 if j < 2 and settings.TFJM_APP == "TFJM" else 10
|
||||
format_requests.append({
|
||||
"setDataValidation": {
|
||||
@ -2055,7 +2055,7 @@ class Note(models.Model):
|
||||
default=0,
|
||||
)
|
||||
|
||||
observer_oral = models.PositiveSmallIntegerField(
|
||||
observer_oral = models.SmallIntegerField(
|
||||
verbose_name=_("observer oral note"),
|
||||
choices=[(i, i) for i in range(-10, 11)],
|
||||
default=0,
|
||||
|
Reference in New Issue
Block a user