From 2f97370b8e4dbef05d8431255e352dd15972519a Mon Sep 17 00:00:00 2001 From: Sagar Sharma Date: Sat, 17 Sep 2022 14:29:42 +0530 Subject: [PATCH] fix: `sco_rm_detail` in Stock Entry --- erpnext/stock/doctype/stock_entry/stock_entry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.py b/erpnext/stock/doctype/stock_entry/stock_entry.py index 76bba8af64..75e8c6a817 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/stock_entry.py @@ -2606,6 +2606,7 @@ def get_items_from_subcontracting_order(source_name, target_doc=None): "uom": item.stock_uom, "stock_uom": item.stock_uom, "conversion_factor": 1, + "sco_rm_detail": item.name, }, )