[minor] [fix] autoset abbreviation if company name is set in complete setup

This commit is contained in:
Anand Doshi 2013-07-16 16:56:28 +05:30
parent c8f4bda9a2
commit 9c2bb0e1db

View File

@ -116,6 +116,7 @@ $.extend(erpnext.complete_setup, {
var inp = d.fields_dict.company_name.input;
inp.value = wn.control_panel.company_name;
inp.disabled = true;
d.fields_dict.company_name.$input.trigger("change");
}
// set first name, last name