Skip to content
Snippets Groups Projects
Commit 7dab2946 authored by Audric Onockx (auon)'s avatar Audric Onockx (auon)
Browse files

[FIX] project: make _get_subtasks_recursively actually recursive

Previous commit (https://github.com/odoo/odoo/pull/116570

) renamed
this method _get_subtasks_recursively.
But instead of calling itself in the return statment, the
method _get_all_subtasks was called resulting in a non-recursive
function and to potential undesired behavior as _get_all_subtasks calls
_get_subtask_ids_per_task_id that calls _get_subtasks_recursively in
some cases.

With this commit, we just call _get_subtasks_recursively on the children
to make it actually recursive, like it was in the first place.

closes odoo/odoo#122331

Signed-off-by: default avatarXavier Bol (xbo) <xbo@odoo.com>
parent 054b3294
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment