updated install.py

This commit is contained in:
Casey 2026-02-18 15:43:50 -06:00
parent 15f57d57d7
commit ab5965235f
2 changed files with 4 additions and 1 deletions

View File

@ -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"}

View File

@ -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()