mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix: change is_return value in filter from Yes to 1
(cherry picked from commit af212f520d)
This commit is contained in:
committed by
Mergify
parent
ebb62966d3
commit
52e26b6da8
@@ -13,7 +13,7 @@ frappe.listview_settings["Delivery Note"] = {
|
||||
],
|
||||
get_indicator: function (doc) {
|
||||
if (cint(doc.is_return) == 1 && doc.status == "Return") {
|
||||
return [__("Return"), "gray", "is_return,=,Yes"];
|
||||
return [__("Return"), "gray", "is_return,=,1"];
|
||||
} else if (doc.status === "Closed") {
|
||||
return [__("Closed"), "green", "status,=,Closed"];
|
||||
} else if (doc.status === "Return Issued") {
|
||||
|
||||
@@ -12,7 +12,7 @@ frappe.listview_settings["Purchase Receipt"] = {
|
||||
],
|
||||
get_indicator: function (doc) {
|
||||
if (cint(doc.is_return) == 1 && doc.status == "Return") {
|
||||
return [__("Return"), "gray", "is_return,=,Yes"];
|
||||
return [__("Return"), "gray", "is_return,=,1"];
|
||||
} else if (doc.status === "Closed") {
|
||||
return [__("Closed"), "green", "status,=,Closed"];
|
||||
} else if (flt(doc.per_returned, 2) === 100) {
|
||||
|
||||
Reference in New Issue
Block a user