Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit cf3319dcc0 - Show all commits

View File

@ -10,7 +10,6 @@ from app.models import ModuleImpl, Module, Scolog, FormSemestre, FormSemestreIns
from app.models.etudiants import Identite from app.models.etudiants import Identite
from app.auth.models import User from app.auth.models import User
from app.scodoc import sco_abs_notification from app.scodoc import sco_abs_notification
from app.scodoc.sco_archives_justificatifs import JustificatifArchiver
from app.scodoc.sco_exceptions import ScoValueError from app.scodoc.sco_exceptions import ScoValueError
from app.scodoc.sco_utils import ( from app.scodoc.sco_utils import (
EtatAssiduite, EtatAssiduite,
@ -423,6 +422,7 @@ class Justificatif(db.Model):
def supprime(self): def supprime(self):
"Supprime le justificatif. Log et commit." "Supprime le justificatif. Log et commit."
from app.scodoc import sco_assiduites as scass from app.scodoc import sco_assiduites as scass
from app.scodoc.sco_archives_justificatifs import JustificatifArchiver
# Récupération de l'archive du justificatif # Récupération de l'archive du justificatif
archive_name: str = self.fichier archive_name: str = self.fichier