Browse Source

Merge pull request #1946 from neilLasrado/develop

[ux improvement] Sort modules shown in user doctype
version-14
Rushabh Mehta 9 years ago
committed by GitHub
parent
commit
a115df59dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/core/doctype/user/user.py

+ 1
- 1
frappe/core/doctype/user/user.py View File

@@ -36,7 +36,7 @@ class User(Document):
def onload(self):
self.set_onload('all_modules',
[m.module_name for m in frappe.db.get_all('Desktop Icon',
fields=['module_name'], filters={'standard': 1})])
fields=['module_name'], filters={'standard': 1}, order_by="module_name")])

def validate(self):
self.check_demo()


Loading…
Cancel
Save