frappe.get_user() takes no attributes
https://github.com/frappe/frappe/issues/1092
This commit is contained in:
parent
ce9d3de2f8
commit
d9ee242a12
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ def combine_common_sections(data):
|
|||
def apply_permissions(data):
|
||||
default_country = frappe.db.get_default("country")
|
||||
|
||||
user = frappe.get_user(frappe.session.user)
|
||||
user = frappe.get_user()
|
||||
user.build_permissions()
|
||||
|
||||
allowed_pages = get_allowed_pages()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue