mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
moved directory structure
This commit is contained in:
10
patches/may_2012/create_report_manager_role.py
Normal file
10
patches/may_2012/create_report_manager_role.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
import webnotes
|
||||
from webnotes.model.doc import Document
|
||||
|
||||
if not webnotes.conn.sql("select name from `tabRole` where name = 'Report Manager'"):
|
||||
r = Document('Role')
|
||||
r.role_name = 'Report Manager'
|
||||
r.module = 'Core'
|
||||
r.save()
|
||||
Reference in New Issue
Block a user