From 5b33ce7072344fd69301558183368a0a91989878 Mon Sep 17 00:00:00 2001 From: Landry Date: Wed, 22 May 2024 21:43:54 +0000 Subject: [PATCH] Test push to master repo --- erpnext/modules.txt | 2 +- .../__init__.py | 0 erpnext/programming_module/doctype/__init__.py | 0 .../doctype/programming_doctype/__init__.py | 0 .../programming_doctype/programming_doctype.js} | 2 +- .../programming_doctype/programming_doctype.json} | 14 +++++++------- .../programming_doctype/programming_doctype.py} | 4 ++-- .../test_programming_doctype.py} | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) rename erpnext/{master_branch_module/doctype/master_branch_doctype => programming_module}/__init__.py (100%) create mode 100644 erpnext/programming_module/doctype/__init__.py create mode 100644 erpnext/programming_module/doctype/programming_doctype/__init__.py rename erpnext/{master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js => programming_module/doctype/programming_doctype/programming_doctype.js} (76%) rename erpnext/{master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json => programming_module/doctype/programming_doctype/programming_doctype.json} (68%) rename erpnext/{master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py => programming_module/doctype/programming_doctype/programming_doctype.py} (84%) rename erpnext/{master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py => programming_module/doctype/programming_doctype/test_programming_doctype.py} (77%) diff --git a/erpnext/modules.txt b/erpnext/modules.txt index 4647490ca7..921f387321 100644 --- a/erpnext/modules.txt +++ b/erpnext/modules.txt @@ -18,4 +18,4 @@ Communication Telephony Bulk Transaction Subcontracting -Master Branch Module \ No newline at end of file +Programming Module \ No newline at end of file diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/__init__.py b/erpnext/programming_module/__init__.py similarity index 100% rename from erpnext/master_branch_module/doctype/master_branch_doctype/__init__.py rename to erpnext/programming_module/__init__.py diff --git a/erpnext/programming_module/doctype/__init__.py b/erpnext/programming_module/doctype/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/programming_module/doctype/programming_doctype/__init__.py b/erpnext/programming_module/doctype/programming_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/programming_module/doctype/programming_doctype/programming_doctype.js similarity index 76% rename from erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js rename to erpnext/programming_module/doctype/programming_doctype/programming_doctype.js index c0d425a7da..1c358508c6 100644 --- a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.js +++ b/erpnext/programming_module/doctype/programming_doctype/programming_doctype.js @@ -1,7 +1,7 @@ // Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors // For license information, please see license.txt -// frappe.ui.form.on("Master Branch Doctype", { +// frappe.ui.form.on("Programming Doctype", { // refresh(frm) { // }, diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json b/erpnext/programming_module/doctype/programming_doctype/programming_doctype.json similarity index 68% rename from erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json rename to erpnext/programming_module/doctype/programming_doctype/programming_doctype.json index 64272c3e82..49128bdf4e 100644 --- a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.json +++ b/erpnext/programming_module/doctype/programming_doctype/programming_doctype.json @@ -1,25 +1,25 @@ { "actions": [], "allow_rename": 1, - "creation": "2024-05-22 05:06:27.536438", + "creation": "2024-05-22 12:40:16.572357", "doctype": "DocType", "engine": "InnoDB", "field_order": [ - "custom_name" + "custom_first_name" ], "fields": [ { - "fieldname": "custom_name", + "fieldname": "custom_first_name", "fieldtype": "Data", - "label": "Name" + "label": "First Name" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2024-05-22 05:06:47.486113", + "modified": "2024-05-22 12:40:42.398692", "modified_by": "Administrator", - "module": "Master Branch Module", - "name": "Master Branch Doctype", + "module": "Programming Module", + "name": "Programming Doctype", "owner": "Administrator", "permissions": [ { diff --git a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py b/erpnext/programming_module/doctype/programming_doctype/programming_doctype.py similarity index 84% rename from erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py rename to erpnext/programming_module/doctype/programming_doctype/programming_doctype.py index d46663cf6b..c687826da1 100644 --- a/erpnext/master_branch_module/doctype/master_branch_doctype/master_branch_doctype.py +++ b/erpnext/programming_module/doctype/programming_doctype/programming_doctype.py @@ -5,7 +5,7 @@ from frappe.model.document import Document -class MasterBranchDoctype(Document): +class ProgrammingDoctype(Document): # begin: auto-generated types # This code is auto-generated. Do not modify anything in this block. @@ -14,6 +14,6 @@ class MasterBranchDoctype(Document): if TYPE_CHECKING: from frappe.types import DF - custom_name: DF.Data | None + custom_first_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/programming_module/doctype/programming_doctype/test_programming_doctype.py similarity index 77% rename from erpnext/master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py rename to erpnext/programming_module/doctype/programming_doctype/test_programming_doctype.py index bf0dc44f47..4ea1ca6525 100644 --- a/erpnext/master_branch_module/doctype/master_branch_doctype/test_master_branch_doctype.py +++ b/erpnext/programming_module/doctype/programming_doctype/test_programming_doctype.py @@ -5,5 +5,5 @@ from frappe.tests.utils import FrappeTestCase -class TestMasterBranchDoctype(FrappeTestCase): +class TestProgrammingDoctype(FrappeTestCase): pass