mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fix: filter not changing when field is changed
This commit is contained in:
@@ -250,6 +250,7 @@ frappe.ui.form.on("BOM", {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
frm.phantom_bom_filters.filters.is_stock_item = !frm.doc.is_phantom_bom;
|
||||||
if (frm.doc.is_phantom_bom) {
|
if (frm.doc.is_phantom_bom) {
|
||||||
frm.phantom_bom_filters.filters.is_fixed_asset = 0;
|
frm.phantom_bom_filters.filters.is_fixed_asset = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user