From e2780ea9054a74fe709f78817df454a431b4a708 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Tue, 10 Feb 2026 18:21:33 -0500 Subject: [PATCH] Added Territory to fixtures. --- custom_ui/fixtures/territory.json | 1289 +++++++++++++++++++++++++++++ custom_ui/hooks.py | 3 +- 2 files changed, 1291 insertions(+), 1 deletion(-) create mode 100644 custom_ui/fixtures/territory.json diff --git a/custom_ui/fixtures/territory.json b/custom_ui/fixtures/territory.json new file mode 100644 index 0000000..e8c53c9 --- /dev/null +++ b/custom_ui/fixtures/territory.json @@ -0,0 +1,1289 @@ +[ + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 1, + "modified": "2024-10-24 16:31:56.620341", + "name": "Rest Of The World", + "old_parent": "All Territories", + "parent_territory": "All Territories", + "targets": [], + "territory_manager": null, + "territory_name": "Rest Of The World" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-10-24 16:31:38.445167", + "name": "The Fields", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "The Fields" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-10-24 16:30:41.839826", + "name": "Blue Spruce Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Blue Spruce Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-10-24 16:30:51.681669", + "name": "Stonehill", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Stonehill" + }, + { + "custom_map": "/files/meadowlane greens 2.jpg", + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2025-01-07 13:16:14.737185", + "name": "Meadowlane Greens", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Meadowlane Greens" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-10-31 16:47:07.534567", + "name": "Quiet Ridge", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Quiet Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.419274", + "name": "Arrow Point Park", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Arrow Point Park" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.454535", + "name": "Ashlar Ranch", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Ashlar Ranch" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.468620", + "name": "Aspen Park", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Aspen Park" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.480862", + "name": "Pillar Rock", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Pillar Rock" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.494718", + "name": "Atlas Waterfront", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Atlas Waterfront" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.506319", + "name": "Base Camp", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Base Camp" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.517152", + "name": "Bellerive", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Bellerive" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.527807", + "name": "Berkshire Place", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Berkshire Place" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.538135", + "name": "Black Stallion", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Black Stallion" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.548475", + "name": "Blackstone Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Blackstone Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.558692", + "name": "Blanchard", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Blanchard" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.575163", + "name": "Bluegrass Point", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Bluegrass Point" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.585870", + "name": "Boyd Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Boyd Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.600038", + "name": "Boyds Landing", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Boyds Landing" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.611260", + "name": "Brookshire", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Brookshire" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.633070", + "name": "Carrolls Cove Bay", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Carrolls Cove Bay" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.643880", + "name": "Cavanaugh Lake", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Cavanaugh Lake" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.654356", + "name": "CDA Place", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "CDA Place" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.664592", + "name": "Commons At Honeysuckle", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Commons At Honeysuckle" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.675215", + "name": "Corbin Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Corbin Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.686438", + "name": "Cougar Bay", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Cougar Bay" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.697577", + "name": "Coyote Rock", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Coyote Rock" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.708322", + "name": "Crown Pointe", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Crown Pointe" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.719372", + "name": "Dalton Gardens", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Dalton Gardens" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.730409", + "name": "Edington Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Edington Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.742742", + "name": "Emerald Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Emerald Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.759572", + "name": "Fair Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Fair Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.770652", + "name": "Forest Grove", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Forest Grove" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.782461", + "name": "Foxtail 6th", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Foxtail 6th" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.793621", + "name": "Foxtail 7th", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Foxtail 7th" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.804221", + "name": "Foxtail 8th", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Foxtail 8th" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.814811", + "name": "Foxtail 9th", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Foxtail 9th" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.825556", + "name": "Gabrio Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Gabrio Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.836140", + "name": "Garden Grove", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Garden Grove" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.846474", + "name": "GardenDale Acres", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "GardenDale Acres" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.857495", + "name": "Gotham Bay Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Gotham Bay Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.868372", + "name": "Grace Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Grace Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.879340", + "name": "Hadley Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hadley Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.890295", + "name": "Harbor Island", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Harbor Island" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.900745", + "name": "Hatch Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hatch Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.935204", + "name": "Hayden Frontage", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hayden Frontage" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.947676", + "name": "Hayden North", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hayden North" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.958502", + "name": "Hollice Woods", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hollice Woods" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.969004", + "name": "Hydrilla Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hydrilla Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.981020", + "name": "Lone Mountain Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Lone Mountain Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.991979", + "name": "Majestic Villas", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Majestic Villas" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.002840", + "name": "Meadow Grove", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Meadow Grove" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.016095", + "name": "Milsap Subdivision", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Milsap Subdivision" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.028458", + "name": "Mongeau Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Mongeau Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.040203", + "name": "Montrose", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Montrose" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.051077", + "name": "Nicholsen Commercial", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Nicholsen Commercial" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.062177", + "name": "North Chase Place", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "North Chase Place" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.078213", + "name": "Northplace", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Northplace" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.090166", + "name": "Peregrine Place", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Peregrine Place" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.101141", + "name": "Pheasants Landing", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Pheasants Landing" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.111906", + "name": "Pointe at Post Falls", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Pointe at Post Falls" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.123218", + "name": "Prairie Sky", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Prairie Sky" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.136952", + "name": "Raintree Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Raintree Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.147813", + "name": "Rimrock Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Rimrock Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.158717", + "name": "Riverbend Commerce Park", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Riverbend Commerce Park" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.171553", + "name": "Sandpoint", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Sandpoint" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.182666", + "name": "Silver Valley", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Silver Valley" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.194709", + "name": "Skyline Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Skyline Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.205547", + "name": "South of River", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "South of River" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.226587", + "name": "Stockwell Estates", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Stockwell Estates" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.240294", + "name": "Sundance Ridge", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Sundance Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.250526", + "name": "Sunset Ridge", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Sunset Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.261433", + "name": "Tangle Ridge", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Tangle Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.274539", + "name": "Thayer Farms 3rd add", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Thayer Farms 3rd add" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.285265", + "name": "Thayer North", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Thayer North" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.296241", + "name": "The Circuit at Seltice", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "The Circuit at Seltice" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.313629", + "name": "The Trails", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "The Trails" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.323916", + "name": "Timber Glade", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Timber Glade" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.337751", + "name": "Timber Landing", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Timber Landing" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.349406", + "name": "Trail Ridge", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Trail Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.367936", + "name": "Tranquil Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Tranquil Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.394894", + "name": "Verte Glenn", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Verte Glenn" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.406200", + "name": "Westwood Add", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Westwood Add" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.416942", + "name": "Whiskey Jack", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Whiskey Jack" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 14:18:06.865485", + "name": "Wild Ridge", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Wild Ridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.449076", + "name": "Woodbridge", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Woodbridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 14:16:28.636348", + "name": "Seven Sisters", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Seven Sisters" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-10-24 16:31:22.545389", + "name": "Thayer Farms", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Thayer Farms" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-13 13:21:55.402896", + "name": "Hayden Canyon North", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hayden Canyon North" + }, + { + "custom_map": "/files/Woodridge ph 4.jpg", + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2025-01-07 13:17:29.322671", + "name": "Woodridge", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Woodridge" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:17.622428", + "name": "Carrington Meadows", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Carrington Meadows" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2025-01-29 09:18:04.158277", + "name": "Montana", + "old_parent": "United States", + "parent_territory": "United States", + "targets": [], + "territory_manager": null, + "territory_name": "Montana" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-09 13:23:18.216202", + "name": "Sterling Hills", + "old_parent": "Washington", + "parent_territory": "Washington", + "targets": [], + "territory_manager": null, + "territory_name": "Sterling Hills" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 1, + "modified": "2024-04-03 13:52:55.851196", + "name": "All Territories", + "old_parent": "", + "parent_territory": null, + "targets": [], + "territory_manager": null, + "territory_name": "All Territories" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 0, + "modified": "2024-12-16 05:51:20.461568", + "name": "Hayden Canyon", + "old_parent": "Idaho", + "parent_territory": "Idaho", + "targets": [], + "territory_manager": null, + "territory_name": "Hayden Canyon" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 1, + "modified": "2024-10-24 16:29:21.492438", + "name": "Washington", + "old_parent": "United States", + "parent_territory": "United States", + "targets": [], + "territory_manager": null, + "territory_name": "Washington" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 1, + "modified": "2024-04-08 03:16:41.446439", + "name": "United States", + "old_parent": "All Territories", + "parent_territory": "All Territories", + "targets": [], + "territory_manager": null, + "territory_name": "United States" + }, + { + "custom_map": null, + "docstatus": 0, + "doctype": "Territory", + "is_group": 1, + "modified": "2024-10-24 16:28:49.004134", + "name": "Idaho", + "old_parent": "United States", + "parent_territory": "United States", + "targets": [], + "territory_manager": null, + "territory_name": "Idaho" + } +] \ No newline at end of file diff --git a/custom_ui/hooks.py b/custom_ui/hooks.py index 1994b71..c91dcc6 100644 --- a/custom_ui/hooks.py +++ b/custom_ui/hooks.py @@ -237,7 +237,8 @@ fixtures = [ {"dt": "Server Script"}, {"dt": "Letter Head"}, {"dt": "Payment Term"}, - {"dt": "Payment Terms Template"} + {"dt": "Payment Terms Template"}, + {"dt": "Territory"}, ]