mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-20 09:49:58 +00:00
fix: optimize product bundle item search
(cherry picked from commit b3867f1428)
This commit is contained in:
committed by
Mergify
parent
e2ded11e09
commit
52a1b124b2
@@ -9,6 +9,11 @@ frappe.ui.form.on("Product Bundle", {
|
|||||||
query: "erpnext.selling.doctype.product_bundle.product_bundle.get_new_item_code",
|
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", () => {
|
frm.set_query("item_code", "items", () => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user