From 9e103af8b55130b2eeeccff2f1763f5ae0d5d7b0 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Mon, 3 May 2021 06:52:22 +0530 Subject: [PATCH] refactor: added auto name to chapter and lesson doctypes --- community/lms/doctype/chapter/chapter.json | 3 ++- community/lms/doctype/lesson/lesson.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/community/lms/doctype/chapter/chapter.json b/community/lms/doctype/chapter/chapter.json index 3504d67c..f153ab38 100644 --- a/community/lms/doctype/chapter/chapter.json +++ b/community/lms/doctype/chapter/chapter.json @@ -1,5 +1,6 @@ { "actions": [], + "autoname": "format:{####} {title}", "creation": "2021-05-03 05:49:08.383057", "doctype": "DocType", "editable_grid": 1, @@ -44,7 +45,7 @@ "link_fieldname": "chapter" } ], - "modified": "2021-05-03 06:48:06.030438", + "modified": "2021-05-03 06:52:10.894328", "modified_by": "Administrator", "module": "LMS", "name": "Chapter", diff --git a/community/lms/doctype/lesson/lesson.json b/community/lms/doctype/lesson/lesson.json index 9cb4353f..79203a93 100644 --- a/community/lms/doctype/lesson/lesson.json +++ b/community/lms/doctype/lesson/lesson.json @@ -1,5 +1,6 @@ { "actions": [], + "autoname": "format:{####} {title}", "creation": "2021-05-03 06:21:12.995987", "doctype": "DocType", "editable_grid": 1, @@ -34,7 +35,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-05-03 06:22:07.329131", + "modified": "2021-05-03 06:51:43.588969", "modified_by": "Administrator", "module": "LMS", "name": "Lesson",