Skip to content

Commit

Permalink
fix: fetch Stock UOM from Item if not set (#36606)
Browse files Browse the repository at this point in the history
(cherry picked from commit 539cfd0)
  • Loading branch information
s-aga-r authored and mergify[bot] committed Aug 12, 2023
1 parent 347c67a commit 008d8b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions erpnext/manufacturing/doctype/work_order/work_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@
"read_only": 1
},
{
"fetch_from": "production_item.stock_uom",
"fetch_if_empty": 1,
"fieldname": "stock_uom",
"fieldtype": "Link",
"label": "Stock UOM",
Expand Down Expand Up @@ -598,7 +600,7 @@
"image_field": "image",
"is_submittable": 1,
"links": [],
"modified": "2023-06-09 13:20:09.154362",
"modified": "2023-08-11 18:35:49.852069",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Work Order",
Expand All @@ -618,7 +620,6 @@
"read": 1,
"report": 1,
"role": "Manufacturing User",
"set_user_permissions": 1,
"share": 1,
"submit": 1,
"write": 1
Expand Down

0 comments on commit 008d8b1

Please sign in to comment.