From 82e808643637b898ce7b4467a18883f1806137b3 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Tue, 10 Feb 2026 15:32:49 -0500 Subject: [PATCH 1/2] Item groups to project template. --- custom_ui/fixtures/project_template.json | 4 ++-- custom_ui/install.py | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/custom_ui/fixtures/project_template.json b/custom_ui/fixtures/project_template.json index c0fc39b..04cbc5d 100644 --- a/custom_ui/fixtures/project_template.json +++ b/custom_ui/fixtures/project_template.json @@ -5,8 +5,8 @@ "company": "Sprinklers Northwest", "docstatus": 0, "doctype": "Project Template", - "item_groups": null, - "modified": "2026-01-29 09:51:46.681553", + "item_groups": "SNW-I, SNW-S, SNW-LS", + "modified": "2026-02-10 10:29:37.435176", "name": "SNW Install", "project_type": "External", "tasks": [ diff --git a/custom_ui/install.py b/custom_ui/install.py index df8a186..784076b 100644 --- a/custom_ui/install.py +++ b/custom_ui/install.py @@ -725,15 +725,23 @@ def create_project_templates(): """Create default Project Templates if they do not exist.""" print("\n🔧 Checking for default Project Templates...") templates = { - "snw_templates": [ + "Sprinklers Northwest": [ { "name": "SNW Install", "project_type": "Service", - "company": "Sprinklers Northwest", - "calendar_color": "#FF5733" # Example color - } - ] - } + "calendar_color": "#FF5733", # Example color + "item_groups": "SNW-I, SNW-S, SNW-LS" + } + ] + } + + for company, template_list in templates.items(): + for template in template_list: + if frappe.db.exists("Project Template", template["name"]): + continue + + doc = frappe.get_doc(template) + doc.insert(ignore_permissions=True) def create_bid_meeting_note_form_templates(): From e93281b33d33a119bd04b42bc1738459e1f04562 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Tue, 10 Feb 2026 15:16:38 -0500 Subject: [PATCH 2/2] Revert "Added Item Groups to fixtures." This reverts commit b0a5ddfbed0ee7a3a421738439bb5ff882936b62. --- custom_ui/fixtures/item_group.json | 876 ----------------------------- custom_ui/hooks.py | 1 - 2 files changed, 877 deletions(-) delete mode 100644 custom_ui/fixtures/item_group.json diff --git a/custom_ui/fixtures/item_group.json b/custom_ui/fixtures/item_group.json deleted file mode 100644 index 8ec03ff..0000000 --- a/custom_ui/fixtures/item_group.json +++ /dev/null @@ -1,876 +0,0 @@ -[ - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Sales Other - S", - "parent": "Veritas", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Veritas", - "modified": "2025-02-12 11:54:41.168024", - "name": "Veritas", - "old_parent": "Products", - "parent_item_group": "Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "MFD Paver", - "modified": "2024-12-10 13:31:01.954471", - "name": "MFD Paver", - "old_parent": "Veritas", - "parent_item_group": "Veritas", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "MFD Wall Block", - "modified": "2024-12-10 13:31:14.632861", - "name": "MFD Wall Block", - "old_parent": "Veritas", - "parent_item_group": "Veritas", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Natural Stone", - "modified": "2024-12-10 13:31:29.566268", - "name": "Natural Stone", - "old_parent": "Veritas", - "parent_item_group": "Veritas", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Sand", - "modified": "2024-12-10 13:33:10.335521", - "name": "Sand", - "old_parent": "Daniels-LS", - "parent_item_group": "Daniels-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Mulch", - "modified": "2024-12-10 13:32:06.739902", - "name": "Mulch", - "old_parent": "Daniels-LS", - "parent_item_group": "Daniels-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Landscaping/Install - S", - "parent": "Annuals", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Annuals", - "modified": "2025-02-12 11:53:46.263093", - "name": "Annuals", - "old_parent": "Plants", - "parent_item_group": "Plants", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Hardware", - "modified": "2024-12-19 09:33:23.045521", - "name": "Hardware", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Decorative iron", - "modified": "2024-12-19 09:34:13.990985", - "name": "Decorative iron", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "S1 Hardscaping", - "modified": "2025-01-08 10:32:13.817300", - "name": "S1 Hardscaping", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Sales Other - S", - "parent": "Hardscaping", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Hardscaping", - "modified": "2025-02-12 11:50:38.148961", - "name": "Hardscaping", - "old_parent": "SNW-I", - "parent_item_group": "SNW-I", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Vinyl", - "modified": "2024-12-19 09:33:30.400587", - "name": "Vinyl", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Tools", - "modified": "2024-12-19 09:34:52.369957", - "name": "Tools", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Hinges & Latches", - "modified": "2024-12-19 09:48:02.040604", - "name": "Hinges & Latches", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Landscaping/Install - S", - "parent": "Plants", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Plants", - "modified": "2025-02-12 11:50:54.913128", - "name": "Plants", - "old_parent": "SNW-LS", - "parent_item_group": "SNW-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Wood", - "modified": "2024-12-19 09:33:58.958927", - "name": "Wood", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Lawn Care", - "modified": "2025-01-08 10:15:52.916335", - "name": "Lawn Care", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Edging", - "modified": "2025-01-08 10:16:02.102771", - "name": "Edging", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Weed Barrier", - "modified": "2025-01-08 10:23:51.336816", - "name": "Weed Barrier", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [], - "item_group_name": "Daniels", - "modified": "2024-12-09 08:14:20.764630", - "name": "Daniels", - "old_parent": "Service", - "parent_item_group": "Service", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Trees", - "modified": "2024-12-09 12:46:38.588638", - "name": "Trees", - "old_parent": "Plants", - "parent_item_group": "Plants", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Valves", - "modified": "2025-01-08 10:14:55.780026", - "name": "Valves", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Landscaping/Install - S", - "parent": "SNW-I", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "SNW-I", - "modified": "2025-02-12 11:44:16.372649", - "name": "SNW-I", - "old_parent": "Service", - "parent_item_group": "Service", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Landscaping/Install - S", - "parent": "Daniels-LS", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Daniels-LS", - "modified": "2025-02-12 11:49:59.044728", - "name": "Daniels-LS", - "old_parent": "Products", - "parent_item_group": "Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "HS Misc. Parts", - "modified": "2024-12-10 13:30:48.295063", - "name": "HS Misc. Parts", - "old_parent": "Veritas", - "parent_item_group": "Veritas", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Perennials", - "modified": "2024-12-09 12:47:04.488761", - "name": "Perennials", - "old_parent": "Plants", - "parent_item_group": "Plants", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Chain Link", - "modified": "2024-12-19 09:33:46.702657", - "name": "Chain Link", - "old_parent": "Lowe Fencing-Products", - "parent_item_group": "Lowe Fencing-Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [], - "item_group_name": "SNW-LS", - "modified": "2024-12-09 08:17:16.588537", - "name": "SNW-LS", - "old_parent": "Products", - "parent_item_group": "Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Shrubs", - "modified": "2024-12-09 12:47:57.702491", - "name": "Shrubs", - "old_parent": "Plants", - "parent_item_group": "Plants", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [], - "item_group_name": "Service", - "modified": "2024-12-09 08:13:11.899625", - "name": "Service", - "old_parent": "", - "parent_item_group": null, - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [], - "item_group_name": "Nuco-Services", - "modified": "2024-12-09 08:13:55.183241", - "name": "Nuco-Services", - "old_parent": "Service", - "parent_item_group": "Service", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [], - "item_group_name": "Products", - "modified": "2024-12-09 08:15:23.663759", - "name": "Products", - "old_parent": "", - "parent_item_group": null, - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Electric", - "modified": "2025-01-08 10:14:42.715504", - "name": "Electric", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Boxes", - "modified": "2025-01-08 10:16:38.533410", - "name": "Boxes", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Lowe Fencing", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Fencing Yard - LF", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Fencing Sales - LF", - "parent": "Lowe Fencing-Services", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Lowe Fencing-Services", - "modified": "2025-02-12 11:48:29.551145", - "name": "Lowe Fencing-Services", - "old_parent": "Service", - "parent_item_group": "Service", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Heads", - "modified": "2025-01-08 10:16:44.690210", - "name": "Heads", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Trucking", - "modified": "2024-12-10 13:34:40.527461", - "name": "Trucking", - "old_parent": "Daniels", - "parent_item_group": "Daniels", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Nipples", - "modified": "2025-01-08 10:16:58.229281", - "name": "Nipples", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Dec Rock", - "modified": "2024-12-10 13:31:55.184593", - "name": "Dec Rock", - "old_parent": "Daniels-LS", - "parent_item_group": "Daniels-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Pipes", - "modified": "2025-01-08 10:14:18.873703", - "name": "Pipes", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Landscaping/Install - S", - "parent": "Misc SiteOne Items", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Misc SiteOne Items", - "modified": "2025-02-12 11:53:26.232589", - "name": "Misc SiteOne Items", - "old_parent": "SNW-LS", - "parent_item_group": "SNW-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Nozzles", - "modified": "2025-01-08 10:17:08.089325", - "name": "Nozzles", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Excavation - S", - "parent": "Excavation", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Excavation", - "modified": "2025-02-12 11:47:06.895725", - "name": "Excavation", - "old_parent": "SNW-I", - "parent_item_group": "SNW-I", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Backflow", - "modified": "2025-01-08 10:21:59.244062", - "name": "Backflow", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Lowe Fencing", - "default_discount_account": null, - "default_price_list": "Standard Selling", - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Fencing Yard - LF", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Fencing Sales - LF", - "parent": "Lowe Fencing-Products", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "Lowe Fencing-Products", - "modified": "2025-02-12 11:43:12.145116", - "name": "Lowe Fencing-Products", - "old_parent": "Products", - "parent_item_group": "Products", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Misc Tools", - "modified": "2025-01-08 09:24:03.139209", - "name": "Misc Tools", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Timers", - "modified": "2025-01-08 10:15:03.616973", - "name": "Timers", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Irrigation", - "modified": "2024-12-11 11:20:02.429616", - "name": "Irrigation", - "old_parent": "SNW-I", - "parent_item_group": "SNW-I", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Soils", - "modified": "2024-12-10 13:33:23.092524", - "name": "Soils", - "old_parent": "Daniels-LS", - "parent_item_group": "Daniels-LS", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Landscaping", - "modified": "2024-12-11 11:20:28.503214", - "name": "Landscaping", - "old_parent": "SNW-I", - "parent_item_group": "SNW-I", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 0, - "item_group_defaults": [], - "item_group_name": "Irrigation Misc", - "modified": "2025-01-08 10:16:29.725012", - "name": "Irrigation Misc", - "old_parent": "Misc SiteOne Items", - "parent_item_group": "Misc SiteOne Items", - "taxes": [] - }, - { - "docstatus": 0, - "doctype": "Item Group", - "image": null, - "is_group": 1, - "item_group_defaults": [ - { - "buying_cost_center": null, - "company": "Sprinklers Northwest", - "default_discount_account": null, - "default_price_list": null, - "default_provisional_account": null, - "default_supplier": null, - "default_warehouse": "Stores - S", - "deferred_expense_account": null, - "deferred_revenue_account": null, - "expense_account": null, - "income_account": "Technician Service - S", - "parent": "SNW-S", - "parentfield": "item_group_defaults", - "parenttype": "Item Group", - "selling_cost_center": null - } - ], - "item_group_name": "SNW-S", - "modified": "2025-02-12 11:45:16.400080", - "name": "SNW-S", - "old_parent": "Service", - "parent_item_group": "Service", - "taxes": [] - } -] \ No newline at end of file diff --git a/custom_ui/hooks.py b/custom_ui/hooks.py index ec974dd..14a24dc 100644 --- a/custom_ui/hooks.py +++ b/custom_ui/hooks.py @@ -235,7 +235,6 @@ fixtures = [ {"dt": "Property Setter"}, {"dt": "Client Script"}, {"dt": "Server Script"}, - {"dt": "Item Group"} ]