mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 10:26:30 +00:00
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) {
|
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