[fix] [minor] use wn.defaults.get_default instead of sys_defaults

This commit is contained in:
Anand Doshi
2013-07-26 13:02:18 +05:30
parent 2b518e37e5
commit 5491332772
14 changed files with 16 additions and 16 deletions

View File

@@ -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");
}