fix(minor): Custom Web Forms wont have templates
This commit is contained in:
parent
504980a808
commit
7d0faa940e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue