2012-07-19 13:40:31 +05:30
|
|
|
from __future__ import unicode_literals
|
2012-05-23 12:55:11 +05:30
|
|
|
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()
|