diff --git a/py/core/doctype/report/listview.js b/py/core/doctype/report/report_list.js similarity index 100% rename from py/core/doctype/report/listview.js rename to py/core/doctype/report/report_list.js diff --git a/py/core/doctype/search_criteria/listview.js b/py/core/doctype/search_criteria/search_criteria_list.js similarity index 100% rename from py/core/doctype/search_criteria/listview.js rename to py/core/doctype/search_criteria/search_criteria_list.js diff --git a/py/webnotes/model/doctype.py b/py/webnotes/model/doctype.py index bb265f69d6..428b90520b 100644 --- a/py/webnotes/model/doctype.py +++ b/py/webnotes/model/doctype.py @@ -275,7 +275,7 @@ class _DocType: _add_code(scrub(doc.name) + '.js', '__js') _add_code(scrub(doc.name) + '.css', '__css') - _add_code('listview.js', '__listjs') + _add_code('%s_list.js' % scrub(doc.name), '__listjs') _add_code('help.md', 'description') # embed all require files