fix: test cases

(cherry picked from commit a7394329ca)
This commit is contained in:
Mihir Kandoi
2025-04-11 19:30:35 +05:30
committed by Mergify
parent b3e852adfc
commit dedb19e3e9

View File

@@ -1776,7 +1776,7 @@ def get_sub_assembly_items(
frappe._dict(
{
"actual_qty": bin_details[d.item_code][0].get("actual_qty", 0)
if bin_details
if bin_details[d.item_code]
else 0,
"parent_item_code": parent_item_code,
"description": d.description,