Browse Source

Ajoute une valeur à la liste des CA_TECHNO autorisées

omassot 6 years ago
parent
commit
d9153b9209
1 changed files with 1 additions and 1 deletions
  1. 1 1
      schemas/mn2_rec.py

+ 1 - 1
schemas/mn2_rec.py

@@ -88,7 +88,7 @@ class Cable(QgsModel):
               'CA_EQ_B': {'type': 'string', 'empty': False, 'maxlength': 30}, 
               'CA_DIAMETR': {'empty': False, 'validator': is_positive_float}, 
               'CA_COULEUR': {'type': 'string', 'maxlength': 20, 'empty': False, 'allowed': ['NOIR', 'BLEU', 'BLANC']}, 
-              'CA_TECHNOL': {'type': 'string', 'maxlength': 17, 'empty': False, 'allowed': ['G657A2_M6', 'G657A2_M12']}, 
+              'CA_TECHNOL': {'type': 'string', 'maxlength': 17, 'empty': False, 'allowed': ['G657A2_M6', 'G657A2_M12', 'G652D_M12']}, 
               'CA_NB_FO_U': {'empty': False, 'validator': is_positive_int}, 
               'CA_NB_FO_D': {'empty': False, 'validator': is_positive_int}, 
               'CA_PRO': {'type': 'string', 'maxlength': 20, 'empty': False, 'allowed': ['MANCHE NUMERIQUE']},