This PR adds some trigger to make sure that all python request is correctly finished. This is needed because an unfinished python request makes a traceback appears on runbot. opw-28835921 closes odoo/odoo#99475 X-original-commit: 7a98b59b36e9e2cf1816b73ebc3be5de58e054c2 Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>