8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Suppression du field chambre pour l'auto inscription et l'auto édition

This commit is contained in:
grisel-davy 2018-08-28 23:46:51 +02:00 committed by chirac
parent be1c0cef22
commit 560fd6e723

View file

@ -542,6 +542,9 @@ class Room(AclMixin, RevMixin, models.Model):
def __str__(self):
return self.name
def can_change(user_request,*_args, **_kwargs):
return user_request.has_perm('users.change_user')
class PortProfile(AclMixin, RevMixin, models.Model):