Merge pull request #32049 from djpalshikar/patch-1

Allow Item Templates in Work Order Items
This commit is contained in:
rohitwaghchaure 2022-09-26 20:27:33 +05:30 committed by GitHub
commit 6a67cc96d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1019,7 +1019,6 @@ def get_bom_items_as_dict(
where
bom_item.docstatus < 2
and bom.name = %(bom)s
and ifnull(item.has_variants, 0) = 0
and item.is_stock_item in (1, {is_stock_item})
{where_conditions}
group by item_code, stock_uom