[fix] column rendering and borders
This commit is contained in:
parent
629e443f8f
commit
2a14eada41
1 changed files with 24 additions and 10 deletions
|
|
@ -11,7 +11,8 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th name="th_sm_name"><span t-field="partner.name"/></th>
|
<th name="th_sm_name"><span t-field="partner.name"/></th>
|
||||||
<th name="th_sm_quantity" style="white-space: nowrap; width: 10%"><strong>Qty</strong></th>
|
<th name="th_sm_quantity" style="white-space: nowrap; width: 10%"><strong
|
||||||
|
>Qty</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -27,12 +28,16 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<table class="table table-sm table-bordered" t-if="o.move_line_ids and o.state=='done'"
|
<table
|
||||||
name="stock_move_line_table">
|
class="table table-sm table-bordered"
|
||||||
|
t-if="o.move_line_ids and o.state=='done'"
|
||||||
|
name="stock_move_line_table"
|
||||||
|
>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th name="th_sm_name"><span t-field="partner.name"/></th>
|
<th name="th_sm_name"><span t-field="partner.name"/></th>
|
||||||
<th name="th_sm_quantity" style="white-space: nowrap; width: 10%"><strong>Qty</strong></th>
|
<th name="th_sm_quantity" style="white-space: nowrap; width: 10%"><strong
|
||||||
|
>Qty</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -52,14 +57,23 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template id="report_ekg_deliveryslip_compact">
|
<template id="report_ekg_deliveryslip_compact">
|
||||||
<t t-call="web.html_container">
|
<t t-call="web.basic_layout">
|
||||||
<t t-call="web.basic_layout">
|
<t t-set="docs" t-value="[docs[i:i+2] for i in range(0, len(docs), 2)]"/>
|
||||||
<div class="row">
|
<t t-foreach="docs" t-as="sub_doc">
|
||||||
<t t-foreach="docs" t-as="o">
|
<div class="row mb-3">
|
||||||
<div class="col-6">
|
<div class="col-6" style="margin-right: 1rem">
|
||||||
|
<t t-set="o" t-value="sub_doc[0]"/>
|
||||||
<t t-call="nfu_ekg_stock.report_ekg_delivery_compact_document" t-lang="o._get_report_lang()"/>
|
<t t-call="nfu_ekg_stock.report_ekg_delivery_compact_document" t-lang="o._get_report_lang()"/>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
<t t-if="len(sub_doc)>1">
|
||||||
|
<t t-set="o" t-value="sub_doc[1]"/>
|
||||||
|
<div class="col-6">
|
||||||
|
<t
|
||||||
|
t-call="nfu_ekg_stock.report_ekg_delivery_compact_document"
|
||||||
|
t-lang="o._get_report_lang()"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</t>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue