fix: make Project and Is Cancelled field read-only in SRE

This commit is contained in:
s-aga-r 2023-03-20 21:14:01 +05:30
parent 0d1332942c
commit 2946de40d8

View File

@ -146,7 +146,8 @@
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Project", "label": "Project",
"options": "Project" "options": "Project",
"read_only": 1
}, },
{ {
"fieldname": "company", "fieldname": "company",
@ -166,6 +167,7 @@
"fieldname": "is_cancelled", "fieldname": "is_cancelled",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Is Cancelled", "label": "Is Cancelled",
"read_only": 1,
"report_hide": 1 "report_hide": 1
}, },
{ {
@ -218,7 +220,7 @@
"hide_toolbar": 1, "hide_toolbar": 1,
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2023-03-20 18:52:46.414108", "modified": "2023-03-20 21:18:03.025423",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Stock Reservation Entry", "name": "Stock Reservation Entry",