fix: setup wizard load chart of accounts and fiscal year on change of country (backport #48125) (#48128)

fix: setup wizard load chart of accounts and fiscal year on change of country (#48125)

(cherry picked from commit 14f0569a39)

Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
mergify[bot]
2025-06-18 17:26:55 +05:30
committed by GitHub
parent f0ae90011b
commit f85b08d2f5

View File

@@ -55,9 +55,13 @@ erpnext.setup.slides_settings = [
onload: function (slide) {
this.bind_events(slide);
this.load_chart_of_accounts(slide);
this.set_fy_dates(slide);
},
before_show: function () {
this.load_chart_of_accounts(this);
this.set_fy_dates(this);
},
validate: function () {
if (!this.validate_fy_dates()) {
return false;