diff --git a/erpnext/manufacturing/doctype/bom/bom_list.js b/erpnext/manufacturing/doctype/bom/bom_list.js index a26df545f85..1b6cba90dbc 100644 --- a/erpnext/manufacturing/doctype/bom/bom_list.js +++ b/erpnext/manufacturing/doctype/bom/bom_list.js @@ -2,13 +2,13 @@ frappe.listview_settings["BOM"] = { add_fields: ["is_active", "is_default", "total_cost", "has_variants"], get_indicator: function (doc) { if (doc.is_active && doc.has_variants) { - return [__("Template"), "orange", "has_variants,=,Yes"]; + return [__("Template"), "orange", "has_variants,=,1"]; } else if (doc.is_default) { - return [__("Default"), "green", "is_default,=,Yes"]; + return [__("Default"), "green", "is_default,=,1"]; } else if (doc.is_active) { - return [__("Active"), "blue", "is_active,=,Yes"]; + return [__("Active"), "blue", "is_active,=,1"]; } else if (!doc.is_active) { - return [__("Not active"), "gray", "is_active,=,No"]; + return [__("Not active"), "gray", "is_active,=,0"]; } }, };