From 986927ca98e9689cca5bb37477d0720519cd6a0d Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Wed, 28 Dec 2016 16:15:35 +0530 Subject: [PATCH] Added Guardian to school module --- erpnext/config/schools.py | 5 ++++- erpnext/schools/doctype/guardian/guardian.json | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/erpnext/config/schools.py b/erpnext/config/schools.py index 1d33d4d096..366810d9f5 100644 --- a/erpnext/config/schools.py +++ b/erpnext/config/schools.py @@ -6,11 +6,14 @@ def get_data(): { "label": _("Student"), "items": [ - { "type": "doctype", "name": "Student" }, + { + "type": "doctype", + "name": "Guardian" + }, { "type": "doctype", "name": "Student Log" diff --git a/erpnext/schools/doctype/guardian/guardian.json b/erpnext/schools/doctype/guardian/guardian.json index 67ba9d0d43..8368f4a097 100644 --- a/erpnext/schools/doctype/guardian/guardian.json +++ b/erpnext/schools/doctype/guardian/guardian.json @@ -51,7 +51,7 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_list_view": 0, + "in_list_view": 1, "in_standard_filter": 0, "label": "Email Address", "length": 0, @@ -79,7 +79,7 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_list_view": 0, + "in_list_view": 1, "in_standard_filter": 0, "label": "Mobile Number", "length": 0, @@ -414,7 +414,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-12-20 11:53:22.325958", + "modified": "2016-12-28 16:14:58.836437", "modified_by": "Administrator", "module": "Schools", "name": "Guardian",