Fix: edition ects UE
This commit is contained in:
parent
9be8db0941
commit
b6344c27a8
@ -120,7 +120,9 @@ class UniteEns(models.ScoDocModel):
|
|||||||
if "is_external" in args:
|
if "is_external" in args:
|
||||||
args["is_external"] = scu.to_bool(args["is_external"])
|
args["is_external"] = scu.to_bool(args["is_external"])
|
||||||
if "ects" in args:
|
if "ects" in args:
|
||||||
args["ects"] = None if args["ects"] is None else float(args["ects"])
|
if isinstance(args["ects"], str):
|
||||||
|
ects = args["ects"].strip()
|
||||||
|
args["ects"] = float(ects) if ects else None
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
"Infos sur version ScoDoc"
|
"Infos sur version ScoDoc"
|
||||||
|
|
||||||
SCOVERSION = "9.7.47"
|
SCOVERSION = "9.7.48"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user