mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
Fix related to user_default
This commit is contained in:
@@ -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")
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user