fix: setup wizard load chart of accounts and fiscal year on change of country (#48125)
This commit is contained in:
@@ -61,9 +61,13 @@ erpnext.setup.slides_settings = [
|
|||||||
|
|
||||||
onload: function (slide) {
|
onload: function (slide) {
|
||||||
this.bind_events(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 () {
|
validate: function () {
|
||||||
if (!this.validate_fy_dates()) {
|
if (!this.validate_fy_dates()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user