mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
fix: template filter for tasks
This commit is contained in:
@@ -5,4 +5,13 @@ frappe.ui.form.on('Project Template', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
setup: function (frm) {
|
||||
me.frm.set_query("task", "tasks", function (doc, cdt, cdn) {
|
||||
return {
|
||||
filters: {
|
||||
"is_template": 1
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user