Skip to content

Commit

Permalink
fix: added pick list to stock entry on pick list submission (Bloomsta…
Browse files Browse the repository at this point in the history
  • Loading branch information
MyuddinKhatri authored and rvpasari committed May 6, 2021
1 parent b4e62fc commit d70ab6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/stock/doctype/pick_list/pick_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit d70ab6b

Please sign in to comment.