fixed conflict
This commit is contained in:
commit
ea538bb9c7
9
erpnext/patches/may_2012/create_report_manager_role.py
Normal file
9
erpnext/patches/may_2012/create_report_manager_role.py
Normal file
@ -0,0 +1,9 @@
|
||||
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()
|
@ -387,5 +387,10 @@ patch_list = [
|
||||
'patch_file': 'same_purchase_rate_patch',
|
||||
'description': 'Main same rate throughout pur cycle: in global defaults, by default set true'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.may_2012',
|
||||
'patch_file': 'create_report_manager_role',
|
||||
'description': 'Create report manager role if not exists'
|
||||
},
|
||||
|
||||
]
|
Loading…
Reference in New Issue
Block a user