[IMP] mrp: print BoM css

Minor visual improvement for the BoM Overview printing document

Task-3184663

X-original-commit: 9e01083e605a0b91558e2b3c525bfbdae06ca91c
Part-of: odoo/odoo#121783
This commit is contained in:
Martin Maes
2023-05-23 16:31:51 +02:00
parent d2058c39c2
commit 2ceca3737a
@@ -10,7 +10,7 @@
<h6 t-if="data['bom_code']">Reference: <t t-esc="data['bom_code']"/></h6>
</div>
<t t-set="currency" t-value="data['currency']"/>
<table class="o_mrp_bom_expandable table">
<table class="o_mrp_bom_expandable table table-borderless">
<thead>
<tr>
<th name="th_mrp_bom_h">Product</th>
@@ -54,6 +54,8 @@
<td t-if="data['show_costs']" class="text-end" t-esc="data['prod_cost']" t-options='{"widget": "monetary", "display_currency": currency}'/>
</tr>
<t t-call="mrp.report_mrp_bom_pdf_line"/>
</tbody>
<tfoot>
<tr t-if="data['show_costs']">
<td name="td_mrp_bom_f" class="text-end">
<span t-if="data['byproducts']" t-esc="data['name']"/>
@@ -82,7 +84,7 @@
<td class="text-end" t-esc="byproduct['prod_cost'] / byproduct['quantity']" t-options='{"widget": "monetary", "display_currency": currency}'/>
</tr>
</t>
</tbody>
</tfoot>
</table>
</div>
<div t-else="" class="d-flex align-items-center justify-content-center h-50">