We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c33e075 commit 9853bd9Copy full SHA for 9853bd9
erpnext/manufacturing/doctype/bom/bom_list.js
@@ -2,13 +2,13 @@ frappe.listview_settings["BOM"] = {
2
add_fields: ["is_active", "is_default", "total_cost", "has_variants"],
3
get_indicator: function (doc) {
4
if (doc.is_active && doc.has_variants) {
5
- return [__("Template"), "orange", "has_variants,=,Yes"];
+ return [__("Template"), "orange", "has_variants,=,1"];
6
} else if (doc.is_default) {
7
- return [__("Default"), "green", "is_default,=,Yes"];
+ return [__("Default"), "green", "is_default,=,1"];
8
} else if (doc.is_active) {
9
- return [__("Active"), "blue", "is_active,=,Yes"];
+ return [__("Active"), "blue", "is_active,=,1"];
10
} else if (!doc.is_active) {
11
- return [__("Not active"), "gray", "is_active,=,No"];
+ return [__("Not active"), "gray", "is_active,=,0"];
12
}
13
},
14
};
0 commit comments