odoo/enterprise#59467

Created by fw-bot
label
odoo-dev:master-16.0-fix-cache-active-menu-item-gdi-0kRq-fw
head
b3c3f89ded7fb92540b90dcff815ad41cb01f293
target
master
merged
2 months ago by Website, Guillaume Dieleman (gdi)
forward-port of
odoo/enterprise#58853

[FW][FIX] test_appointment_full, appointment: remove record link before test

Com PR: https://github.com/odoo/odoo/pull/157897

---
We must disable the cache for the header when there are record links in
it. When the runbot performs enterprise tests, "Helpdesk" appears in the
header, which includes a record link. This commit removes record like
urls in the menu before doing the performance test to prevent increasing
the query count.

opw-3694651
opw-3750925
opw-3781668

Forward-Port-Of: odoo/enterprise#59358
Forward-Port-Of: odoo/enterprise#58853