Fix/Correction affectation departement
Some checks failed
Organisation/sirh/pipeline/head There was a failure building this commit

This commit is contained in:
Soriba SYLLA
2026-10-07 10:30:08 +00:00
parent f061f482d9
commit 0abbb26149
59 changed files with 170 additions and 2780 deletions

View File

@@ -353,9 +353,6 @@ def enregistrer_detail_employe(request):
# Traiter le département
dept_value = data.get('departement')
print(f"[DEBUG] Département brut: {dept_value!r}")
print(f"[DEBUG] Type département: {type(dept_value).__name__}")
print(f"[DEBUG] Est vide: {not dept_value}")
if dept_value and str(dept_value).strip():
try: