diff --git a/custom_ui/fixtures/bid_meeting_note_form.json b/custom_ui/fixtures/bid_meeting_note_form.json index c2040bc..c94d071 100644 --- a/custom_ui/fixtures/bid_meeting_note_form.json +++ b/custom_ui/fixtures/bid_meeting_note_form.json @@ -1,6 +1,5 @@ [ { - "company": "Sprinklers Northwest", "docstatus": 0, "doctype": "Bid Meeting Note Form", "fields": [ @@ -145,7 +144,7 @@ "type": "Multi-Select w/ Quantity" } ], - "modified": "2026-02-18 03:54:28.004107", + "modified": "2026-02-18 05:52:37.304228", "name": "SNW Install Bid Meeting Notes", "notes": null, "title": "SNW Install Bid Meeting Notes" diff --git a/custom_ui/fixtures/company.json b/custom_ui/fixtures/company.json deleted file mode 100644 index 63970a8..0000000 --- a/custom_ui/fixtures/company.json +++ /dev/null @@ -1,530 +0,0 @@ -[ - { - "abbr": "VS", - "accumulated_depreciation_account": "Accumulated Depreciation - VS", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - VS", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 0, - "capital_work_in_progress_account": "CWIP Account - VS", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "Veritas Stone", - "cost_center": "Main - VS", - "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": null, - "default_buying_terms": null, - "default_cash_account": "Cash - VS", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": "Employee Advances - VS", - "default_expense_account": "Cost of Goods Sold - VS", - "default_expense_claim_payable_account": "Creditors - VS", - "default_finance_book": null, - "default_holiday_list": null, - "default_in_transit_warehouse": null, - "default_income_account": "Sales - VS", - "default_inventory_account": "Stock In Hand - VS", - "default_letter_head": null, - "default_operating_cost_account": null, - "default_payable_account": "Creditors - VS", - "default_payroll_payable_account": "Payroll Payable - VS", - "default_provisional_account": null, - "default_receivable_account": "Debtors - VS", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - VS", - "depreciation_expense_account": "Depreciation - VS", - "disposal_account": "Gain/Loss on Asset Disposal - VS", - "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 - VS", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - VS", - "expenses_included_in_valuation": "Expenses Included In Valuation - VS", - "fax": null, - "is_group": 0, - "modified": "2026-02-18 03:11:48.964218", - "monthly_sales_target": 0.0, - "name": "Veritas Stone", - "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 - VS", - "round_off_cost_center": "Main - VS", - "round_off_for_opening": null, - "sales_monthly_history": "{}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - VS", - "stock_received_but_not_billed": "Stock Received But Not Billed - VS", - "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 - VS" - }, - { - "abbr": "DL", - "accumulated_depreciation_account": "Accumulated Depreciation - DL", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - DL", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 0, - "capital_work_in_progress_account": "CWIP Account - DL", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "Daniels Landscape Supplies", - "cost_center": "Main - DL", - "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": "Riverbank Checking - DL", - "default_buying_terms": null, - "default_cash_account": "Cash - DL", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": "Employee Advances - DL", - "default_expense_account": "Cost of Goods Sold - DL", - "default_expense_claim_payable_account": "Creditors - DL", - "default_finance_book": null, - "default_holiday_list": null, - "default_in_transit_warehouse": null, - "default_income_account": "Sales - DL", - "default_inventory_account": "Stock In Hand - DL", - "default_letter_head": null, - "default_operating_cost_account": null, - "default_payable_account": "Creditors - DL", - "default_payroll_payable_account": "Payroll Payable - DL", - "default_provisional_account": null, - "default_receivable_account": "Debtors - DL", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - DL", - "depreciation_expense_account": "Depreciation - DL", - "disposal_account": "Gain/Loss on Asset Disposal - DL", - "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 - DL", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - DL", - "expenses_included_in_valuation": "Expenses Included In Valuation - DL", - "fax": null, - "is_group": 0, - "modified": "2026-02-18 03:11:48.968138", - "monthly_sales_target": 0.0, - "name": "Daniels Landscape Supplies", - "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 - DL", - "round_off_cost_center": "Main - DL", - "round_off_for_opening": null, - "sales_monthly_history": "{}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - DL", - "stock_received_but_not_billed": "Stock Received But Not Billed - DL", - "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 - 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": "Employee Advances - SD", - "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": "Payroll Payable - SD", - "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-18 03:11:48.970259", - "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", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - NYC", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 1, - "capital_work_in_progress_account": "CWIP Account - NYC", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "Nuco Yard Care", - "cost_center": "Main - NYC", - "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": null, - "default_buying_terms": null, - "default_cash_account": "Cash - NYC", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": "Employee Advances - NYC", - "default_expense_account": "Cost of Goods Sold - NYC", - "default_expense_claim_payable_account": "Creditors - NYC", - "default_finance_book": null, - "default_holiday_list": "Standard Holiday List", - "default_in_transit_warehouse": null, - "default_income_account": "Sales - NYC", - "default_inventory_account": "Stock In Hand - NYC", - "default_letter_head": null, - "default_operating_cost_account": null, - "default_payable_account": "Creditors - NYC", - "default_payroll_payable_account": "Payroll Payable - NYC", - "default_provisional_account": null, - "default_receivable_account": "Debtors - NYC", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - NYC", - "depreciation_expense_account": "Depreciation - NYC", - "disposal_account": "Gain/Loss on Asset Disposal - NYC", - "docstatus": 0, - "doctype": "Company", - "domain": null, - "email": "operations@nucoyardcare.com", - "enable_perpetual_inventory": 1, - "enable_provisional_accounting_for_non_stock_items": 0, - "exception_budget_approver_role": null, - "exchange_gain_loss_account": "Exchange Gain/Loss - NYC", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - NYC", - "expenses_included_in_valuation": "Expenses Included In Valuation - NYC", - "fax": null, - "is_group": 0, - "modified": "2026-02-18 03:11:48.975003", - "monthly_sales_target": 0.0, - "name": "Nuco Yard Care", - "old_parent": "", - "parent_company": null, - "payment_terms": null, - "phone_no": "208-518-6032", - "reconcile_on_advance_payment_date": 0, - "reconciliation_takes_effect_on": "Oldest Of Invoice Or Advance", - "registration_details": null, - "round_off_account": "Round Off - NYC", - "round_off_cost_center": "Main - NYC", - "round_off_for_opening": null, - "sales_monthly_history": "{}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - NYC", - "stock_received_but_not_billed": "Stock Received But Not Billed - NYC", - "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": "www.nucoyardcare.com", - "write_off_account": "Write Off - NYC" - }, - { - "abbr": "LF", - "accumulated_depreciation_account": "Accumulated Depreciation - LF", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - LF", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 0, - "capital_work_in_progress_account": "CWIP Account - LF", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "Lowe Fencing", - "cost_center": "Main - LF", - "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": "Mountain West Checking - LF", - "default_buying_terms": null, - "default_cash_account": "Cash - LF", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": "Employee Advances - LF", - "default_expense_account": "Cost of Goods Sold - LF", - "default_expense_claim_payable_account": "Creditors - LF", - "default_finance_book": null, - "default_holiday_list": "Standard Holiday List", - "default_in_transit_warehouse": null, - "default_income_account": "Fencing Sales - LF", - "default_inventory_account": "Stock In Hand - LF", - "default_letter_head": "Lowe Fencing", - "default_operating_cost_account": null, - "default_payable_account": "Creditors - LF", - "default_payroll_payable_account": "Payroll Payable - LF", - "default_provisional_account": null, - "default_receivable_account": "Debtors - LF", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - LF", - "depreciation_expense_account": "Depreciation - LF", - "disposal_account": "Gain/Loss on Asset Disposal - LF", - "docstatus": 0, - "doctype": "Company", - "domain": null, - "email": "office@lowefencing.com", - "enable_perpetual_inventory": 1, - "enable_provisional_accounting_for_non_stock_items": 0, - "exception_budget_approver_role": null, - "exchange_gain_loss_account": "Exchange Gain/Loss - LF", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - LF", - "expenses_included_in_valuation": "Expenses Included In Valuation - LF", - "fax": null, - "is_group": 0, - "modified": "2026-02-18 03:11:48.972490", - "monthly_sales_target": 0.0, - "name": "Lowe Fencing", - "old_parent": "", - "parent_company": null, - "payment_terms": null, - "phone_no": "2084848165", - "reconcile_on_advance_payment_date": 0, - "reconciliation_takes_effect_on": "Oldest Of Invoice Or Advance", - "registration_details": null, - "round_off_account": "Round Off - LF", - "round_off_cost_center": "Main - LF", - "round_off_for_opening": null, - "sales_monthly_history": "{}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - LF", - "stock_received_but_not_billed": "Stock Received But Not Billed - LF", - "submit_err_jv": 0, - "tax_id": "81-1640506", - "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 - LF" - }, - { - "abbr": "S", - "accumulated_depreciation_account": "Accumulated Depreciation - S", - "allow_account_creation_against_child_company": 0, - "asset_received_but_not_billed": "Asset Received But Not Billed - S", - "auto_err_frequency": "Daily", - "auto_exchange_rate_revaluation": 0, - "book_advance_payments_in_separate_party_account": 1, - "capital_work_in_progress_account": "CWIP Account - S", - "chart_of_accounts": "Standard", - "company_description": null, - "company_logo": null, - "company_name": "Sprinklers Northwest", - "cost_center": "Main - S", - "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": "2009-04-06", - "default_advance_paid_account": null, - "default_advance_received_account": "Customer Deposits - S", - "default_bank_account": "Undeposited Funds - S", - "default_buying_terms": null, - "default_cash_account": "Undeposited Funds - S", - "default_currency": "USD", - "default_deferred_expense_account": null, - "default_deferred_revenue_account": null, - "default_discount_account": null, - "default_employee_advance_account": "Employee Advances - S", - "default_expense_account": "Cost of Goods Sold - S", - "default_expense_claim_payable_account": "Creditors - S", - "default_finance_book": null, - "default_holiday_list": "Standard Holiday List", - "default_in_transit_warehouse": null, - "default_income_account": "Sales - S", - "default_inventory_account": "Stock In Hand - S", - "default_letter_head": "Sprinklers Northwest", - "default_operating_cost_account": null, - "default_payable_account": "Creditors - S", - "default_payroll_payable_account": "Payroll Payable - S", - "default_provisional_account": null, - "default_receivable_account": "Debtors - S", - "default_sales_contact": null, - "default_selling_terms": null, - "default_warehouse_for_sales_return": null, - "depreciation_cost_center": "Main - S", - "depreciation_expense_account": "Depreciation - S", - "disposal_account": "Gain/Loss on Asset Disposal - S", - "docstatus": 0, - "doctype": "Company", - "domain": "", - "email": "info@sprinklersnorthwest.com", - "enable_perpetual_inventory": 1, - "enable_provisional_accounting_for_non_stock_items": 0, - "exception_budget_approver_role": null, - "exchange_gain_loss_account": "Exchange Gain/Loss - S", - "existing_company": null, - "expenses_included_in_asset_valuation": "Expenses Included In Asset Valuation - S", - "expenses_included_in_valuation": "Expenses Included In Valuation - S", - "fax": null, - "is_group": 0, - "modified": "2026-02-18 03:11:48.978957", - "monthly_sales_target": 0.0, - "name": "Sprinklers Northwest", - "old_parent": "", - "parent_company": null, - "payment_terms": null, - "phone_no": "208-818-8838", - "reconcile_on_advance_payment_date": 0, - "reconciliation_takes_effect_on": "Oldest Of Invoice Or Advance", - "registration_details": null, - "round_off_account": "Round Off - S", - "round_off_cost_center": "Main - S", - "round_off_for_opening": null, - "sales_monthly_history": "{\"02-2025\": 0.0, \"02-2026\": 0.0, \"05-2025\": 0.0, \"07-2025\": 0.0}", - "series_for_depreciation_entry": null, - "stock_adjustment_account": "Stock Adjustment - S", - "stock_received_but_not_billed": "Stock Received But Not Billed - S", - "submit_err_jv": 0, - "tax_id": "26-4603792", - "total_monthly_sales": 23400.0, - "transactions_annual_history": "{\"1740463200.0\": 1, \"1740549600.0\": 1, \"1741154400.0\": 1, \"1744866000.0\": 1, \"1744952400.0\": 1, \"1745557200.0\": 3, \"1746162000.0\": 1, \"1746594000.0\": 1, \"1746680400.0\": 2, \"1746853200.0\": 1, \"1747285200.0\": 1, \"1748581200.0\": 1, \"1750136400.0\": 2, \"1753333200.0\": 1, \"1755234000.0\": 2, \"1755493200.0\": 1, \"1755752400.0\": 1, \"1756270800.0\": 1, \"1756357200.0\": 1, \"1759986000.0\": 1, \"1764568800.0\": 2, \"1764655200.0\": 5, \"1765260000.0\": 7, \"1765778400.0\": 1, \"1766124000.0\": 1, \"1766210400.0\": 1, \"1766469600.0\": 13, \"1766728800.0\": 6, \"1767938400.0\": 1, \"1768456800.0\": 20, \"1768543200.0\": 1, \"1768975200.0\": 1, \"1769148000.0\": 1, \"1769407200.0\": 1, \"1769493600.0\": 1, \"1770184800.0\": 1, \"1770357600.0\": 1, \"1770444000.0\": 1, \"1770530400.0\": 1, \"1770616800.0\": 1, \"1770789600.0\": 1, \"1770876000.0\": 1, \"1770962400.0\": 1, \"1771048800.0\": 1}", - "unrealized_exchange_gain_loss_account": null, - "unrealized_profit_loss_account": null, - "website": "www.sprinklersnorthwest.com", - "write_off_account": "Write Off - S" - } -] \ No newline at end of file diff --git a/custom_ui/fixtures/custom_field.json b/custom_ui/fixtures/custom_field.json index 1996951..b8b7ec3 100644 --- a/custom_ui/fixtures/custom_field.json +++ b/custom_ui/fixtures/custom_field.json @@ -774,7 +774,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:47.846272", + "modified": "2026-02-18 05:53:31.144252", "module": null, "name": "Quotation-requires_half_payment", "no_copy": 0, @@ -2199,7 +2199,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:47.954343", + "modified": "2026-02-18 05:53:31.244627", "module": null, "name": "Sales Order-requires_half_payment", "no_copy": 0, @@ -7352,6 +7352,63 @@ "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Address", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "tax_category", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "fax", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Tax Category", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2018-12-28 22:29:21.828090", + "module": null, + "name": "Address-tax_category", + "no_copy": 0, + "non_negative": 0, + "options": "Tax Category", + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -7922,63 +7979,6 @@ "unique": 0, "width": null }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "Contact", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "is_billing_contact", - "fieldtype": "Check", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "is_primary_contact", - "is_system_generated": 0, - "is_virtual": 0, - "label": "Is Billing Contact", - "length": 0, - "link_filters": null, - "mandatory_depends_on": null, - "modified": "2019-12-02 11:00:03.432994", - "module": null, - "name": "Contact-is_billing_contact", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "placeholder": null, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "show_dashboard": 0, - "sort_options": 0, - "translatable": 0, - "unique": 0, - "width": null - }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -8070,7 +8070,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:48.116290", + "modified": "2026-02-18 05:53:31.409674", "module": null, "name": "Project-requires_half_payment", "no_copy": 0, @@ -8469,7 +8469,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:48.203042", + "modified": "2026-02-18 05:53:31.499516", "module": null, "name": "Project-is_half_down_paid", "no_copy": 0, @@ -8663,6 +8663,63 @@ "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": "0", + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Address", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "is_your_company_address", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "linked_with", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Is Your Company Address", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2020-10-14 17:41:40.878179", + "module": null, + "name": "Address-is_your_company_address", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -8697,7 +8754,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:48.044130", + "modified": "2026-02-18 05:53:31.336319", "module": null, "name": "Project-is_scheduled", "no_copy": 0, @@ -8891,63 +8948,6 @@ "unique": 0, "width": null }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": "0", - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "Address", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "is_your_company_address", - "fieldtype": "Check", - "hidden": 1, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "custom_subdivision", - "is_system_generated": 0, - "is_virtual": 0, - "label": "Is Your Company Address", - "length": 0, - "link_filters": null, - "mandatory_depends_on": null, - "modified": "2020-10-14 17:41:40.878179", - "module": null, - "name": "Address-is_your_company_address", - "no_copy": 0, - "non_negative": 0, - "options": null, - "permlevel": 0, - "placeholder": null, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "show_dashboard": 0, - "sort_options": 0, - "translatable": 0, - "unique": 0, - "width": null - }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -9860,6 +9860,63 @@ "unique": 0, "width": null }, + { + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "docstatus": 0, + "doctype": "Custom Field", + "dt": "Contact", + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "is_billing_contact", + "fieldtype": "Check", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "insert_after": "is_primary_contact", + "is_system_generated": 0, + "is_virtual": 0, + "label": "Is Billing Contact", + "length": 0, + "link_filters": null, + "mandatory_depends_on": null, + "modified": "2019-12-02 11:00:03.432994", + "module": null, + "name": "Contact-is_billing_contact", + "no_copy": 0, + "non_negative": 0, + "options": null, + "permlevel": 0, + "placeholder": null, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 0, + "read_only_depends_on": null, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "show_dashboard": 0, + "sort_options": 0, + "translatable": 0, + "unique": 0, + "width": null + }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, @@ -10122,7 +10179,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:47.644900", + "modified": "2026-02-18 05:53:30.911394", "module": null, "name": "Address-latitude", "no_copy": 0, @@ -10236,7 +10293,7 @@ "length": 0, "link_filters": null, "mandatory_depends_on": null, - "modified": "2026-02-13 03:40:47.742672", + "modified": "2026-02-18 05:53:31.027367", "module": null, "name": "Address-longitude", "no_copy": 0, @@ -12824,63 +12881,6 @@ "unique": 0, "width": null }, - { - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "docstatus": 0, - "doctype": "Custom Field", - "dt": "Address", - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "tax_category", - "fieldtype": "Link", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "insert_after": "fax", - "is_system_generated": 0, - "is_virtual": 0, - "label": "Tax Category", - "length": 0, - "link_filters": null, - "mandatory_depends_on": null, - "modified": "2018-12-28 22:29:21.828090", - "module": null, - "name": "Address-tax_category", - "no_copy": 0, - "non_negative": 0, - "options": "Tax Category", - "permlevel": 0, - "placeholder": null, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "show_dashboard": 0, - "sort_options": 0, - "translatable": 0, - "unique": 0, - "width": null - }, { "allow_in_quick_entry": 0, "allow_on_submit": 0, diff --git a/custom_ui/fixtures/doctype.json b/custom_ui/fixtures/doctype.json index b17e326..6194cc0 100644 --- a/custom_ui/fixtures/doctype.json +++ b/custom_ui/fixtures/doctype.json @@ -1408,8 +1408,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:56.742093", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:06.673351", "module": "CRM", "name": "Properties", "naming_rule": "By fieldname", @@ -3186,8 +3186,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:56.858702", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:06.772450", "module": "CRM", "name": "SNW Jobs", "naming_rule": "Autoincrement", @@ -4109,8 +4109,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:56.945388", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:06.857449", "module": "Projects", "name": "Work Schedule", "naming_rule": "", @@ -9151,8 +9151,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.082026", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:06.994640", "module": "CRM", "name": "Follow Up Checklist", "naming_rule": "By fieldname", @@ -9457,8 +9457,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.142428", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.051455", "module": "CRM", "name": "Follow Check List Fields", "naming_rule": "By fieldname", @@ -10147,8 +10147,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.223647", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.130036", "module": "Brotherton SOP", "name": "SOP-Documentation", "naming_rule": "Set by user", @@ -10348,8 +10348,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.280001", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.183497", "module": "Desk", "name": "SOP Notes", "naming_rule": "", @@ -10694,8 +10694,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.342885", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.252341", "module": "Desk", "name": "Tutorials", "naming_rule": "By fieldname", @@ -11064,8 +11064,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.405780", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.312923", "module": "Desk", "name": "Brotherton Meetings Scheduler", "naming_rule": "", @@ -11242,8 +11242,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.458217", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.366392", "module": "Desk", "name": "Meeting Participants", "naming_rule": "", @@ -11588,8 +11588,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.531049", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.439851", "module": "Desk", "name": "Add-On Job Detail", "naming_rule": "By fieldname", @@ -11870,8 +11870,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.590750", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.498060", "module": "Desk", "name": "Crew Schedule Detail", "naming_rule": "", @@ -12152,8 +12152,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.652306", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.556263", "module": "Setup", "name": "City", "naming_rule": "By fieldname", @@ -14738,8 +14738,8 @@ "make_attachments_public": 1, "max_attachments": 5, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.775224", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.682241", "module": "Projects", "name": "Fencing Job Queue", "naming_rule": "Set by user", @@ -15630,8 +15630,8 @@ "make_attachments_public": 1, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.848048", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.752312", "module": "Setup", "name": "Irrigation District", "naming_rule": "By fieldname", @@ -15808,8 +15808,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.901293", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.803048", "module": "Setup", "name": "Linked Companies", "naming_rule": "", @@ -16154,8 +16154,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:57.959975", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.860430", "module": "Contacts", "name": "Address Contact Role", "naming_rule": "", @@ -17504,6 +17504,70 @@ "unique": 0, "width": null }, + { + "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "documentation_url": null, + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amended_from", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "is_virtual": 0, + "label": "Amended From", + "length": 0, + "link_filters": null, + "make_attachment_public": 0, + "mandatory_depends_on": null, + "max_height": null, + "no_copy": 1, + "non_negative": 0, + "oldfieldname": null, + "oldfieldtype": null, + "options": "Backflow Test Form", + "parent": "Backflow Test Form", + "parentfield": "fields", + "parenttype": "DocType", + "permlevel": 0, + "placeholder": null, + "precision": null, + "print_hide": 1, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 1, + "set_only_once": 0, + "show_dashboard": 0, + "show_on_timeline": 0, + "show_preview_popup": 0, + "sort_options": 0, + "translatable": 0, + "trigger": null, + "unique": 0, + "width": null + }, { "allow_bulk_edit": 0, "allow_in_quick_entry": 0, @@ -17588,8 +17652,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.042143", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:07.939924", "module": "Selling", "name": "Backflow Test Form", "naming_rule": "", @@ -18278,8 +18342,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.125224", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.023120", "module": "Selling", "name": "Pre-Built Routes", "naming_rule": "By \"Naming Series\" field", @@ -18799,8 +18863,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.181922", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.077825", "module": "Contacts", "name": "Assigned Address", "naming_rule": "By fieldname", @@ -20469,6 +20533,70 @@ "unique": 0, "width": null }, + { + "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "documentation_url": null, + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amended_from", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "is_virtual": 0, + "label": "Amended From", + "length": 0, + "link_filters": null, + "make_attachment_public": 0, + "mandatory_depends_on": null, + "max_height": null, + "no_copy": 1, + "non_negative": 0, + "oldfieldname": null, + "oldfieldtype": null, + "options": "Locate Log", + "parent": "Locate Log", + "parentfield": "fields", + "parenttype": "DocType", + "permlevel": 0, + "placeholder": null, + "precision": null, + "print_hide": 1, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 1, + "set_only_once": 0, + "show_dashboard": 0, + "show_on_timeline": 0, + "show_preview_popup": 0, + "sort_options": 0, + "translatable": 0, + "trigger": null, + "unique": 0, + "width": null + }, { "allow_bulk_edit": 0, "allow_in_quick_entry": 0, @@ -20567,8 +20695,8 @@ "make_attachments_public": 1, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.297143", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.194084", "module": "Projects", "name": "Locate Log", "naming_rule": "", @@ -21587,6 +21715,70 @@ "unique": 0, "width": null }, + { + "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "columns": 0, + "default": null, + "depends_on": null, + "description": null, + "documentation_url": null, + "fetch_from": null, + "fetch_if_empty": 0, + "fieldname": "amended_from", + "fieldtype": "Link", + "hidden": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 0, + "in_preview": 0, + "in_standard_filter": 0, + "is_virtual": 0, + "label": "Amended From", + "length": 0, + "link_filters": null, + "make_attachment_public": 0, + "mandatory_depends_on": null, + "max_height": null, + "no_copy": 1, + "non_negative": 0, + "oldfieldname": null, + "oldfieldtype": null, + "options": "Backflow test report form", + "parent": "Backflow test report form", + "parentfield": "fields", + "parenttype": "DocType", + "permlevel": 0, + "placeholder": null, + "precision": null, + "print_hide": 1, + "print_hide_if_no_value": 0, + "print_width": null, + "read_only": 1, + "read_only_depends_on": null, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 1, + "set_only_once": 0, + "show_dashboard": 0, + "show_on_timeline": 0, + "show_preview_popup": 0, + "sort_options": 0, + "translatable": 0, + "trigger": null, + "unique": 0, + "width": null + }, { "allow_bulk_edit": 0, "allow_in_quick_entry": 0, @@ -21671,8 +21863,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.369829", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.281212", "module": "Brotherton SOP", "name": "Backflow test report form", "naming_rule": "", @@ -21977,8 +22169,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.440463", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.359566", "module": "Accounts", "name": "QB Export Entry", "naming_rule": "Autoincrement", @@ -22515,8 +22707,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.505673", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.425018", "module": "Accounts", "name": "QB Export", "naming_rule": "Expression", @@ -23013,8 +23205,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.564164", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.483230", "module": "Desk", "name": "Custom Customer Address Link", "naming_rule": "", @@ -23359,8 +23551,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.627216", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.546326", "module": "Selling", "name": "On-Site Meeting", "naming_rule": "Expression", @@ -23537,8 +23729,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.682665", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.600209", "module": "Selling", "name": "Route Technician Assignment", "naming_rule": "", @@ -23691,8 +23883,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.738233", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.658109", "module": "Desk", "name": "Test Doctype", "naming_rule": "", @@ -23869,8 +24061,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.788951", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.709182", "module": "Custom", "name": "Lead Company Link", "naming_rule": "", @@ -24087,8 +24279,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.840269", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.766401", "module": "Custom UI", "name": "Customer Task Link", "naming_rule": "", @@ -24305,8 +24497,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.891422", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.816451", "module": "Custom UI", "name": "Address Task Link", "naming_rule": "", @@ -24459,8 +24651,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.941222", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.865553", "module": "Custom", "name": "Lead Companies Link", "naming_rule": "", @@ -24677,8 +24869,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:58.994171", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.917371", "module": "Custom", "name": "Address Project Link", "naming_rule": "", @@ -24895,8 +25087,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.051082", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:08.974612", "module": "Custom", "name": "Address Quotation Link", "naming_rule": "", @@ -25113,8 +25305,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.106232", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.026841", "module": "Custom", "name": "Address On-Site Meeting Link", "naming_rule": "", @@ -25331,8 +25523,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.160894", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.082083", "module": "Custom", "name": "Address Sales Order Link", "naming_rule": "", @@ -25485,8 +25677,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.215030", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.136387", "module": "Custom", "name": "Contact Address Link", "naming_rule": "", @@ -25639,8 +25831,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.268931", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.193466", "module": "Custom", "name": "Lead On-Site Meeting Link", "naming_rule": "", @@ -26241,8 +26433,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.338411", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.263666", "module": "Selling", "name": "Quotation Template", "naming_rule": "", @@ -26739,8 +26931,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.414290", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.340697", "module": "Selling", "name": "Quotation Template Item", "naming_rule": "", @@ -26893,8 +27085,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.466637", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.393557", "module": "Custom UI", "name": "Customer Company Link", "naming_rule": "", @@ -27047,8 +27239,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.517759", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.446933", "module": "Custom UI", "name": "Customer Address Link", "naming_rule": "", @@ -27201,8 +27393,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.571616", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.498323", "module": "Custom UI", "name": "Customer Contact Link", "naming_rule": "", @@ -27355,8 +27547,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.625071", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.549985", "module": "Custom", "name": "Address Contact Link", "naming_rule": "", @@ -27509,8 +27701,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.677468", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.603567", "module": "Custom", "name": "Customer On-Site Meeting Link", "naming_rule": "", @@ -27663,8 +27855,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.730485", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.657861", "module": "Custom", "name": "Customer Project Link", "naming_rule": "", @@ -27817,8 +28009,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.783302", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.713140", "module": "Custom", "name": "Customer Quotation Link", "naming_rule": "", @@ -27971,8 +28163,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.837260", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.765294", "module": "Custom", "name": "Customer Sales Order Link", "naming_rule": "", @@ -28125,8 +28317,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.891072", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.817838", "module": "Custom", "name": "Lead Address Link", "naming_rule": "", @@ -28279,8 +28471,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.941261", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.869884", "module": "Custom", "name": "Lead Contact Link", "naming_rule": "", @@ -28433,8 +28625,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:54:59.991240", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.922290", "module": "Custom", "name": "Lead Quotation Link", "naming_rule": "", @@ -28587,8 +28779,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.041588", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:09.973904", "module": "Custom", "name": "Address Company Link", "naming_rule": "", @@ -29637,8 +29829,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.106804", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.041502", "module": "Custom UI", "name": "Bid Meeting Note Form Field", "naming_rule": "", @@ -29898,70 +30090,6 @@ "trigger": null, "unique": 0, "width": null - }, - { - "allow_bulk_edit": 0, - "allow_in_quick_entry": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "collapsible_depends_on": null, - "columns": 0, - "default": null, - "depends_on": null, - "description": null, - "documentation_url": null, - "fetch_from": null, - "fetch_if_empty": 0, - "fieldname": "company", - "fieldtype": "Link", - "hidden": 0, - "hide_border": 0, - "hide_days": 0, - "hide_seconds": 0, - "ignore_user_permissions": 0, - "ignore_xss_filter": 0, - "in_filter": 0, - "in_global_search": 0, - "in_list_view": 0, - "in_preview": 0, - "in_standard_filter": 0, - "is_virtual": 0, - "label": "Company", - "length": 0, - "link_filters": null, - "make_attachment_public": 0, - "mandatory_depends_on": null, - "max_height": null, - "no_copy": 0, - "non_negative": 0, - "oldfieldname": null, - "oldfieldtype": null, - "options": "Company", - "parent": "Bid Meeting Note Form", - "parentfield": "fields", - "parenttype": "DocType", - "permlevel": 0, - "placeholder": null, - "precision": "", - "print_hide": 0, - "print_hide_if_no_value": 0, - "print_width": null, - "read_only": 0, - "read_only_depends_on": null, - "remember_last_selected_value": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "show_dashboard": 0, - "show_on_timeline": 0, - "show_preview_popup": 0, - "sort_options": 0, - "translatable": 0, - "trigger": null, - "unique": 0, - "width": null } ], "force_re_route_to_default_view": 0, @@ -29983,8 +30111,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.166449", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.102840", "module": "Custom UI", "name": "Bid Meeting Note Form", "naming_rule": "Expression", @@ -30865,8 +30993,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.232746", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.166711", "module": "Custom UI", "name": "Bid Meeting Note Field", "naming_rule": "", @@ -31275,8 +31403,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.296541", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.230323", "module": "Custom UI", "name": "Bid Meeting Note", "naming_rule": "", @@ -31453,8 +31581,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.346318", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.281244", "module": "Custom UI", "name": "Project Task Link", "naming_rule": "", @@ -31607,8 +31735,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.402929", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.338801", "module": "Custom UI", "name": "Condition", "naming_rule": "", @@ -31913,8 +32041,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.458061", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.394181", "module": "Custom UI", "name": "Bid Meeting Note Field Quantity", "naming_rule": "", @@ -33091,8 +33219,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.537703", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.467828", "module": "Custom UI", "name": "Service Address 2", "naming_rule": "", @@ -33269,8 +33397,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.594029", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.518277", "module": "Custom UI", "name": "Skip Day", "naming_rule": "", @@ -33615,8 +33743,8 @@ "make_attachments_public": 0, "max_attachments": 0, "menu_index": null, - "migration_hash": "4dc7809bd52be5cb3c395e5b95eb3053", - "modified": "2026-02-18 03:55:00.653964", + "migration_hash": "19313cc8bc4d8275f72784e4ff5b140e", + "modified": "2026-02-18 05:53:10.573936", "module": "Custom UI", "name": "Address Customer Link", "naming_rule": "", diff --git a/custom_ui/fixtures/project_template.json b/custom_ui/fixtures/project_template.json index 5c095ce..95cfa42 100644 --- a/custom_ui/fixtures/project_template.json +++ b/custom_ui/fixtures/project_template.json @@ -2,7 +2,7 @@ { "bid_meeting_note_form": "SNW Install Bid Meeting Notes", "calendar_color": "#c1dec5", - "company": "Sprinklers Northwest", + "company": "", "custom__complete_method": "Task Weight", "docstatus": 0, "doctype": "Project Template", diff --git a/custom_ui/install.py b/custom_ui/install.py index 626c457..441459c 100644 --- a/custom_ui/install.py +++ b/custom_ui/install.py @@ -7,7 +7,7 @@ from .utils import create_module import holidays from datetime import date, timedelta from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import create_charts - +from erpnext.setup.doctype.company.company import Company def after_install(): # create_module() # add_custom_fields() @@ -47,8 +47,8 @@ def after_migrate(): # create_task_types() # create_tasks() # create_bid_meeting_note_form_templates() - create_accounts() - # create_companies() + # create_accounts() + create_companies() # init_stripe_accounts() # update_address_fields() @@ -1685,3 +1685,60 @@ def create_stripe_accounts(): doc.insert(ignore_permissions=True, ignore_if_duplicate=True) frappe.db.commit() + +def create_companies(): + """Create necessary companies if they do not exist.""" + print("\nšŸ”§ Checking for necessary companies...") + + companies = [ + { + "company_name": "Sprinklers Northwest", + "abbr": "SNW", + "default_currency": "USD", + "chart_template": "Standard Template" + }, + { + "company_name": "Veritas Stone", + "abbr": "VS", + "default_currency": "USD", + "chart_template": "Standard Template" + }, + { + "company_name": "Daniels Landscape Supplies", + "abbr": "DLS", + "default_currency": "USD", + "chart_template": "Standard Template" + }, + { + "company_name": "Nuco Yard Care", + "abbr": "NYC", + "default_currency": "USD", + "chart_template": "Standard Template" + }, + { + "company_name": "Lowe Fencing", + "abbr": "LF", + "default_currency": "USD", + "chart_template": "Standard Template" + } + ] + + for company in companies: + # Idempotency check + if frappe.db.exists("Company", {"name": company["company_name"]}): + continue + doc: Company = frappe.get_doc({ + "doctype": "Company", + "company_name": company["company_name"], + "abbr": company["abbr"], + "default_currency": company["default_currency"], + "create_chart_of_accounts_based_on": company["chart_template"], + "country": "United States" + }) + doc.insert(ignore_permissions=True) + doc.create_default_accounts() + doc.create_default_cost_center() + doc.create_default_warehouses() + doc.create_default_tax_template() + doc.create_default_departments() + print(f"āœ… Created company '{company['company_name']}' with default accounts, cost center, and warehouse.") \ No newline at end of file