From 604af73897c6663b2eb824d82bca33281262d48b Mon Sep 17 00:00:00 2001 From: Saurabh Date: Fri, 3 Jan 2020 10:35:27 +0530 Subject: [PATCH] fix: route --- erpnext_com/fixtures/domain_page.json | 32 +++++++++++++-------------- erpnext_com/fixtures/web_page.json | 2 +- erpnext_com/hooks.py | 4 ++-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/erpnext_com/fixtures/domain_page.json b/erpnext_com/fixtures/domain_page.json index 0f13dfdcd8..164b9e8423 100644 --- a/erpnext_com/fixtures/domain_page.json +++ b/erpnext_com/fixtures/domain_page.json @@ -54,13 +54,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:19.093676", + "modified": "2020-01-03 10:33:02.398907", "name": "erpnext-for-agriculture", "page_name": "Agriculture", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-agriculture", + "route": "agriculture", "subtitle": "ERPNext Agriculture module helps you manage your land, crop cycles, track soil composition and diseases.", "title": "ERPNext for Agriculture" }, @@ -119,13 +119,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:19.464921", + "modified": "2020-01-03 10:33:10.646259", "name": "erpnext-for-distribution-or-trading", "page_name": "Distribution", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-distribution", + "route": "distribution", "subtitle": "ERPNext is a perfect fit for distribution companies and helps you manage your inventory across multiple currencies and companies.", "title": "ERPNext for Distribution or Trading" }, @@ -184,13 +184,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:18.839740", + "modified": "2020-01-03 10:32:56.098823", "name": "erpnext-for-education-institutes", "page_name": "Education", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-education", + "route": "education", "subtitle": "ERPNext Education module helps you manage your entire educational institution from admissions to assessments.", "title": "ERPNext for Education Institutes" }, @@ -249,13 +249,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:18.495896", + "modified": "2020-01-03 10:32:49.371485", "name": "erpnext-for-healthcare", "page_name": "Healthcare", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-healthcare", + "route": "healthcare", "subtitle": "ERPNext Healthcare modules will help you manage patients, appointments, consultations and lab tests along with billing and all the other ERPNext goodies", "title": "ERPNext for Healthcare" }, @@ -314,13 +314,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:18.109877", + "modified": "2020-01-03 10:32:41.787605", "name": "erpnext-for-manufacturing-companies", "page_name": "Manufacturing", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-manufacturing", + "route": "manufacturing", "subtitle": "ERPNext Manufacturing module helps you manage your manufacturing process right from procurement to shipping finished goods.", "title": "ERPNext for Manufacturing Companies" }, @@ -379,13 +379,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:17.594609", + "modified": "2020-01-03 10:32:32.100954", "name": "erpnext-for-non-profits", "page_name": "Non Profit", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-non-profit", + "route": "non-profit", "subtitle": "ERPNext Non Profit module helps you manage all your members, donors, projects and much more.", "title": "ERPNext for Non Profits" }, @@ -444,13 +444,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:17.356712", + "modified": "2020-01-03 10:32:19.910454", "name": "erpnext-for-retail", "page_name": "Retail", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-retail", + "route": "retail", "subtitle": "ERPNext can help you manage your shop or multiple shops with a web-based POS with integrated inventory and accounting.", "title": "ERPNext for Retail" }, @@ -509,13 +509,13 @@ "doctype": "Domain Page", "domain_image": null, "is_published": 1, - "modified": "2019-12-31 13:42:17.260768", + "modified": "2020-01-03 10:32:13.169027", "name": "erpnext-for-services", "page_name": "Services", "parent": null, "parentfield": null, "parenttype": null, - "route": "erp-for-services", + "route": "services", "subtitle": "ERPNext is ideal for service organizations with integrated projects and people management.", "title": "ERPNext for Services" } diff --git a/erpnext_com/fixtures/web_page.json b/erpnext_com/fixtures/web_page.json index 0a2d8cc11e..87eece7b45 100644 --- a/erpnext_com/fixtures/web_page.json +++ b/erpnext_com/fixtures/web_page.json @@ -201,7 +201,7 @@ "main_section": null, "main_section_html": "{% from \"templates/includes/media.html\" import media %}\n{% from \"erpnext_com/templates/includes/card_grid.html\" import card_grid %}\n\n{% block head_include %}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n{% endblock %}\n\n{% block content %}\n
\n\t
\n\t

\n\t\tOpen Source Alternative to\n\t\t\n\t\tSAP\n\t

\n\t

