From 6b12b07b3322d40c042d0bad1633e98ff1ca399b Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 3 Mar 2014 16:05:00 +0530 Subject: [PATCH] Fixes to Module Views --- erpnext/config/projects.py | 10 +++++----- erpnext/config/setup.py | 4 +++- erpnext/config/support.py | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/erpnext/config/projects.py b/erpnext/config/projects.py index 0785a4b0a61..8cc30a5f1f5 100644 --- a/erpnext/config/projects.py +++ b/erpnext/config/projects.py @@ -7,22 +7,22 @@ data = [ "items": [ { "type": "doctype", - "name": "Task",, + "name": "Task", "description": _("Project activity / task."), }, { "type": "doctype", - "name": "Project",, + "name": "Project", "description": _("Project master."), }, { "type": "doctype", - "name": "Time Log",, + "name": "Time Log", "description": _("Time Log for tasks."), }, { "type": "doctype", - "name": "Time Log Batch",, + "name": "Time Log Batch", "description": _("Batch Time Logs for billing."), }, { @@ -39,7 +39,7 @@ data = [ { "type": "report", "route": "Gantt/Task", - "doctype": "Task" + "doctype": "Task", "name": "Gantt Chart", "description": _("Gantt chart of all tasks.") }, diff --git a/erpnext/config/setup.py b/erpnext/config/setup.py index 8c2b377d202..abec706342f 100644 --- a/erpnext/config/setup.py +++ b/erpnext/config/setup.py @@ -35,7 +35,8 @@ data = [ }, { "type": "doctype", - "name": "Support Email Settings", + "name": "Email Settings", + "label": _("Support Email Settings"), "description": _("Setup incoming server for support email id. (e.g. support@example.com)") }, { @@ -97,6 +98,7 @@ def get_data(): ("selling", _("Selling"), "icon-tag"), ("buying", _("Buying"), "icon-shopping-cart"), ("hr", _("Human Resources"), "icon-group"), + ("support", _("Support"), "icon-phone"), ("website", _("Website"), "icon-globe")): try: diff --git a/erpnext/config/support.py b/erpnext/config/support.py index 09143201f84..0b6e8439ed4 100644 --- a/erpnext/config/support.py +++ b/erpnext/config/support.py @@ -48,7 +48,8 @@ data = [ "items": [ { "type": "doctype", - "name": "Support Email Settings", + "name": "Email Settings", + "label": _("Support Email Settings"), "description": _("Setup incoming server for support email id. (e.g. support@example.com)") }, ]