From db5ed972e55825206137b9c7018905fe7cfbbd91 Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Wed, 8 May 2024 10:17:49 +0530 Subject: [PATCH] fix: not allow template item in product bundle item --- .../doctype/product_bundle_item/product_bundle_item.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/selling/doctype/product_bundle_item/product_bundle_item.json b/erpnext/selling/doctype/product_bundle_item/product_bundle_item.json index 77c23f5084f..3727b4e18cc 100644 --- a/erpnext/selling/doctype/product_bundle_item/product_bundle_item.json +++ b/erpnext/selling/doctype/product_bundle_item/product_bundle_item.json @@ -18,6 +18,7 @@ "in_global_search": 1, "in_list_view": 1, "label": "Item", + "link_filters": "[[\"Item\",\"has_variants\",\"=\",0]]", "oldfieldname": "item_code", "oldfieldtype": "Link", "options": "Item", @@ -68,7 +69,7 @@ "idx": 1, "istable": 1, "links": [], - "modified": "2024-03-27 13:10:19.782002", + "modified": "2024-05-08 10:08:01.818998", "modified_by": "Administrator", "module": "Selling", "name": "Product Bundle Item", @@ -78,4 +79,4 @@ "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +}