Steps to reproduce the bug: - Let's consider a project P with 2 stages S1 and S2 where S2 is a closing stage - Create a task T in P and set T in S1 with a deadline in the past - Pass T to S2 Bug: T was still appearing when selecting the filter Late tasks opw:2900663 closes odoo/odoo#96308 X-original-commit: a88611e634ca74478308c274e43ea0de0d4716b2 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>