[docs] added pages for website, [cleanup] removed Unsubscribe, Product Settings, Products Settings, Product Group, Cross List Item Group, Blog Subscriber

This commit is contained in:
Rushabh Mehta
2013-06-11 10:25:38 +05:30
parent 5b059f92ff
commit 8c5a038d3b
87 changed files with 0 additions and 731 deletions

View File

@@ -38,14 +38,7 @@ class DocType(DocTypeNestedSet):
from webnotes.webutils import update_page_name
# webpage updates
page_name = self.doc.name
if webnotes.conn.get_value("Product Settings", None,
"default_product_category")==self.doc.name:
page_name = "products"
from webnotes.webutils import clear_cache
clear_cache()
update_page_name(self.doc, page_name)
invalidate_cache_for(self.doc.name)
elif self.doc.page_name: