patch: added patch to update deal quick entry layout to restrict editing section label and removing it
This commit is contained in:
parent
9da213c799
commit
be7ac19cc7
@ -10,6 +10,6 @@ def execute():
|
||||
layout = json.loads(deal)
|
||||
for section in layout:
|
||||
if section.get("label") in ["Select Organization", "Organization Details", "Select Contact", "Contact Details"]:
|
||||
section["editable"] = True
|
||||
section["editable"] = False
|
||||
|
||||
frappe.db.set_value("CRM Fields Layout", "CRM Deal-Quick Entry", "layout", json.dumps(layout))
|
||||
Loading…
x
Reference in New Issue
Block a user