forked from ScoDoc/ScoDoc
Assiduites : bug fix _edit_one external data
This commit is contained in:
parent
a33a919823
commit
559fd82e52
@ -1014,7 +1014,7 @@ def _edit_one(assiduite_unique: Assiduite, data: dict) -> tuple[int, str]:
|
||||
else assiduite_unique.external_data
|
||||
)
|
||||
|
||||
if force and not external_data.get("module", False):
|
||||
if force and not (external_data is not None and external_data.get("module", False) != ""):
|
||||
errors.append(
|
||||
"param 'moduleimpl_id' : le moduleimpl_id ne peut pas être nul"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user