From f176a82198b894bfc289fcf8e506ce0d2c918573 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Wed, 16 Oct 2024 17:11:50 +0530 Subject: [PATCH] refactor: make all fields readonly --- .../advance_payment_ledger_entry.json | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/erpnext/accounts/doctype/advance_payment_ledger_entry/advance_payment_ledger_entry.json b/erpnext/accounts/doctype/advance_payment_ledger_entry/advance_payment_ledger_entry.json index 6f4792543d89..1d0a5b42a316 100644 --- a/erpnext/accounts/doctype/advance_payment_ledger_entry/advance_payment_ledger_entry.json +++ b/erpnext/accounts/doctype/advance_payment_ledger_entry/advance_payment_ledger_entry.json @@ -19,52 +19,60 @@ "fieldname": "voucher_type", "fieldtype": "Link", "label": "Voucher Type", - "options": "DocType" + "options": "DocType", + "read_only": 1 }, { "fieldname": "voucher_no", "fieldtype": "Dynamic Link", "label": "Voucher No", - "options": "voucher_type" + "options": "voucher_type", + "read_only": 1 }, { "fieldname": "against_voucher_type", "fieldtype": "Link", "label": "Against Voucher Type", - "options": "DocType" + "options": "DocType", + "read_only": 1 }, { "fieldname": "against_voucher_no", "fieldtype": "Dynamic Link", "label": "Against Voucher No", - "options": "against_voucher_type" + "options": "against_voucher_type", + "read_only": 1 }, { "fieldname": "amount", "fieldtype": "Currency", - "label": "Amount" + "label": "Amount", + "read_only": 1 }, { "fieldname": "currency", "fieldtype": "Link", "label": "Currency", - "options": "Currency" + "options": "Currency", + "read_only": 1 }, { "fieldname": "event", "fieldtype": "Data", - "label": "Event" + "label": "Event", + "read_only": 1 }, { "fieldname": "company", "fieldtype": "Link", "label": "Company", - "options": "Company" + "options": "Company", + "read_only": 1 } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-10-16 17:08:09.334330", + "modified": "2024-10-16 17:11:28.143979", "modified_by": "Administrator", "module": "Accounts", "name": "Advance Payment Ledger Entry",