Skip to content

Commit a499b7e

Browse files
mihir-kandoimergify[bot]
authored andcommitted
fix: reservation based on field should be read only in SRE
(cherry picked from commit 21452b4)
1 parent 17062e0 commit a499b7e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

erpnext/stock/doctype/stock_reservation_entry/stock_reservation_entry.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,14 @@
265265
"label": "Serial and Batch Reservation"
266266
},
267267
{
268-
"allow_on_submit": 1,
269268
"default": "Qty",
270269
"depends_on": "eval: parent.has_serial_no || parent.has_batch_no",
271270
"fieldname": "reservation_based_on",
272271
"fieldtype": "Select",
273272
"label": "Reservation Based On",
274273
"no_copy": 1,
275274
"options": "Qty\nSerial and Batch",
276-
"read_only_depends_on": "eval: (doc.delivered_qty > 0 || doc.from_voucher_type == \"Pick List\")"
275+
"read_only": 1
277276
},
278277
{
279278
"fieldname": "column_break_7dxj",
@@ -343,11 +342,11 @@
343342
"index_web_pages_for_search": 1,
344343
"is_submittable": 1,
345344
"links": [],
346-
"modified": "2025-11-10 16:09:10.380024",
345+
"modified": "2026-02-19 10:17:28.695394",
347346
"modified_by": "Administrator",
348347
"module": "Stock",
349348
"name": "Stock Reservation Entry",
350-
"naming_rule": "Expression (old style)",
349+
"naming_rule": "Expression",
351350
"owner": "Administrator",
352351
"permissions": [
353352
{

0 commit comments

Comments
 (0)