Backport of https://github.com/odoo/odoo/commit/cf753a7fdf1739dcf37d2ad74f4c8efb3d4ff3b3 (it was finally considered as a real bug to fix in stable versions from 10.0). opw-769955 opw-814459 Closes https://github.com/odoo/odoo/pull/22882
Backport of https://github.com/odoo/odoo/commit/cf753a7fdf1739dcf37d2ad74f4c8efb3d4ff3b3 (it was finally considered as a real bug to fix in stable versions from 10.0). opw-769955 opw-814459 Closes https://github.com/odoo/odoo/pull/22882