mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
[fix] [minor] use wn.defaults.get_default instead of sys_defaults
This commit is contained in:
@@ -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")
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user