From a8703d4036884379c5b32f11164c606d73ed0204 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Wed, 24 Oct 2018 12:00:32 +0530 Subject: [PATCH] LMS: Changes to Course Activity Doctype, Course Activity Tracking Works Co-authored-by: Sahil --- .../course_activity/course_activity.json | 10 +-- .../doctype/quiz_activity/quiz_activity.json | 68 ++++++++++++++++++- .../doctype/quiz_result/quiz_result.json | 10 +-- 3 files changed, 75 insertions(+), 13 deletions(-) diff --git a/erpnext/education/doctype/course_activity/course_activity.json b/erpnext/education/doctype/course_activity/course_activity.json index 76c82b50ce..e071d6143d 100644 --- a/erpnext/education/doctype/course_activity/course_activity.json +++ b/erpnext/education/doctype/course_activity/course_activity.json @@ -144,7 +144,7 @@ "report_hide": 0, "reqd": 0, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 }, @@ -224,7 +224,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-10-23 11:53:35.054871", + "modified": "2018-10-24 11:48:22.659476", "modified_by": "Administrator", "module": "Education", "name": "Course Activity", @@ -254,10 +254,10 @@ "amend": 0, "cancel": 0, "create": 1, - "delete": 1, + "delete": 0, "email": 1, "export": 1, - "if_owner": 0, + "if_owner": 1, "import": 0, "permlevel": 0, "print": 1, @@ -267,7 +267,7 @@ "set_user_permissions": 0, "share": 1, "submit": 0, - "write": 1 + "write": 0 } ], "quick_entry": 1, diff --git a/erpnext/education/doctype/quiz_activity/quiz_activity.json b/erpnext/education/doctype/quiz_activity/quiz_activity.json index b618cf59e9..cf2fde3457 100644 --- a/erpnext/education/doctype/quiz_activity/quiz_activity.json +++ b/erpnext/education/doctype/quiz_activity/quiz_activity.json @@ -142,7 +142,7 @@ "report_hide": 0, "reqd": 0, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 }, @@ -206,6 +206,37 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "set_only_once": 1, + "translatable": 0, + "unique": 0 + }, + { + "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "column_break_7", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "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": 0, + "search_index": 0, "set_only_once": 0, "translatable": 0, "unique": 0 @@ -239,6 +270,37 @@ "report_hide": 0, "reqd": 0, "search_index": 0, + "set_only_once": 1, + "translatable": 0, + "unique": 0 + }, + { + "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "fieldname": "section_break_9", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "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": 0, + "search_index": 0, "set_only_once": 0, "translatable": 0, "unique": 0 @@ -272,7 +334,7 @@ "report_hide": 0, "reqd": 0, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 }, @@ -351,7 +413,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-10-23 11:06:31.779929", + "modified": "2018-10-24 11:55:47.168571", "modified_by": "Administrator", "module": "Education", "name": "Quiz Activity", diff --git a/erpnext/education/doctype/quiz_result/quiz_result.json b/erpnext/education/doctype/quiz_result/quiz_result.json index c4a2385774..db00c9896b 100644 --- a/erpnext/education/doctype/quiz_result/quiz_result.json +++ b/erpnext/education/doctype/quiz_result/quiz_result.json @@ -42,7 +42,7 @@ "report_hide": 0, "reqd": 1, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 }, @@ -75,7 +75,7 @@ "report_hide": 0, "reqd": 1, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 }, @@ -108,7 +108,7 @@ "report_hide": 0, "reqd": 1, "search_index": 0, - "set_only_once": 0, + "set_only_once": 1, "translatable": 0, "unique": 0 } @@ -123,8 +123,8 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2018-10-22 15:43:00.224162", - "modified_by": "jess@education.com", + "modified": "2018-10-24 11:57:01.876188", + "modified_by": "Administrator", "module": "Education", "name": "Quiz Result", "name_case": "",