From 5cebb129860616d80f8f6db6e261818f4ab54e05 Mon Sep 17 00:00:00 2001
From: Ninh Duc Hieu <duchieulp@gmail.com>
Date: Thu, 3 Nov 2022 02:14:10 +0000
Subject: [PATCH] [FIX] sale: text overflow

Currently in Sale/Orders/Sales Teams menu , The Sales Analysis dashboard
have text overflow bug for large numbers in USD/EUR this bug might be
rare but in currency like Yuan or VND its common

closes odoo/odoo#106737

X-original-commit: 2e58bc2f071e6148970a97785894d4f417ddb57c
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
---
 addons/sale/views/crm_team_views.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/addons/sale/views/crm_team_views.xml b/addons/sale/views/crm_team_views.xml
index 0c0bee54939b..70b12077b453 100644
--- a/addons/sale/views/crm_team_views.xml
+++ b/addons/sale/views/crm_team_views.xml
@@ -109,14 +109,14 @@
 
             <xpath expr="//t[@name='second_options']" position="after">
                 <div class="row" t-if="record.quotations_count.raw_value">
-                    <div class="col-8">
+                    <div class="col">
                         <a name="%(action_quotations_salesteams)d" type="action" context="{'search_default_draft': True, 'search_default_sent': True}">
                             <field name="quotations_count" class="me-1"/>
                             <t t-if="record.quotations_count.raw_value == 1">Quotation</t>
                             <t t-else="">Quotations</t>
                         </a>
                     </div>
-                    <div class="col-4 text-end text-truncate">
+                    <div class="col-auto text-truncate">
                         <field name="quotations_amount" widget="monetary"/>
                     </div>
                 </div>
-- 
GitLab