rename sitemap to route

This commit is contained in:
Rushabh Mehta
2014-02-25 11:08:18 +05:30
parent a1c96de9fc
commit a6628eee56
7 changed files with 27 additions and 15 deletions

View File

@@ -42,8 +42,8 @@ class DocType(DocListController):
self.cant_change()
self.validate_item_type_for_reorder()
if not self.doc.parent_website_sitemap:
self.doc.parent_website_sitemap = frappe.get_website_sitemap("Item Group", self.doc.item_group)
if not self.doc.parent_website_route:
self.doc.parent_website_route = frappe.get_website_route("Item Group", self.doc.item_group)
if self.doc.name:
self.old_page_name = frappe.conn.get_value('Item', self.doc.name, 'page_name')

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-05-03 10:45:46",
"docstatus": 0,
"modified": "2014-02-20 18:27:01",
"modified": "2014-02-20 18:27:02",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -850,10 +850,10 @@
},
{
"doctype": "DocField",
"fieldname": "parent_website_sitemap",
"fieldname": "parent_website_route",
"fieldtype": "Link",
"label": "Parent Website Sitemap",
"options": "Website Sitemap"
"label": "Parent Website Route",
"options": "Website Route"
},
{
"create": 1,