fix: make item field read-only in batch (backport #38010) (#38033)

* fix: make item field read-only in batch

(cherry picked from commit 779260fb49)

# Conflicts:
#	erpnext/stock/doctype/batch/batch.json

* chore: `conflicts`

---------

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
mergify[bot]
2023-11-11 10:51:36 +05:30
committed by GitHub
parent 13ea910fa6
commit 424ebd154a

View File

@@ -61,6 +61,7 @@
"oldfieldname": "item", "oldfieldname": "item",
"oldfieldtype": "Link", "oldfieldtype": "Link",
"options": "Item", "options": "Item",
"read_only_depends_on": "eval:!doc.__islocal",
"reqd": 1 "reqd": 1
}, },
{ {
@@ -207,7 +208,7 @@
"image_field": "image", "image_field": "image",
"links": [], "links": [],
"max_attachments": 5, "max_attachments": 5,
"modified": "2022-02-21 08:08:23.999236", "modified": "2023-11-09 12:17:28.339975",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Batch", "name": "Batch",