From df5cbfd70d22906fb6c35b3fa19f2e7e3a14ff49 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Mon, 9 Feb 2026 12:58:27 -0500 Subject: [PATCH] Removed demo company from fixtures. --- custom_ui/fixtures/company.json | 88 --------------------------------- custom_ui/hooks.py | 10 +++- 2 files changed, 9 insertions(+), 89 deletions(-) diff --git a/custom_ui/fixtures/company.json b/custom_ui/fixtures/company.json index c83880a..8c226af 100644 --- a/custom_ui/fixtures/company.json +++ b/custom_ui/fixtures/company.json @@ -175,94 +175,6 @@ "website": null, "write_off_account": "Write Off - DL" }, - { - "abbr": "SD", - "accumulated_depreciation_account": "Accumulated Depreciation - SD", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - SD", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 0, - "capital_work_in_progress_account": "CWIP Account - SD", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "sprinklersnorthwest (Demo)", - "cost_center": "Main - SD", - "country": "United States", - "create_chart_of_accounts_based_on": "Standard Template", - "credit_limit": 0.0, - "date_of_commencement": null, - "date_of_establishment": null, - "date_of_incorporation": null, - "default_advance_paid_account": null, - "default_advance_received_account": null, - "default_bank_account": "Bank Account - SD", - "default_buying_terms": null, - "default_cash_account": "Cash - SD", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": null, - "default_expense_account": "Cost of Goods Sold - SD", - "default_expense_claim_payable_account": "Creditors - SD", - "default_finance_book": null, - "default_holiday_list": null, - "default_in_transit_warehouse": null, - "default_income_account": "Sales - SD", - "default_inventory_account": "Stock In Hand - SD", - "default_letter_head": null, - "default_operating_cost_account": null, - "default_payable_account": "Creditors - SD", - "default_payroll_payable_account": null, - "default_provisional_account": null, - "default_receivable_account": "Debtors - SD", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - SD", - "depreciation_expense_account": "Depreciation - SD", - "disposal_account": "Gain/Loss on Asset Disposal - SD", - "docstatus": 0, - "doctype": "Company", - "domain": null, - "email": null, - "enable_perpetual_inventory": 1, - "enable_provisional_accounting_for_non_stock_items": 0, - "exception_budget_approver_role": null, - "exchange_gain_loss_account": "Exchange Gain/Loss - SD", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - SD", - "expenses_included_in_valuation": "Expenses Included In Valuation - SD", - "fax": null, - "is_group": 0, - "modified": "2026-02-09 00:00:22.005673", - "monthly_sales_target": 0.0, - "name": "sprinklersnorthwest (Demo)", - "old_parent": "", - "parent_company": null, - "payment_terms": null, - "phone_no": null, - "reconcile_on_advance_payment_date": 0, - "reconciliation_takes_effect_on": "Oldest Of Invoice Or Advance", - "registration_details": null, - "round_off_account": "Round Off - SD", - "round_off_cost_center": "Main - SD", - "round_off_for_opening": null, - "sales_monthly_history": "{}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - SD", - "stock_received_but_not_billed": "Stock Received But Not Billed - SD", - "submit_err_jv": 0, - "tax_id": null, - "total_monthly_sales": 0.0, - "transactions_annual_history": "{}", - "unrealized_exchange_gain_loss_account": null, - "unrealized_profit_loss_account": null, - "website": null, - "write_off_account": "Write Off - SD" - }, { "abbr": "NYC", "accumulated_depreciation_account": "Accumulated Depreciation - NYC", diff --git a/custom_ui/hooks.py b/custom_ui/hooks.py index 09ec328..ec0acc3 100644 --- a/custom_ui/hooks.py +++ b/custom_ui/hooks.py @@ -234,7 +234,15 @@ fixtures = [ }, {"dt": "Client Script"}, {"dt": "Server Script"}, - {"dt": "Company"}, + { + "dt": "Company", + "filter": [ + ["name", "in", [ + "Sprinklers Northwest", "Veritas Stone", "Daniels Landscape Supplies", + "Nuco Yard Care", "Lowe Fencing" + ]] + ] + }, {"dt": "Account"}, ]