mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 14:08:29 +00:00
Patch to give permission to Accounts Manager to Lease Agreement
This commit is contained in:
@@ -1341,3 +1341,8 @@ def execute(patch_no):
|
||||
reload_doc('accounts', 'search_criteria', 'lease_yearly_future_installment_inflows')
|
||||
|
||||
reload_doc('accounts', 'Module Def', 'Accounts')
|
||||
elif patch_no == 331:
|
||||
p = get_obj('Patch Util')
|
||||
# permission
|
||||
p.add_permission('Lease Agreement', 'Accounts Manager', 0, read = 1, write=1,submit=1, cancel=1,amend=1)
|
||||
p.add_permission('Lease Agreement', 'Accounts Manager', 1, read = 1)
|
||||
|
||||
Reference in New Issue
Block a user