mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
get_query for profile based link fields to enable searching by name
This commit is contained in:
@@ -64,3 +64,5 @@ cur_frm.cscript.make_salary_structure = function(doc,dt,dn,det){
|
||||
st.grade=doc.grade;
|
||||
loaddoc('Salary Structure', st.name);
|
||||
}
|
||||
|
||||
cur_frm.fields_dict.user_id.get_query = erpnext.utils.profile_query;
|
||||
Reference in New Issue
Block a user