[FIX] account: fix invoice iframe responsiveness

77be4214db introduced an issue where the meta data would not go to a new line on small screen (on the iframe).

PR: #27293
task-1889346
This commit is contained in:
Sébastien Theys
2018-09-28 14:36:26 +02:00
parent f19ad9d7b7
commit 6b8d7bb6d6
+6 -6
View File
@@ -20,27 +20,27 @@
</h2>
<div class="row mt32 mb32">
<div class="mr32 col-3" t-if="o.name" name="description">
<div class="col-auto" t-if="o.name" name="description">
<strong>Description:</strong>
<p t-field="o.name"/>
</div>
<div class="mr32 col-3" t-if="o.date_invoice" name="invoice_date">
<div class="col-auto" t-if="o.date_invoice" name="invoice_date">
<strong>Invoice Date:</strong>
<p t-field="o.date_invoice"/>
</div>
<div class="mr32 col-3" t-if="o.date_due and o.type == 'out_invoice' and o.state in ('open', 'in_payment', 'paid')" name="due_date">
<div class="col-auto" t-if="o.date_due and o.type == 'out_invoice' and o.state in ('open', 'in_payment', 'paid')" name="due_date">
<strong>Due Date:</strong>
<p t-field="o.date_due"/>
</div>
<div class="mr32 col-3" t-if="o.origin" name="origin">
<div class="col-auto" t-if="o.origin" name="origin">
<strong>Source:</strong>
<p t-field="o.origin"/>
</div>
<div class="mr32 col-3" t-if="o.partner_id.ref" name="customer_code">
<div class="col-auto" t-if="o.partner_id.ref" name="customer_code">
<strong>Customer Code:</strong>
<p t-field="o.partner_id.ref"/>
</div>
<div name="reference" class="mr32 col-3" t-if="o.reference">
<div name="reference" class="col-auto" t-if="o.reference">
<strong>Reference:</strong>
<p t-field="o.reference"/>
</div>