[fix] Get defaults based on doctype or fieldname

This commit is contained in:
Nabin Hait
2015-12-23 16:37:00 +05:30
parent d55d0c06e3
commit b6b56453e1
37 changed files with 39 additions and 39 deletions

View File

@@ -10,7 +10,7 @@ frappe.query_reports["Trial Balance"] = {
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("company"),
"default": frappe.defaults.get_user_default("Company"),
"reqd": 1
},
{