mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
[fix] [minor] use wn.defaults.get_default instead of sys_defaults
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
doc.company = sys_defaults.company;
|
||||
doc.company = wn.defaults.get_default("company");
|
||||
refresh_field("company");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user