From 5f6443fa87ef5ef929fd21a049d12c3a54dde2a7 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Thu, 27 Oct 2022 08:55:07 +0000 Subject: [PATCH] [FIX] web: show the form status indicator with long breadcrumb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commit, odoo/odoo@f2b71d51aa409eae435f31d433dac4290c2b80ab the text ellipsis is working again with long breadcrumb. But in form view when there is a long breadcrumb, the 'form status indicator' (save, discard) is not visible anymore. In this commit, we move the 'form status indicator' outside the breadcrumb, so it can't be hidden anymore. Note: we also changed the `align-items` to `flex-start` to keep all buttons aligned on the top ('form status indicator', action menu, pager, create button, send message, ...). Steps to reproduce: * Go to Sales * Select a Quotation * Click on the customer (to go to customer form view) * Change its name to have a long breadcrumb * Go back to the home menu * Go to Sales * Select the same Quotation as before * Click on the customer (to go to customer form view) * Change some data in the customer form => BUG 'form status indicator' isn't visible closes odoo/odoo#104476 X-original-commit: df41c270b2372cd28226a16e089b71db32307159 Signed-off-by: Adrien Dieudonné (adr) Signed-off-by: Romeo Fragomeli (rfr) --- addons/web/static/src/core/pager/pager.xml | 4 ++-- .../static/src/search/control_panel/control_panel.scss | 8 ++++++-- .../src/views/form/control_panel/form_control_panel.xml | 2 +- .../form/form_status_indicator/form_status_indicator.xml | 6 +++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/core/pager/pager.xml b/addons/web/static/src/core/pager/pager.xml index 67cc4a26b07..15bf0dff42d 100644 --- a/addons/web/static/src/core/pager/pager.xml +++ b/addons/web/static/src/core/pager/pager.xml @@ -5,10 +5,10 @@