Merge branch 'main' of https://github.com/frappe/community into main
This commit is contained in:
0
community/lms/doctype/code_revision/__init__.py
Normal file
0
community/lms/doctype/code_revision/__init__.py
Normal file
8
community/lms/doctype/code_revision/code_revision.js
Normal file
8
community/lms/doctype/code_revision/code_revision.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2021, FOSS United and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Code Revision', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
58
community/lms/doctype/code_revision/code_revision.json
Normal file
58
community/lms/doctype/code_revision/code_revision.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"actions": [],
|
||||
"creation": "2021-04-07 00:26:28.806520",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"section",
|
||||
"code",
|
||||
"author"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "section",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Section",
|
||||
"options": "LMS Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "code",
|
||||
"fieldtype": "Code",
|
||||
"label": "Code"
|
||||
},
|
||||
{
|
||||
"fieldname": "author",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Author",
|
||||
"options": "User"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2021-04-14 11:26:19.628317",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Code Revision",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"title_field": "section",
|
||||
"track_changes": 1
|
||||
}
|
||||
10
community/lms/doctype/code_revision/code_revision.py
Normal file
10
community/lms/doctype/code_revision/code_revision.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2021, FOSS United and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CodeRevision(Document):
|
||||
pass
|
||||
10
community/lms/doctype/code_revision/test_code_revision.py
Normal file
10
community/lms/doctype/code_revision/test_code_revision.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2021, FOSS United and Contributors
|
||||
# See license.txt
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCodeRevision(unittest.TestCase):
|
||||
pass
|
||||
Reference in New Issue
Block a user