diff --git a/erpnext/schools/doctype/evaluation_criteria/evaluation_criteria.json b/erpnext/schools/doctype/evaluation_criteria/evaluation_criteria.json index f830abe5b1..68772be96d 100644 --- a/erpnext/schools/doctype/evaluation_criteria/evaluation_criteria.json +++ b/erpnext/schools/doctype/evaluation_criteria/evaluation_criteria.json @@ -39,6 +39,35 @@ "search_index": 0, "set_only_once": 0, "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "evaluation_criteria_group", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Evaluation Criteria Group", + "length": 0, + "no_copy": 0, + "options": "Evaluation Criteria Group", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 } ], "hide_heading": 0, @@ -51,7 +80,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2016-12-14 16:40:36.351183", + "modified": "2017-01-31 17:02:24.388916", "modified_by": "Administrator", "module": "Schools", "name": "Evaluation Criteria", @@ -68,7 +97,6 @@ "export": 1, "if_owner": 0, "import": 0, - "is_custom": 0, "permlevel": 0, "print": 1, "read": 1, @@ -85,5 +113,6 @@ "read_only_onload": 0, "sort_field": "modified", "sort_order": "DESC", + "track_changes": 0, "track_seen": 0 } \ No newline at end of file diff --git a/erpnext/schools/doctype/evaluation_criteria_group/__init__.py b/erpnext/schools/doctype/evaluation_criteria_group/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.js b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.js new file mode 100644 index 0000000000..83bb2491af --- /dev/null +++ b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.js @@ -0,0 +1,8 @@ +// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Evaluation Criteria Group', { + refresh: function(frm) { + + } +}); diff --git a/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.json b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.json new file mode 100644 index 0000000000..78fd409af4 --- /dev/null +++ b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.json @@ -0,0 +1,89 @@ +{ + "allow_copy": 0, + "allow_import": 1, + "allow_rename": 1, + "autoname": "field:evaluation_criteria_group_name", + "beta": 0, + "creation": "2017-01-27 15:17:38.855910", + "custom": 0, + "docstatus": 0, + "doctype": "DocType", + "document_type": "", + "editable_grid": 1, + "engine": "InnoDB", + "fields": [ + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "evaluation_criteria_group_name", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "label": "Evaluation Criteria Group Name", + "length": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + } + ], + "hide_heading": 0, + "hide_toolbar": 0, + "idx": 0, + "image_view": 0, + "in_create": 0, + "in_dialog": 0, + "is_submittable": 0, + "issingle": 0, + "istable": 0, + "max_attachments": 0, + "modified": "2017-01-31 17:02:48.857648", + "modified_by": "Administrator", + "module": "Schools", + "name": "Evaluation Criteria Group", + "name_case": "", + "owner": "Administrator", + "permissions": [ + { + "amend": 0, + "apply_user_permissions": 0, + "cancel": 0, + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "if_owner": 0, + "import": 0, + "permlevel": 0, + "print": 1, + "read": 1, + "report": 1, + "role": "Academics User", + "set_user_permissions": 0, + "share": 1, + "submit": 0, + "write": 1 + } + ], + "quick_entry": 1, + "read_only": 0, + "read_only_onload": 0, + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 0, + "track_seen": 0 +} \ No newline at end of file diff --git a/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.py b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.py new file mode 100644 index 0000000000..d06f545280 --- /dev/null +++ b/erpnext/schools/doctype/evaluation_criteria_group/evaluation_criteria_group.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +from __future__ import unicode_literals +import frappe +from frappe.model.document import Document + +class EvaluationCriteriaGroup(Document): + pass diff --git a/erpnext/schools/doctype/evaluation_criteria_group/test_evaluation_criteria_group.py b/erpnext/schools/doctype/evaluation_criteria_group/test_evaluation_criteria_group.py new file mode 100644 index 0000000000..ae3dda44a0 --- /dev/null +++ b/erpnext/schools/doctype/evaluation_criteria_group/test_evaluation_criteria_group.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors +# See license.txt +from __future__ import unicode_literals + +import frappe +import unittest + +# test_records = frappe.get_test_records('Evaluation Criteria Group') + +class TestEvaluationCriteriaGroup(unittest.TestCase): + pass