[attributs] Type python à int pour la classe responsable
This commit is contained in:
parent
03c45b8889
commit
6fffbd7bd3
1 changed files with 2 additions and 1 deletions
|
@ -990,6 +990,7 @@ class responsable(Attr):
|
|||
category = 'perso'
|
||||
can_modify = [cableur, nounou]
|
||||
ldap_name = "responsable"
|
||||
python_type = int # en vrai, c'est l'aid du responsable
|
||||
|
||||
def nonefunction(self, resp):
|
||||
"""
|
||||
|
@ -1020,7 +1021,7 @@ class responsable(Attr):
|
|||
value = property(get_respo, nonefunction)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.__value
|
||||
return unicode(self.__value)
|
||||
|
||||
@crans_attribute
|
||||
class imprimeurClub(Attr):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue