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:
@@ -33,7 +33,7 @@ var get_filters = function(){
|
||||
"label": "Company",
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": sys_defaults.company
|
||||
"default": wn.defaults.get_default("company")
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -33,7 +33,7 @@ var get_filters = function(){
|
||||
"label": "Company",
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": sys_defaults.company
|
||||
"default": wn.defaults.get_default("company")
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user