fix: circular loop in project task (#25454)
* fix: circular loop in project task
This commit is contained in:
parent
9d6520d4a7
commit
b9d4719285
@ -32,7 +32,8 @@ frappe.ui.form.on("Task", {
|
|||||||
|
|
||||||
frm.set_query("parent_task", function () {
|
frm.set_query("parent_task", function () {
|
||||||
let filters = {
|
let filters = {
|
||||||
"is_group": 1
|
"is_group": 1,
|
||||||
|
"name": ["!=", frm.doc.name]
|
||||||
};
|
};
|
||||||
if (frm.doc.project) filters["project"] = frm.doc.project;
|
if (frm.doc.project) filters["project"] = frm.doc.project;
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user