fix: apply permission while selecting projects (#25765)
This commit is contained in:
parent
8bc90ffcf5
commit
21e662f678
@ -5,12 +5,6 @@ frappe.provide("erpnext.projects");
|
||||
|
||||
frappe.ui.form.on("Task", {
|
||||
setup: function (frm) {
|
||||
frm.set_query("project", function () {
|
||||
return {
|
||||
query: "erpnext.projects.doctype.task.task.get_project"
|
||||
}
|
||||
});
|
||||
|
||||
frm.make_methods = {
|
||||
'Timesheet': () => frappe.model.open_mapped_doc({
|
||||
method: 'erpnext.projects.doctype.task.task.make_timesheet',
|
||||
|
Loading…
Reference in New Issue
Block a user