Forward-port of a commit that was wrongly forward-ported with [1], half of the diff was lost because it landed in master before the merge of another commit which removes what was being reintroduced here... [1]: https://github.com/odoo/odoo/commit/e7f497b027d5931b1cf57febcab5deda573b45bb closes odoo/odoo#73287 X-original-commit: 68d7d42cce012269342e18373a30970e2c582ba3 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>