diff --git a/custom_ui/custom_ui/doctype/bid_meeting_note/__init__.py b/custom_ui/custom_ui/doctype/bid_meeting_note/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.js b/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.js deleted file mode 100644 index d37f646..0000000 --- a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2026, Shiloh Code LLC and contributors -// For license information, please see license.txt - -// frappe.ui.form.on("Bid Meeting Note", { -// refresh(frm) { - -// }, -// }); diff --git a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.json b/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.json deleted file mode 100644 index 42538e0..0000000 --- a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "actions": [], - "allow_rename": 1, - "creation": "2026-02-09 03:55:26.035639", - "doctype": "DocType", - "engine": "InnoDB", - "field_order": [ - "form_template", - "bid_meeting", - "notes", - "fields", - "quantities" - ], - "fields": [ - { - "fieldname": "form_template", - "fieldtype": "Link", - "in_list_view": 1, - "label": "Form Template", - "options": "Bid Meeting Note Form", - "reqd": 1 - }, - { - "fieldname": "bid_meeting", - "fieldtype": "Link", - "in_list_view": 1, - "label": "Bid Meeting", - "options": "On-Site Meeting", - "reqd": 1 - }, - { - "fieldname": "notes", - "fieldtype": "Small Text", - "label": "Notes" - }, - { - "fieldname": "fields", - "fieldtype": "Table", - "label": "Fields", - "options": "Bid Meeting Note Field" - }, - { - "fieldname": "quantities", - "fieldtype": "Table", - "label": "Quantities", - "options": "Bid Meeting Note Field Quantity" - } - ], - "grid_page_length": 50, - "index_web_pages_for_search": 1, - "links": [], - "modified": "2026-02-09 10:22:58.938177", - "modified_by": "Administrator", - "module": "Custom UI", - "name": "Bid Meeting Note", - "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, - "sort_field": "modified", - "sort_order": "DESC", - "states": [] -} \ No newline at end of file diff --git a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.py b/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.py deleted file mode 100644 index 7fc7911..0000000 --- a/custom_ui/custom_ui/doctype/bid_meeting_note/bid_meeting_note.py +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2026, Shiloh Code LLC and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class BidMeetingNote(Document): - pass diff --git a/custom_ui/custom_ui/doctype/bid_meeting_note/test_bid_meeting_note.py b/custom_ui/custom_ui/doctype/bid_meeting_note/test_bid_meeting_note.py deleted file mode 100644 index e70cb71..0000000 --- a/custom_ui/custom_ui/doctype/bid_meeting_note/test_bid_meeting_note.py +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2026, Shiloh Code LLC and Contributors -# See license.txt - -# import frappe -from frappe.tests.utils import FrappeTestCase - - -class TestBidMeetingNote(FrappeTestCase): - pass diff --git a/custom_ui/install.py b/custom_ui/install.py index 779b7aa..8c0b3d5 100644 --- a/custom_ui/install.py +++ b/custom_ui/install.py @@ -48,9 +48,9 @@ def after_migrate(): # create_project_templates() create_task_types() # create_tasks() - create_companies() - create_accounts() create_bid_meeting_note_form_templates() + create_accounts() + create_companies() # init_stripe_accounts() # update_address_fields() @@ -876,6 +876,17 @@ def create_companies(): 'chart_of_accounts': 'Standard', 'enable_perpetual_inventory': 1 }, + { + 'company_name': 'sprinklersnorthwest (Demo)', + 'abbr': 'SD', + 'default_currency': 'USD', + 'country': 'United States', + 'is_group': 0, + 'parent_company': None, + 'create_chart_of_accounts_based_on': 'Standard Template', + 'chart_of_accounts': 'Standard', + 'enable_perpetual_inventory': 1 + }, { 'company_name': 'Lowe Fencing', 'abbr': 'LF', @@ -920,7 +931,7 @@ def create_companies(): doc = frappe.get_doc(data) doc.insert(ignore_permissions=True) set_default_accounts(doc) - + def set_default_accounts(company_doc): """Set default accounts for a company after creation.""" abbr = company_doc.abbr @@ -931,8 +942,8 @@ def set_default_accounts(company_doc): company_doc.default_expense_account = f"Cost of Goods Sold - {abbr}" company_doc.cost_center = f"Main - {abbr}" company_doc.save(ignore_permissions=True) - - + + def create_accounts():