[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#106822

X-original-commit: 5cebb129860616d80f8f6db6e261818f4ab54e05
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Ninh Duc Hieu
2022-12-04 23:41:50 +01:00
committed by Victor Feyens
parent 8bf6bee153
commit 958ec7aeb4
+2 -2
View File
@@ -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>