[FIX] website_portal_sale: prevent overlap

In the website portal summary ('/my/home'), a long invoice number might
overlap the date.

opw-677567
This commit is contained in:
Nicolas Martinelli
2016-06-08 08:18:35 +02:00
parent fa4a371ba8
commit 4cc01a34e4
2 changed files with 7 additions and 4 deletions
@@ -5,7 +5,10 @@
align-items: center;
}
.orders_label_text_align {
vertical-align: 15%;
}
}
.cell_overflow {
overflow: hidden;
}
@@ -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 &gt; 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>