mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #32364 from frappe/mergify/bp/version-14-hotfix/pr-32049
Allow Item Templates in Work Order Items (backport #32049)
This commit is contained in:
@@ -1019,7 +1019,6 @@ def get_bom_items_as_dict(
|
|||||||
where
|
where
|
||||||
bom_item.docstatus < 2
|
bom_item.docstatus < 2
|
||||||
and bom.name = %(bom)s
|
and bom.name = %(bom)s
|
||||||
and ifnull(item.has_variants, 0) = 0
|
|
||||||
and item.is_stock_item in (1, {is_stock_item})
|
and item.is_stock_item in (1, {is_stock_item})
|
||||||
{where_conditions}
|
{where_conditions}
|
||||||
group by item_code, stock_uom
|
group by item_code, stock_uom
|
||||||
|
|||||||
Reference in New Issue
Block a user