ERPNext is the world's best 100% open source ERP.\n\t

\n\t\tStart Free Trial\n\t\tContact Us\n\t

\n\t\n\t
\n
\n
\n\t
\n\n\t{{ card_grid(\n\t\t\"Everything Included\",\n\t\tNone,\n\t\t[\n\t\t\t{\n\t\t\t\t\"title\": \"Accounting\",\n\t\t\t\t\"content\": \"Get a real time view of your cash flow. Full fledged accounting module covering every aspect of book keeping.\",\n\t\t\t\t\"url\": \"/open-source-accounting\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"HR & Payroll\",\n\t\t\t\t\"content\": \"Manage full employee life cycle right from onboarding, payroll, attendance, expense claims, assets to separation.\",\n\t\t\t\t\"url\": \"/open-source-hrms\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Manufacturing\",\n\t\t\t\t\"content\": \"Effectively maintain and manage multilevel bill of materials, production planning, job cards & inventory.\",\n\t\t\t\t\"url\": \"/open-source-manufacturing-erp-software\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Sales & Purchase\",\n\t\t\t\t\"content\": \"Increase productivity and lower costs by managing your sales and purchase cycles, from purchase to sales orders\",\n\t\t\t\t\"url\": \"/open-source-sales-purchase\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"CRM\",\n\t\t\t\t\"content\": \"Win and retain more customers by optimising sales process. Track leads, opportunities and send the quotes on the go.\",\n\t\t\t\t\"url\": \"/open-source-crm\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Projects\",\n\t\t\t\t\"content\": \"Deliver both internal and external projects on time, budget and profitability. Track tasks, timesheets and issues by project.\",\n\t\t\t\t\"url\": \"/open-source-projects\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Helpdesk\",\n\t\t\t\t\"content\": \"Deliver a better service experience with an intuitive issue tracker and integrated knowledge base.\",\n\t\t\t\t\"url\": \"/open-source-help-desk-software\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Asset Management\",\n\t\t\t\t\"content\": \"Maintain and Manage details of assets, their movement, value adjustment and depreciation.\",\n\t\t\t\t\"url\": \"/open-source-asset-management-software\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"title\": \"Website\",\n\t\t\t\t\"content\": \"ERPNext comes with a fully featured content management with blogs, web pages and forms.\",\n\t\t\t\t\"url\": \"/open-source-website-builder-software\"\n\t\t\t},\n\t\t]\n\n\t\t)\n\t}}\n\t

\n\t\t\n\t\tRead full Documentation\n\t

\n\t
\n
\n\n{% macro card(title, body, link, badge) %}\n\n\t\n\t
\n\t\t
{{ title }}
\n\t\t
{{ body }}
\n\t
\n\t\n
\n{% endmacro %}\n\n
\n\t
\n\t
\n\t\t{{ card(\n\t\t\t'Get Started on Cloud',\n\t\t\t'Start with a 14 day trial to get instant access to your own ERPNext Instance. Get expert support and world class hosting too.',\n\t\t\t'/pricing',\n\t\t\t'See Pricing'\n\t\t) }}\n\n\t\t{{ card(\n\t\t\t'ERPNext Support',\n\t\t\t'For self hosted users, ERPNext Support provides you the priority support and bug fix guarantee, so you can stop worrying.',\n\t\t\t'/support',\n\t\t\t'Buy Support'\n\t\t) }}\n\n\t\t{{ card(\n\t\t\t'100% Open Source',\n\t\t\t'ERPNext is open source and infinitely extensible. Customize it, build upon it, add your own apps built with Frappe Framework.',\n\t\t\t'https://github.com/frappe/erpnext',\n\t\t\t'GitHub'\n\t\t) }}\n\t
\n\t
\n
\n\n{% include \"erpnext_com/templates/includes/signup_footer.html\" %}\n\n\n{% endblock %}\n\n", "main_section_md": null, - "modified": "2019-12-26 10:36:07.234415", + "modified": "2020-01-02 08:20:18.927692", "name": "open-source-cloud-erp-software-erpnext", "parent": null, "parentfield": null, diff --git a/erpnext_com/hooks.py b/erpnext_com/hooks.py index 253c6ccc3b..c2b174a720 100644 --- a/erpnext_com/hooks.py +++ b/erpnext_com/hooks.py @@ -171,10 +171,10 @@ ) ] ], - "overwrite_in_import": False + "can_overwrite": False }, { "dt": "Domain Page", - "overwrite_in_import": False + "can_overwrite": False } ]