Merge pull request #35567 from s-aga-r/FIX-SBB-STATUS
fix(ux): serial and batch bundle status
This commit is contained in:
commit
930a107af8
@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.listview_settings["Serial and Batch Bundle"] = {
|
||||
add_fields: ["is_cancelled"],
|
||||
get_indicator: function (doc) {
|
||||
if (doc.is_cancelled) {
|
||||
return [__("Cancelled"), "red", "is_cancelled,=,1"];
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user