fix: not allow template item in product bundle item - v15/v14
This commit is contained in:
committed by
GitHub
parent
913cea0018
commit
9864377b47
@@ -9,5 +9,13 @@ 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 {
|
||||
"filters": {
|
||||
"has_variants": 0
|
||||
},
|
||||
};
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user