From a2460e0a58112fc297b606779d80f2b59efded1c Mon Sep 17 00:00:00 2001 From: Saurabh Date: Wed, 15 Mar 2017 13:13:12 +0530 Subject: [PATCH] [fix] move template under doctype --- .../doctype/membership/templates}/membership_list.html | 0 .../erpnext_foundation/web_form/memberships/memberships.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename foundation/{templates/includes => erpnext_foundation/doctype/membership/templates}/membership_list.html (100%) diff --git a/foundation/templates/includes/membership_list.html b/foundation/erpnext_foundation/doctype/membership/templates/membership_list.html similarity index 100% rename from foundation/templates/includes/membership_list.html rename to foundation/erpnext_foundation/doctype/membership/templates/membership_list.html diff --git a/foundation/erpnext_foundation/web_form/memberships/memberships.py b/foundation/erpnext_foundation/web_form/memberships/memberships.py index 91c235c4..92be5ac4 100644 --- a/foundation/erpnext_foundation/web_form/memberships/memberships.py +++ b/foundation/erpnext_foundation/web_form/memberships/memberships.py @@ -8,7 +8,7 @@ def get_context(context): pass def get_list_context(context): - context.row_template = 'foundation/templates/includes/membership_list.html' + context.row_template = 'erpnext_foundation/doctype/membership/templates/membership_list.html' context.get_list = get_site_list def get_site_list(doctype, txt, filters, limit_start, limit_page_length=20, order_by=None):