flectra/addons/delivery/views/report_shipping.xml

18 lines
795 B
XML
Raw Normal View History

2018-01-16 11:34:37 +01:00
<flectra>
<template id="report_shipping2" inherit_id="stock.report_picking">
<xpath expr="//th[@name='td_sched_date_h']" position="after">
<th t-if="o.picking_type_id.code == 'outgoing' and o.carrier_id"><strong>Carrier</strong></th>
<th t-if="o.weight"><strong>Weight</strong></th>
</xpath>
<xpath expr="//td[@name='td_sched_date']" position="after">
<td t-if="o.picking_type_id.code == 'outgoing' and o.carrier_id">
<span t-field="o.carrier_id"/>
</td>
<td t-if="o.weight">
<span t-field="o.weight"/>
<span t-field="o.weight_uom_id"/>
</td>
</xpath>
</template>
2018-01-16 11:34:37 +01:00
</flectra>