flectra/addons/product_expiry/views/report_deliveryslip.xml
2018-01-16 02:34:37 -08:00

15 lines
630 B
XML

<flectra>
<template id="report_delivery_document_inherit_product_expiry" inherit_id="stock.report_delivery_document">
<xpath expr="//th[@name='lot_serial']" position="inside">
<t t-if="any([move_lines.lot_id.use_date for move_lines in o.move_line_ids])">
<span class="pull-right">Expiry Date</span>
</t>
</xpath>
<xpath expr="//td[@name='lot_qty']" position="after">
<td>
<span class="pull-right" t-field="move_line.lot_id.use_date" t-field-options='{"widget": "date"}'/>
</td>
</xpath>
</template>
</flectra>