Merge branch 'version-12-hotfix' into qi-on-return-hotfix

This commit is contained in:
Marica
2020-06-12 12:32:27 +05:30
committed by GitHub

View File

@@ -14,6 +14,9 @@ frappe.treeview_settings["Account"] = {
on_change: function() {
var me = frappe.treeview_settings['Account'].treeview;
var company = me.page.fields_dict.company.get_value();
if (!company) {
frappe.throw(__("Please set a Company"));
}
frappe.call({
method: "erpnext.accounts.doctype.account.account.get_root_company",
args: {