fix: template filter for tasks
This commit is contained in:
parent
c32ac223ed
commit
c82b52855c
@ -5,4 +5,13 @@ frappe.ui.form.on('Project Template', {
|
|||||||
// refresh: function(frm) {
|
// refresh: function(frm) {
|
||||||
|
|
||||||
// }
|
// }
|
||||||
|
setup: function (frm) {
|
||||||
|
me.frm.set_query("task", "tasks", function (doc, cdt, cdn) {
|
||||||
|
return {
|
||||||
|
filters: {
|
||||||
|
"is_template": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user