Files
Odoo-Build/snippets/stock.report_delivery_document.replace_information_table2.xml
T
2025-10-10 08:39:26 +02:00

52 lines
1.8 KiB
XML

<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//div[@class='report-wrapping-flexbox clearfix row mt32 mb32']" position="replace">
<style>
table#info_table {
border: transparent;
width: 100%;
}
table#info_table tr td {
border-right: none;
}
table#info_table strong {
color: black;
}
</style>
<div>
<table id="info_table">
<tr>
<td>
<strong>Customer Reference</strong>
<p t-field="o.sudo().sale_id.client_order_ref"/>
</td>
<td>
<strong>Shipping Date</strong>
<p t-field="o.scheduled_date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</td>
<td>
<strong>Incoterms</strong>
<p t-field="o.sale_id.incoterm.code"/>
</td>
<td>
<strong>Carrier</strong>
<p t-field="o.carrier_id"/>
</td>
<td>
<span>
<strong>Total Weight</strong>
</span>
<br/>
<span t-field="o.shipping_weight"/>
<span t-field="o.weight_uom_name"/>
</td>
<td>
<strong>Order</strong>
<p t-field="o.origin"/>
</td>
</tr>
</table>
</div>
</xpath>
</data>