Skip to content

Commit

Permalink
fix: make item field read-only in batch
Browse files Browse the repository at this point in the history
(cherry picked from commit 779260f)
  • Loading branch information
s-aga-r authored and mergify[bot] committed Nov 10, 2023
1 parent 40cc3a7 commit fa2b9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 All @@ -224,7 +225,6 @@
"read": 1,
"report": 1,
"role": "Item Manager",
"set_user_permissions": 1,
"share": 1,
"write": 1
}
Expand Down

0 comments on commit fa2b9c4

Please sign in to comment.