mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
[fix] select default company in chart of accounts
This commit is contained in:
@@ -60,6 +60,9 @@ frappe.pages["Accounts Browser"].on_page_load = function(wrapper){
|
||||
chart_area.get(0), wrapper.page);
|
||||
})
|
||||
|
||||
if(frappe.defaults.get_default('company')) {
|
||||
wrapper.$company_select.val(frappe.defaults.get_default('company'));
|
||||
}
|
||||
wrapper.$company_select.change();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user