forked from ScoDoc/ScoDoc
corrections
This commit is contained in:
parent
5e77ca53a5
commit
117764d3da
@ -172,6 +172,11 @@ def verif_entreprise_data(entreprise_data):
|
||||
"""
|
||||
Verifie les données d'une ligne Excel (entreprise)
|
||||
"""
|
||||
if EntreprisePreferences.get_check_siret():
|
||||
for data in entreprise_data: # champs obligatoires
|
||||
if data == "":
|
||||
return False
|
||||
else:
|
||||
for data in entreprise_data[1:]: # champs obligatoires
|
||||
if data == "":
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user