mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
Added patch to fetch Item Template Attributes
This commit is contained in:
@@ -6,7 +6,7 @@ frappe.listview_settings['Item'] = {
|
||||
if(doc.end_of_life && doc.end_of_life < frappe.datetime.get_today()) {
|
||||
return [__("Expired"), "grey", "end_of_life,<,Today"]
|
||||
} else if(doc.has_variants) {
|
||||
return [__("Template"), "blue", "has_variant,=,1"]
|
||||
return [__("Template"), "blue", "has_variants,=,Yes"]
|
||||
} else if(doc.variant_of) {
|
||||
return [__("Variant"), "green", "variant_of,=," + doc.variant_of]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user