[attributs.controle] controle est optionnel
This commit is contained in:
parent
75839564e5
commit
3d73191b08
2 changed files with 1 additions and 2 deletions
|
@ -1000,7 +1000,7 @@ class postalAddress(Attr):
|
||||||
|
|
||||||
class controle(Attr):
|
class controle(Attr):
|
||||||
singlevalue = True
|
singlevalue = True
|
||||||
optional = False
|
optional = True
|
||||||
legend = u"Contrôle"
|
legend = u"Contrôle"
|
||||||
can_modify = [tresorier, nounou]
|
can_modify = [tresorier, nounou]
|
||||||
category = 'perso'
|
category = 'perso'
|
||||||
|
|
1
test.py
1
test.py
|
@ -24,7 +24,6 @@ adherent_ldif = {
|
||||||
'prenom' : ['toto'],
|
'prenom' : ['toto'],
|
||||||
'nom' : ['passoir'],
|
'nom' : ['passoir'],
|
||||||
'chbre' : ['EXT'],
|
'chbre' : ['EXT'],
|
||||||
'controle': ['p'],
|
|
||||||
'tel' : ['0000000000'],
|
'tel' : ['0000000000'],
|
||||||
'mail' : ['nobody@test.org'],
|
'mail' : ['nobody@test.org'],
|
||||||
'etudes' : ['ENS', '1', 'A0'],
|
'etudes' : ['ENS', '1', 'A0'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue