diff --git a/addons/website_portal_sale/static/src/less/website_portal_sale.less b/addons/website_portal_sale/static/src/less/website_portal_sale.less index 5e8b9302f103e9f3cbddc125c6ca3e2f2107d6cc..dfdc8ec75f2e5568775537bf3aa413d2df26d0d6 100644 --- a/addons/website_portal_sale/static/src/less/website_portal_sale.less +++ b/addons/website_portal_sale/static/src/less/website_portal_sale.less @@ -5,7 +5,10 @@ align-items: center; } - .orders_label_text_align { vertical-align: 15%; -} \ No newline at end of file +} + +.cell_overflow { + overflow: hidden; +} diff --git a/addons/website_portal_sale/views/templates.xml b/addons/website_portal_sale/views/templates.xml index 25c88200800bc1e837e7083bdf47cd8c212f7063..04c82fe7f4195cd56df8cf490f5a3205661d3cb1 100644 --- a/addons/website_portal_sale/views/templates.xml +++ b/addons/website_portal_sale/views/templates.xml @@ -115,8 +115,8 @@ </thead> <t t-foreach="invoices" t-as="invoice"> <tr t-att-class="'hidden to_hide' if invoice.state!='open' and invoice_index > 4 else ''"> - <td> - <a t-att-href="'/report/pdf/account.report_invoice/'+str(invoice.id)"><t t-esc="invoice.number"/></a> + <td class= "cell_overflow"> + <a t-att-href="'/report/pdf/account.report_invoice/'+str(invoice.id)" t-att-title="invoice.number"><t t-esc="invoice.number"/></a> </td> <td><span t-field="invoice.date_invoice"/></td> <td><span t-field="invoice.date_due"/></td>