Skip to content

Commit

Permalink
fix: make item field read-only in batch (backport #38010) (#38034)
Browse files Browse the repository at this point in the history
fix: make item field read-only in batch

(cherry picked from commit 779260f)

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
  • Loading branch information
mergify[bot] and s-aga-r authored Nov 11, 2023
1 parent ddb1a76 commit 99b7cdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/stock/doctype/batch/batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"oldfieldname": "item",
"oldfieldtype": "Link",
"options": "Item",
"read_only_depends_on": "eval:!doc.__islocal",
"reqd": 1
},
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 99b7cdb

Please sign in to comment.