From d77fe385138f90408ecfbec316c15ddc0dd6b018 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 20 Mar 2019 14:11:05 +0530 Subject: [PATCH] fix: Remove no_sitemap property --- erpnext/healthcare/web_form/personal_details/personal_details.py | 1 - erpnext/templates/pages/cart.py | 1 - erpnext/templates/pages/home.py | 1 - erpnext/templates/pages/integrations/gocardless_checkout.py | 1 - erpnext/templates/pages/integrations/gocardless_confirmation.py | 1 - erpnext/templates/pages/product_search.py | 1 - 6 files changed, 6 deletions(-) diff --git a/erpnext/healthcare/web_form/personal_details/personal_details.py b/erpnext/healthcare/web_form/personal_details/personal_details.py index aa68c423ff..fe46d7b22d 100644 --- a/erpnext/healthcare/web_form/personal_details/personal_details.py +++ b/erpnext/healthcare/web_form/personal_details/personal_details.py @@ -4,7 +4,6 @@ import frappe from frappe import _ no_cache = 1 -no_sitemap = 1 def get_context(context): if frappe.session.user=='Guest': diff --git a/erpnext/templates/pages/cart.py b/erpnext/templates/pages/cart.py index c57d826130..30b0357578 100644 --- a/erpnext/templates/pages/cart.py +++ b/erpnext/templates/pages/cart.py @@ -3,7 +3,6 @@ from __future__ import unicode_literals no_cache = 1 -no_sitemap = 1 import frappe from erpnext.shopping_cart.cart import get_cart_quotation diff --git a/erpnext/templates/pages/home.py b/erpnext/templates/pages/home.py index 4b688b13df..1c14450b47 100644 --- a/erpnext/templates/pages/home.py +++ b/erpnext/templates/pages/home.py @@ -5,7 +5,6 @@ from __future__ import unicode_literals import frappe no_cache = 1 -no_sitemap = 1 def get_context(context): homepage = frappe.get_doc('Homepage') diff --git a/erpnext/templates/pages/integrations/gocardless_checkout.py b/erpnext/templates/pages/integrations/gocardless_checkout.py index 8d77245ce5..e604b944f9 100644 --- a/erpnext/templates/pages/integrations/gocardless_checkout.py +++ b/erpnext/templates/pages/integrations/gocardless_checkout.py @@ -9,7 +9,6 @@ from erpnext.erpnext_integrations.doctype.gocardless_settings.gocardless_setting from frappe.utils import get_url no_cache = 1 -no_sitemap = 1 expected_keys = ('amount', 'title', 'description', 'reference_doctype', 'reference_docname', 'payer_name', 'payer_email', 'order_id', 'currency') diff --git a/erpnext/templates/pages/integrations/gocardless_confirmation.py b/erpnext/templates/pages/integrations/gocardless_confirmation.py index 697ed3c80f..cfaa1a15cf 100644 --- a/erpnext/templates/pages/integrations/gocardless_confirmation.py +++ b/erpnext/templates/pages/integrations/gocardless_confirmation.py @@ -6,7 +6,6 @@ from frappe import _ from erpnext.erpnext_integrations.doctype.gocardless_settings.gocardless_settings import gocardless_initialization, get_gateway_controller no_cache = 1 -no_sitemap = 1 expected_keys = ('redirect_flow_id', 'reference_doctype', 'reference_docname') diff --git a/erpnext/templates/pages/product_search.py b/erpnext/templates/pages/product_search.py index c34001bacf..d0d72f073a 100644 --- a/erpnext/templates/pages/product_search.py +++ b/erpnext/templates/pages/product_search.py @@ -8,7 +8,6 @@ from erpnext.setup.doctype.item_group.item_group import get_item_for_list_in_htm from erpnext.shopping_cart.product_info import set_product_info_for_website no_cache = 1 -no_sitemap = 1 def get_context(context): context.show_search = True