Files
Odoo-Build/snippets/mint_system.stock.report_picking.replace_order_definition.xml
2026-08-18 15:01:49 +02:00

81 lines
1.8 KiB
XML

<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//div[@name='div_origin']/.." position="replace">
<style>
table.trimada_order {
width: 100%;
font-size: 11pt;
font-family: arial;
border: transparent;
}
table.trimada_order tr {
border-bottom: 1px solid rgb(220,220,220);
}
.first_col {
width: 44%;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
.second_col {
width: 56%;
}
.last_row {
border: transparent;
}
</style>
<table class="trimada_order">
<tr>
<t t-if="o.picking_type_id.id == 12">
<td class="first_col">
<strong>
Fertigungsauftrag
<span t-field="o.origin"/>
</strong>
</td>
<td class="second_col">
<strong>
Produkt
<span/>
</strong>
<span t-field="o.group_id.mrp_production_ids.product_id"/>
</td>
</t>
<t t-if="o.picking_type_id.id != 12">
<td class="first_col">
<strong>
Bestellung
<span t-field="o.origin"/>
</strong>
</td>
<td/>
</t>
</tr>
<tr>
<td class="first_col">
Status:
<span t-field="o.state"/>
</td>
<td class="second_col">
Datum:
<span t-field="o.scheduled_date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</td>
</tr>
<tr class="last_row">
<td class="first_col">
Typ:
<span t-field="o.picking_type_id.code"/>
</td>
<td>
<t t-if="o.carrier_id">
Auslieferungsmethode:
<span t-field="o.carrier_id"/>
</t>
</td>
</tr>
</table>
</xpath>
</data>