This reverts commit 6c749a4b0d.
This commit was fixing an issue raised after a fix [1]
that is about to get reverted [2].
We will make a proper fix after the OXP2023 event.
[1]: https://github.com/odoo/odoo/commit/9682cfa174fb39ec9d9874951ea9ee2884058d96
[2]: https://github.com/odoo/odoo/pull/141401
closes odoo/odoo#141405
Signed-off-by: Romain Estievenart (res) <res@odoo.com>