From 8fb329467458eb7317c7e5c31721ad351158e26b Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Wed, 8 May 2024 10:40:24 +0530 Subject: [PATCH] fix: not allow template item in product bundle item --- erpnext/selling/doctype/product_bundle/product_bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/product_bundle/product_bundle.js b/erpnext/selling/doctype/product_bundle/product_bundle.js index aed54dd4358..67b9ae5ba31 100644 --- a/erpnext/selling/doctype/product_bundle/product_bundle.js +++ b/erpnext/selling/doctype/product_bundle/product_bundle.js @@ -13,7 +13,7 @@ frappe.ui.form.on("Product Bundle", { frm.set_query("item_code", "items", () => { return { filters: { - has_variants: 0 + has_variants: 0, }, }; });