Skip to content

Commit

Permalink
Merge pull request #159 from efeone/smith
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadmp authored Oct 27, 2023
2 parents 6176df8 + ffaeb29 commit 95945ca
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 1 deletion.
16 changes: 15 additions & 1 deletion aumms/aumms/doctype/smith/smith.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
"supplier",
"supplier_name",
"employee_name",
"smith_grade",
"column_break_mhz6m",
"warehouse",
"department",
"head_of_smith",
"category",
"section_break_9mmii",
"hourly_rate"
],
Expand Down Expand Up @@ -87,11 +89,23 @@
"fieldname": "hourly_rate",
"fieldtype": "Data",
"label": "Hourly Rate"
},
{
"fieldname": "category",
"fieldtype": "Link",
"label": "Category",
"options": "Smith Category"
},
{
"fieldname": "smith_grade",
"fieldtype": "Link",
"label": "Smith Grade",
"options": "Smith Grade"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-24 09:54:51.116100",
"modified": "2023-10-26 12:11:32.737297",
"modified_by": "Administrator",
"module": "AuMMS",
"name": "Smith",
Expand Down
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 95945ca

Please sign in to comment.