fix: optimize product bundle item search

(cherry picked from commit b3867f1428)
This commit is contained in:
Krishna Shirsath
2026-08-07 13:44:57 +05:30
committed by Mergify
parent e2ded11e09
commit 52a1b124b2

View File

@@ -9,6 +9,11 @@ frappe.ui.form.on("Product Bundle", {
query: "erpnext.selling.doctype.product_bundle.product_bundle.get_new_item_code",
};
});
frm.set_query("item_code", "items", () => {
return {
query: "erpnext.controllers.queries.item_query",
};
});
frm.set_query("item_code", "items", () => {
return {