Merge pull request #23557 from KanchanChauhan/issue#23475-2

feat: Supplier Sourced Items in BOM
This commit is contained in:
rohitwaghchaure
2020-10-10 11:17:53 +05:30
committed by GitHub
6 changed files with 277 additions and 616 deletions

View File

@@ -847,6 +847,7 @@ def get_items_from_bom(item_code, bom, exploded_item=1):
where
t2.parent = t1.name and t1.item = %s
and t1.docstatus = 1 and t1.is_active = 1 and t1.name = %s
and t2.sourced_by_supplier = 0
and t2.item_code = t3.name""".format(doctype),
(item_code, bom), as_dict=1)