mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
10 lines
288 B
Python
10 lines
288 B
Python
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() |