[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

@@ -26,7 +26,7 @@ wn.query_reports["Monthly Attendance Sheet"] = {
"label": "Company",
"fieldtype": "Link",
"options": "Company",
"default": sys_defaults.company
"default": wn.defaults.get_default("company")
}
]
}

View File

@@ -26,7 +26,7 @@ wn.query_reports["Monthly Salary Register"] = {
"label": "Company",
"fieldtype": "Link",
"options": "Company",
"default": sys_defaults.company
"default": wn.defaults.get_default("company")
}
]
}