mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 02:55:20 +00:00
Set write permission to sales manger for permlevel 1 in Quotation doctype
This commit is contained in:
committed by
Nabin Hait
parent
13218f7d76
commit
df83191ea0
@@ -8,4 +8,4 @@ def execute():
|
||||
# Set write permission to permlevel 1 for sales manager role in Quotation doctype
|
||||
frappe.db.sql(""" update `tabCustom DocPerm` set `tabCustom DocPerm`.write = 1
|
||||
where `tabCustom DocPerm`.parent = 'Quotation' and `tabCustom DocPerm`.role = 'Sales Manager'
|
||||
and `tabCustom DocPerm`.permlevel = 1 """)
|
||||
and `tabCustom DocPerm`.permlevel = 1 """)
|
||||
Reference in New Issue
Block a user