From d70ab6bb53b10b0fa4abd3508551ffade8c9e281 Mon Sep 17 00:00:00 2001 From: Myuddin Khatri <53251406+MyuddinKhatri@users.noreply.github.com> Date: Wed, 14 Apr 2021 09:57:59 +0530 Subject: [PATCH] fix: added pick list to stock entry on pick list submission (#1179) --- erpnext/stock/doctype/pick_list/pick_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/pick_list/pick_list.py b/erpnext/stock/doctype/pick_list/pick_list.py index 3619b3df7d97..107878f06f0f 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.py +++ b/erpnext/stock/doctype/pick_list/pick_list.py @@ -236,6 +236,7 @@ def create_stock_entry(self): # Create New Document stock_entry = frappe.new_doc('Stock Entry') stock_entry.name = self.get('name') + stock_entry.pick_list = self.get('name') if self.get('purpose') == "Delivery": stock_entry.purpose = "Repack" if self.get('work_order'):