Compare commits
No commits in common. "93be7bd9c436cad7c092c9e98bcdb010ba3d1a39" and "15f57d57d7ef4131890c237c001a78a978f14e4b" have entirely different histories.
93be7bd9c4
...
15f57d57d7
2 changed files with 1 additions and 5 deletions
|
|
@ -255,8 +255,7 @@ fixtures = [
|
||||||
|
|
||||||
# These don't have reliable flags → export all
|
# These don't have reliable flags → export all
|
||||||
{"dt": "Custom Field"},
|
{"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": "Client Script"},
|
||||||
{"dt": "Server Script"},
|
{"dt": "Server Script"},
|
||||||
# {"dt": "Item"}
|
# {"dt": "Item"}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ import holidays
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import create_charts
|
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.doctype.company.company import Company
|
||||||
from erpnext.setup.setup_wizard.setup_wizard import setup_defaults
|
|
||||||
def after_install():
|
def after_install():
|
||||||
# create_module()
|
# create_module()
|
||||||
# add_custom_fields()
|
# add_custom_fields()
|
||||||
|
|
@ -33,8 +32,6 @@ def after_install():
|
||||||
print("\n✅ Custom UI installation complete. Please run `bench migrate` to apply changes to the database and refresh metadata.\n")
|
print("\n✅ Custom UI installation complete. Please run `bench migrate` to apply changes to the database and refresh metadata.\n")
|
||||||
|
|
||||||
def after_migrate():
|
def after_migrate():
|
||||||
print("\n🔧 Running post-migrate setup for Custom UI...\n")
|
|
||||||
setup_defaults()
|
|
||||||
add_custom_fields()
|
add_custom_fields()
|
||||||
# update_onsite_meeting_fields()
|
# update_onsite_meeting_fields()
|
||||||
frappe.db.commit()
|
frappe.db.commit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue