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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user