mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
User Progress (#10336)
* [user-progress] first cut * [user-progress] Add users slide, remove taxes, make sample data * wip tests * [setup-wiz] UI test * [user-progress] notif test, docs trim * wip * [user-progress] Setup Progress single to update action states, fixtures * setup progress actions patch * rename sales_target field patch * [progress] wip reform slide data * [progress] remove slide data * [setup] add roles for GST doctypes, remove commit from fixtures
This commit is contained in:
committed by
Rushabh Mehta
parent
fd39d6bd3c
commit
95d8fd38f5
@@ -1,3 +1,6 @@
|
||||
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe, erpnext
|
||||
|
||||
from frappe import _
|
||||
@@ -51,9 +54,8 @@ def get_help_messages():
|
||||
if get_level() > 6:
|
||||
return []
|
||||
|
||||
messages = []
|
||||
|
||||
domain = frappe.db.get_value('Company', erpnext.get_default_company(), 'domain')
|
||||
messages = []
|
||||
|
||||
message_settings = [
|
||||
frappe._dict(
|
||||
@@ -138,7 +140,6 @@ def get_help_messages():
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
for m in message_settings:
|
||||
if not m.domain or domain in m.domain:
|
||||
m.count = frappe.db.count(m.doctype)
|
||||
|
||||
Reference in New Issue
Block a user