From bdfc300896309d0b3ab04d6eccc023a57f8e71ab Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Tue, 17 Aug 2021 12:03:26 +0200 Subject: [PATCH] fix: item name is missing into job card (#26956) --- erpnext/manufacturing/doctype/work_order/work_order.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.json b/erpnext/manufacturing/doctype/work_order/work_order.json index 6152fbb8402..35462b71b68 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.json +++ b/erpnext/manufacturing/doctype/work_order/work_order.json @@ -107,6 +107,8 @@ }, { "depends_on": "eval:doc.production_item", + "fetch_from": "production_item.item_name", + "fetch_if_empty": 1, "fieldname": "item_name", "fieldtype": "Data", "label": "Item Name", @@ -470,7 +472,7 @@ "image_field": "image", "is_submittable": 1, "links": [], - "modified": "2019-12-04 11:20:04.695123", + "modified": "2021-08-16 11:20:04.695123", "modified_by": "Administrator", "module": "Manufacturing", "name": "Work Order",