test: fixed test cases

This commit is contained in:
Rohit Waghchaure
2026-05-20 17:17:43 +05:30
parent 38eeb6994c
commit a3a7733440
4 changed files with 29 additions and 11 deletions

View File

@@ -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