Skip to content

Commit

Permalink
fix: Stock Entry uses incorrect company when generated from Pick List (
Browse files Browse the repository at this point in the history
  • Loading branch information
hqnicolas authored Dec 13, 2024
1 parent a460bf9 commit 00898be
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 @@ -982,6 +982,7 @@ def create_stock_entry(pick_list):
stock_entry = frappe.new_doc("Stock Entry")
stock_entry.pick_list = pick_list.get("name")
stock_entry.purpose = pick_list.get("purpose")
stock_entry.company = pick_list.get("company")
stock_entry.set_stock_entry_type()

if pick_list.get("work_order"):
Expand Down

0 comments on commit 00898be

Please sign in to comment.