Skip to content

Commit

Permalink
feat:Create Doctype Smith Grade
Browse files Browse the repository at this point in the history
  • Loading branch information
G-eethu committed Oct 26, 2023
1 parent dc88d8b commit 50557a9
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
Empty file.
8 changes: 8 additions & 0 deletions aumms/aumms/doctype/smith_grade/smith_grade.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2023, efeone and contributors
// For license information, please see license.txt

frappe.ui.form.on('Smith Grade', {
// refresh: function(frm) {

// }
});
46 changes: 46 additions & 0 deletions aumms/aumms/doctype/smith_grade/smith_grade.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:smith_grade",
"creation": "2023-10-26 10:58:54.325396",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"smith_grade"
],
"fields": [
{
"fieldname": "smith_grade",
"fieldtype": "Data",
"label": "Smith Grade",
"unique": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-26 10:59:20.366850",
"modified_by": "Administrator",
"module": "AuMMS",
"name": "Smith Grade",
"naming_rule": "By fieldname",
"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",
"states": []
}
8 changes: 8 additions & 0 deletions aumms/aumms/doctype/smith_grade/smith_grade.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2023, efeone and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document

class SmithGrade(Document):
pass
9 changes: 9 additions & 0 deletions aumms/aumms/doctype/smith_grade/test_smith_grade.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2023, efeone and Contributors
# See license.txt

# import frappe
from frappe.tests.utils import FrappeTestCase


class TestSmithGrade(FrappeTestCase):
pass

0 comments on commit 50557a9

Please sign in to comment.