[fix] link fixes for tree structures #5651

This commit is contained in:
Saurabh 2016-07-05 18:02:38 +05:30
parent a86c5b196f
commit 52ec0ed134
6 changed files with 25 additions and 36 deletions

View File

@ -55,13 +55,12 @@ def get_data():
"description": _("Accounting journal entries.")
},
{
"type": "page",
"name": "Tree",
"type": "doctype",
"name": "Account",
"icon": "icon-sitemap",
"label": _("Chart of Accounts"),
"route": "Tree/Account",
"description": _("Tree of financial accounts."),
"doctype": "Account",
},
{
"type": "report",
@ -197,13 +196,12 @@ def get_data():
"label": _("Budget and Cost Center"),
"items": [
{
"type": "page",
"name": "Tree",
"type": "doctype",
"name": "Cost Center",
"icon": "icon-sitemap",
"label": _("Chart of Cost Centers"),
"route": "Tree/Cost Center",
"description": _("Tree of financial Cost Centers."),
"doctype": "Cost Center",
},
{
"type": "doctype",

View File

@ -96,13 +96,12 @@ def get_data():
"description": _("Price List master.")
},
{
"type": "page",
"name": "Tree",
"type": "doctype",
"name": "Item Group",
"icon": "icon-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
"doctype": "Item Group",
},
{
"type": "doctype",

View File

@ -85,31 +85,28 @@ def get_data():
"description": _("Sales campaigns."),
},
{
"type": "page",
"type": "doctype",
"label": _("Customer Group"),
"name": "Tree",
"name": "Customer Group",
"icon": "icon-sitemap",
"link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."),
"doctype": "Customer Group",
},
{
"type": "page",
"type": "doctype",
"label": _("Territory"),
"name": "Tree",
"name": "Territory",
"icon": "icon-sitemap",
"link": "Tree/Territory",
"description": _("Manage Territory Tree."),
"doctype": "Territory",
},
{
"type": "page",
"type": "doctype",
"label": _("Sales Person"),
"name": "Tree",
"name": "Sales Person",
"icon": "icon-sitemap",
"link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."),
"doctype": "Sales Person",
},
]
},

View File

@ -39,12 +39,12 @@ def get_data():
"label": _("Bill of Materials")
},
{
"type": "page",
"name": "bom-browser",
"type": "doctype",
"name": "BOM",
"icon": "icon-sitemap",
"label": _("BOM Browser"),
"description": _("Tree of Bill of Materials"),
"doctype": "BOM"
"link": "Tree/BOM",
},
{
"type": "doctype",

View File

@ -28,13 +28,12 @@ def get_data():
"description": _("Customer database."),
},
{
"type": "page",
"type": "doctype",
"label": _("Customer Group"),
"name": "Tree",
"name": "Customer Group",
"icon": "icon-sitemap",
"link": "Tree/Customer Group",
"description": _("Manage Customer Group Tree."),
"doctype": "Customer Group",
},
{
"type": "doctype",
@ -68,13 +67,12 @@ def get_data():
"description": _("Price List master.")
},
{
"type": "page",
"name": "Tree",
"type": "doctype",
"name": "Item Group",
"icon": "icon-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
"doctype": "Item Group",
},
{
"type": "doctype",
@ -99,13 +97,12 @@ def get_data():
"label": _("Sales Partners and Territory"),
"items": [
{
"type": "page",
"type": "doctype",
"label": _("Territory"),
"name": "Tree",
"name": "Territory",
"icon": "icon-sitemap",
"link": "Tree/Territory",
"description": _("Manage Territory Tree."),
"doctype": "Territory",
},
{
"type": "doctype",
@ -113,13 +110,12 @@ def get_data():
"description": _("Manage Sales Partners."),
},
{
"type": "page",
"type": "doctype",
"label": _("Sales Person"),
"name": "Tree",
"name": "Sales Person",
"icon": "icon-sitemap",
"link": "Tree/Sales Person",
"description": _("Manage Sales Person Tree."),
"doctype": "Sales Person",
},
{
"type": "report",

View File

@ -77,13 +77,12 @@ def get_data():
"description": _("Price List master.")
},
{
"type": "page",
"name": "Tree",
"type": "doctype",
"name": "Item Group",
"icon": "icon-sitemap",
"label": _("Item Group"),
"link": "Tree/Item Group",
"description": _("Tree of Item Groups."),
"doctype": "Item Group",
},
{
"type": "doctype",