mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
[permissions] Added Test Cases
This commit is contained in:
committed by
Anand Doshi
parent
497d363fc1
commit
b1ea6b1f66
@@ -24,7 +24,7 @@ def update_user_properties():
|
||||
parent not in ('__global', 'Control Panel')""", (df[0].options, d.defkey))
|
||||
|
||||
# remove duplicate restrictions (if they exist)
|
||||
for d in webnotes.conn.sql("""select parent, defkey, substr(defvalue,0,10),
|
||||
for d in webnotes.conn.sql("""select parent, defkey, defvalue,
|
||||
count(*) as cnt from tabDefaultValue
|
||||
where parent not in ('__global', 'Control Panel')
|
||||
group by parent, defkey, defvalue""", as_dict=1):
|
||||
|
||||
Reference in New Issue
Block a user