mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
[minor] [cleanup] [issue] webnotes/erpnext#438 - change user_type Partner to Website User
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.conn.sql("""update `tabProfile` set user_type='System User'
|
||||
where user_type='Partner' and exists (select name from `tabUserRole`
|
||||
where parent=`tabProfile`.name)""")
|
||||
Reference in New Issue
Block a user