mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
[Fix] Bom raw materials not in order in the stock entry (#12149)
This commit is contained in:
committed by
Nabin Hait
parent
75789b65c2
commit
d8c6449f3a
@@ -775,6 +775,9 @@ class StockEntry(StockController):
|
||||
se_child.expense_account = item_dict[d].get("expense_account") or expense_account
|
||||
se_child.cost_center = item_dict[d].get("cost_center") or cost_center
|
||||
|
||||
if item_dict[d].get("idx"):
|
||||
se_child.idx = item_dict[d].get("idx")
|
||||
|
||||
if se_child.s_warehouse==None:
|
||||
se_child.s_warehouse = self.from_warehouse
|
||||
if se_child.t_warehouse==None:
|
||||
|
||||
Reference in New Issue
Block a user