[minor] setup wizard via error report
This commit is contained in:
parent
92015a1268
commit
8f96c39be6
@ -419,6 +419,7 @@ $.extend(erpnext.wiz, {
|
|||||||
load_chart_of_accounts: function(slide) {
|
load_chart_of_accounts: function(slide) {
|
||||||
var country = slide.wiz.get_values().country;
|
var country = slide.wiz.get_values().country;
|
||||||
|
|
||||||
|
if(country) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts.get_charts_for_country",
|
method: "erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts.get_charts_for_country",
|
||||||
args: {"country": country},
|
args: {"country": country},
|
||||||
@ -436,6 +437,7 @@ $.extend(erpnext.wiz, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
bind_events: function(slide) {
|
bind_events: function(slide) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user