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
  • Loading branch information
s-aga-r committed Aug 12, 2023
1 parent 2d3fa80 commit 539cfd0
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 @@ -404,6 +404,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 @@ -590,7 +592,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 @@ -610,7 +612,6 @@
"read": 1,
"report": 1,
"role": "Manufacturing User",
"set_user_permissions": 1,
"share": 1,
"submit": 1,
"write": 1
Expand Down

0 comments on commit 539cfd0

Please sign in to comment.