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