refactor: make all fields readonly

(cherry picked from commit f176a82198)
This commit is contained in:
ruthra kumar
2024-10-16 17:11:50 +05:30
committed by Mergify
parent b343334f69
commit 0d02f8b5d1

View File

@@ -19,52 +19,60 @@
"fieldname": "voucher_type", "fieldname": "voucher_type",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Voucher Type", "label": "Voucher Type",
"options": "DocType" "options": "DocType",
"read_only": 1
}, },
{ {
"fieldname": "voucher_no", "fieldname": "voucher_no",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"label": "Voucher No", "label": "Voucher No",
"options": "voucher_type" "options": "voucher_type",
"read_only": 1
}, },
{ {
"fieldname": "against_voucher_type", "fieldname": "against_voucher_type",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Against Voucher Type", "label": "Against Voucher Type",
"options": "DocType" "options": "DocType",
"read_only": 1
}, },
{ {
"fieldname": "against_voucher_no", "fieldname": "against_voucher_no",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"label": "Against Voucher No", "label": "Against Voucher No",
"options": "against_voucher_type" "options": "against_voucher_type",
"read_only": 1
}, },
{ {
"fieldname": "amount", "fieldname": "amount",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Amount" "label": "Amount",
"read_only": 1
}, },
{ {
"fieldname": "currency", "fieldname": "currency",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Currency", "label": "Currency",
"options": "Currency" "options": "Currency",
"read_only": 1
}, },
{ {
"fieldname": "event", "fieldname": "event",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Event" "label": "Event",
"read_only": 1
}, },
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Company", "label": "Company",
"options": "Company" "options": "Company",
"read_only": 1
} }
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2024-10-16 17:08:09.334330", "modified": "2024-10-16 17:11:28.143979",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Advance Payment Ledger Entry", "name": "Advance Payment Ledger Entry",