mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 16:21:19 +00:00
[fix] [minor] profile query
This commit is contained in:
@@ -6,7 +6,7 @@ erpnext.hr.EmployeeController = wn.ui.form.Controller.extend({
|
||||
setup: function() {
|
||||
this.setup_leave_approver_select();
|
||||
this.frm.fields_dict.user_id.get_query = function(doc,cdt,cdn) {
|
||||
return { query:"controllers.queries.profile_query"} }
|
||||
return { query:"core.doctype.profile.profile.profile_query"} }
|
||||
this.frm.fields_dict.reports_to.get_query = function(doc,cdt,cdn) {
|
||||
return{ query:"controllers.queries.employee_query"} }
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user