mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
Merge pull request #52795 from frappe/mergify/bp/version-15-hotfix/pr-52794
fix: reservation based on field should be read only in SRE (backport #52794)
This commit is contained in:
@@ -261,7 +261,6 @@
|
||||
"label": "Serial and Batch Reservation"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "Qty",
|
||||
"depends_on": "eval: parent.has_serial_no || parent.has_batch_no",
|
||||
"fieldname": "reservation_based_on",
|
||||
@@ -269,7 +268,7 @@
|
||||
"label": "Reservation Based On",
|
||||
"no_copy": 1,
|
||||
"options": "Qty\nSerial and Batch",
|
||||
"read_only_depends_on": "eval: (doc.delivered_qty > 0 || doc.from_voucher_type == \"Pick List\")"
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_7dxj",
|
||||
@@ -315,11 +314,11 @@
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2024-02-07 16:05:17.772098",
|
||||
"modified": "2026-02-19 10:17:28.695394",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Stock Reservation Entry",
|
||||
"naming_rule": "Expression (old style)",
|
||||
"naming_rule": "Expression",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
@@ -425,4 +424,4 @@
|
||||
"sort_order": "DESC",
|
||||
"states": [],
|
||||
"track_changes": 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user