From bed30d93ccb3b3070f654e528c6ddaa75d097a1a Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Tue, 12 Oct 2021 08:34:14 +0000 Subject: [PATCH] [FIX] web: remove unused class o_py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#79751 Related: odoo/enterprise#22244 Signed-off-by: Adrien Dieudonné (adr) --- .../src/webclient/switch_company_menu/switch_company_menu.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/webclient/switch_company_menu/switch_company_menu.xml b/addons/web/static/src/webclient/switch_company_menu/switch_company_menu.xml index ffd90f621b4..223aae23a61 100644 --- a/addons/web/static/src/webclient/switch_company_menu/switch_company_menu.xml +++ b/addons/web/static/src/webclient/switch_company_menu/switch_company_menu.xml @@ -28,7 +28,7 @@ t-att-aria-label="company.name" t-att-title="(isCompanySelected ? 'Hide ' : 'Show ') + company.name + ' content.'" tabindex="0" - class="border-right toggle_company o_py" + class="border-right toggle_company" t-attf-class="{{isCurrent ? 'border-primary' : ''}}" t-on-click.stop="toggleCompany(company.id)"> @@ -43,7 +43,7 @@ t-att-aria-label="'Switch to ' + company.name " t-att-title="'Switch to ' + company.name " tabindex="0" - class="d-flex flex-grow-1 align-items-center py-0 log_into pl-2 o_py" + class="d-flex flex-grow-1 align-items-center py-0 log_into pl-2" t-att-class="isCurrent ? 'alert-primary ml-1 mr-2' : 'btn btn-light font-weight-normal border-0'" t-on-click="logIntoCompany(company.id)">