mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 07:37:04 +00:00
test: fixed test cases
This commit is contained in:
@@ -421,7 +421,9 @@ class SubcontractingInwardOrder(SubcontractingController):
|
||||
}
|
||||
}
|
||||
|
||||
stock_entry.append("items", items_dict[rm_item.get("rm_item_code")])
|
||||
ste_item = items_dict[rm_item.get("rm_item_code")]
|
||||
if ste_item.get("qty"):
|
||||
stock_entry.append("items", ste_item)
|
||||
|
||||
if target_doc:
|
||||
return stock_entry
|
||||
|
||||
Reference in New Issue
Block a user