diff --git a/erpnext/master_branch_module/__init__.py b/erpnext/master_branch_module/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/master_branch_module/doctype/__init__.py b/erpnext/master_branch_module/doctype/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/__init__.py b/erpnext/master_branch_module/doctype/master_branch_doctype/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js new file mode 100644 index 0000000000..c0d425a7da --- /dev/null +++ b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js @@ -0,0 +1,8 @@ +// Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("Master Branch Doctype", { +// refresh(frm) { + +// }, +// }); diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json new file mode 100644 index 0000000000..64272c3e82 --- /dev/null +++ b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json @@ -0,0 +1,41 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2024-05-22 05:06:27.536438", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "custom_name" + ], + "fields": [ + { + "fieldname": "custom_name", + "fieldtype": "Data", + "label": "Name" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2024-05-22 05:06:47.486113", + "modified_by": "Administrator", + "module": "Master Branch Module", + "name": "Master Branch Doctype", + "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": [] +} \ No newline at end of file diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py new file mode 100644 index 0000000000..d46663cf6b --- /dev/null +++ b/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py @@ -0,0 +1,19 @@ +# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class MasterBranchDoctype(Document): + # begin: auto-generated types + # This code is auto-generated. Do not modify anything in this block. + + from typing import TYPE_CHECKING + + if TYPE_CHECKING: + from frappe.types import DF + + custom_name: DF.Data | None + # end: auto-generated types + pass diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py b/erpnext/master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py new file mode 100644 index 0000000000..bf0dc44f47 --- /dev/null +++ b/erpnext/master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py @@ -0,0 +1,9 @@ +# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestMasterBranchDoctype(FrappeTestCase): + pass diff --git a/erpnext/modules.txt b/erpnext/modules.txt index c53cdf467d..4647490ca7 100644 --- a/erpnext/modules.txt +++ b/erpnext/modules.txt @@ -18,3 +18,4 @@ Communication Telephony Bulk Transaction Subcontracting +Master Branch Module \ No newline at end of file