mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
[patch] [minor] fix sle against cancelled stock entry for production
This commit is contained in:
@@ -162,5 +162,6 @@ def make_stock_entry(production_order_id, purpose):
|
||||
else:
|
||||
stock_entry.doc.from_warehouse = production_order.doc.wip_warehouse
|
||||
stock_entry.doc.to_warehouse = production_order.doc.fg_warehouse
|
||||
|
||||
|
||||
stock_entry.run_method("get_items")
|
||||
return [d.fields for d in stock_entry.doclist]
|
||||
|
||||
Reference in New Issue
Block a user