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

fix: make item field read-only in batch

(cherry picked from commit 779260fb497d6ac8000a89b7b762145c58e84471)

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
mergify[bot] 2023-11-11 10:48:09 +05:30 committed by GitHub
parent ddb1a7643a
commit 99b7cdb5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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