This code is not useful since https://github.com/odoo/odoo/commit/9831ed08fe Note that this part of code will be refactored in web_enterprise. Task ID: 2085899 closes odoo/odoo#38499 Related: odoo/enterprise#6077 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>