mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 20:05:09 +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) {
|
||||
frm.phantom_bom_filters.filters.is_fixed_asset = 0;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user