diff --git a/taxes_az/taxes_az/doctype/classification_code/__init__.py b/taxes_az/taxes_az/doctype/classification_code/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/taxes_az/taxes_az/doctype/classification_code/classification_code.js b/taxes_az/taxes_az/doctype/classification_code/classification_code.js new file mode 100644 index 0000000..dc542a7 --- /dev/null +++ b/taxes_az/taxes_az/doctype/classification_code/classification_code.js @@ -0,0 +1,8 @@ +// Copyright (c) 2026, Jey Soft and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("Classification code", { +// refresh(frm) { + +// }, +// }); diff --git a/taxes_az/taxes_az/doctype/classification_code/classification_code.json b/taxes_az/taxes_az/doctype/classification_code/classification_code.json new file mode 100644 index 0000000..49d0f1a --- /dev/null +++ b/taxes_az/taxes_az/doctype/classification_code/classification_code.json @@ -0,0 +1,50 @@ +{ + "actions": [], + "allow_import": 1, + "allow_rename": 1, + "autoname": "prompt", + "creation": "2026-01-14 18:24:22.480170", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "classification_name" + ], + "fields": [ + { + "fieldname": "classification_name", + "fieldtype": "Text", + "label": "Classification Name" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "links": [], + "modified": "2026-01-14 18:25:43.132614", + "modified_by": "Administrator", + "module": "Taxes Az", + "name": "Classification code", + "naming_rule": "Set by user", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "search_fields": "classification_name", + "show_title_field_in_link": 1, + "sort_field": "creation", + "sort_order": "DESC", + "states": [], + "title_field": "classification_name" +} diff --git a/taxes_az/taxes_az/doctype/classification_code/classification_code.py b/taxes_az/taxes_az/doctype/classification_code/classification_code.py new file mode 100644 index 0000000..e27c789 --- /dev/null +++ b/taxes_az/taxes_az/doctype/classification_code/classification_code.py @@ -0,0 +1,9 @@ +# Copyright (c) 2026, Jey Soft and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class Classificationcode(Document): + pass diff --git a/taxes_az/taxes_az/doctype/classification_code/test_classification_code.py b/taxes_az/taxes_az/doctype/classification_code/test_classification_code.py new file mode 100644 index 0000000..292668d --- /dev/null +++ b/taxes_az/taxes_az/doctype/classification_code/test_classification_code.py @@ -0,0 +1,22 @@ +# Copyright (c) 2026, Jey Soft and Contributors +# See license.txt + +# import frappe +from frappe.tests import IntegrationTestCase + + +# On IntegrationTestCase, the doctype test records and all +# link-field test record dependencies are recursively loaded +# Use these module variables to add/remove to/from that list +EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] +IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"] + + + +class IntegrationTestClassificationcode(IntegrationTestCase): + """ + Integration tests for Classificationcode. + Use this class for testing interactions between multiple components. + """ + + pass