Fix related to user_default

This commit is contained in:
Nabin Hait
2014-03-14 15:10:42 +05:30
parent 27bb7892b3
commit 73083dc960
18 changed files with 21 additions and 21 deletions

View File

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

View File

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