Przeglądaj źródła

[profile] [fix] profile's get roles to be used to get roles of any profile

version-14
Anand Doshi 12 lat temu
rodzic
commit
c17e4db25e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      webnotes/profile.py

+ 1
- 1
webnotes/profile.py Wyświetl plik

@@ -47,7 +47,7 @@ class Profile:
def get_roles(self):
"""get list of roles"""
if not self.roles:
self.roles = webnotes.get_roles()
self.roles = webnotes.get_roles(self.name)
return self.roles
def build_doctype_map(self):


Ładowanie…
Anuluj
Zapisz