From ab5965235ffb95ae1f60e4214ab43fa5ad6bb5a1 Mon Sep 17 00:00:00 2001 From: Casey Date: Wed, 18 Feb 2026 15:43:50 -0600 Subject: [PATCH] updated install.py --- custom_ui/hooks.py | 3 ++- custom_ui/install.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/custom_ui/hooks.py b/custom_ui/hooks.py index 44853f5..d0bb25a 100644 --- a/custom_ui/hooks.py +++ b/custom_ui/hooks.py @@ -255,7 +255,8 @@ fixtures = [ # These don't have reliable flags → export all {"dt": "Custom Field"}, - {"dt": "Property Setter"}, + {"dt": "Property Setter", + "filters": [["name", "not in", ["Service Appointment-service_address", "Service Appointment-customer", "Service Appointment-project", "Service Appointment-project_template", "Service Appointment"]],]}, {"dt": "Client Script"}, {"dt": "Server Script"}, # {"dt": "Item"} diff --git a/custom_ui/install.py b/custom_ui/install.py index 19b44b5..94e65cf 100644 --- a/custom_ui/install.py +++ b/custom_ui/install.py @@ -8,6 +8,7 @@ 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 +from erpnext.setup.setup_wizard.setup_wizard import setup_defaults def after_install(): # create_module() # add_custom_fields() @@ -32,6 +33,7 @@ def after_install(): print("\nāœ… Custom UI installation complete. Please run `bench migrate` to apply changes to the database and refresh metadata.\n") def after_migrate(): + setup_defaults() add_custom_fields() # update_onsite_meeting_fields() frappe.db.commit()