Skip to content

Commit

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

(cherry picked from commit 779260f)

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

* chore: `conflicts`

---------

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 13ea910 commit 424ebd1
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": "2022-02-21 08:08:23.999236",
"modified": "2023-11-09 12:17:28.339975",
"modified_by": "Administrator",
"module": "Stock",
"name": "Batch",
Expand Down

0 comments on commit 424ebd1

Please sign in to comment.