[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

@@ -8,7 +8,7 @@ frappe.query_reports["Accounts Payable"] = {
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("company")
"default": frappe.defaults.get_user_default("Company")
},
{
"fieldname":"supplier",