mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 02:34:41 +00:00
chore: make "is_subcontracted" field read-only in PR and PI
This commit is contained in:
@@ -548,7 +548,8 @@
|
||||
"fieldname": "is_subcontracted",
|
||||
"fieldtype": "Check",
|
||||
"label": "Is Subcontracted",
|
||||
"print_hide": 1
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "items_section",
|
||||
|
||||
@@ -443,7 +443,8 @@
|
||||
"label": "Is Subcontracted",
|
||||
"oldfieldname": "is_subcontracted",
|
||||
"oldfieldtype": "Select",
|
||||
"print_hide": 1
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.is_subcontracted",
|
||||
|
||||
Reference in New Issue
Block a user