mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-13 06:31:48 +00:00
Merge pull request #57866 from krishna-254/fix/product-bundle-item-search
fix: optimize product bundle item search
This commit is contained in:
@@ -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",
|
||||
};
|
||||
});
|
||||
|
||||
// A submitted bundle is immutable. To change it, create a new version
|
||||
// (a fresh draft copied from this one) and submit that instead.
|
||||
|
||||
Reference in New Issue
Block a user