From 7d0faa940ebcb5cbe58debbaec473aed5cfda7a4 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 14 May 2020 09:57:48 +0530 Subject: [PATCH] fix(minor): Custom Web Forms wont have templates --- frappe/www/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/www/list.py b/frappe/www/list.py index c48cb40d4f..313505b729 100644 --- a/frappe/www/list.py +++ b/frappe/www/list.py @@ -168,7 +168,7 @@ def get_list_context(context, doctype, web_form_name=None): list_context = update_context_from_module(web_form.get_web_form_module(), list_context) # get path from '/templates/' folder of the doctype - if not list_context.row_template: + if not meta.custom and not list_context.row_template: list_context.row_template = meta.get_row_template() return list_context