fix: Material request list_view status fixes

This commit is contained in:
deepeshgarg007 2019-04-22 16:54:52 +05:30
parent 6f57b05fed
commit 425699d9f2

View File

@ -1,5 +1,5 @@
frappe.listview_settings['Material Request'] = {
add_fields: ["material_request_type", "status", "per_ordered"],
add_fields: ["material_request_type", "status", "per_ordered", "per_received"],
get_indicator: function(doc) {
if(doc.status=="Stopped") {
return [__("Stopped"), "red", "status,=,Stopped"];