fix: filter for employees in salary slip (#25361)
This commit is contained in:
parent
56c428663f
commit
4b496b65b7
@ -40,7 +40,9 @@ frappe.ui.form.on("Salary Slip", {
|
|||||||
frm.set_query("employee", function() {
|
frm.set_query("employee", function() {
|
||||||
return {
|
return {
|
||||||
query: "erpnext.controllers.queries.employee_query",
|
query: "erpnext.controllers.queries.employee_query",
|
||||||
filters: frm.doc.company
|
filters: {
|
||||||
|
company: frm.doc.company
|
||||||
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user