flectra/addons/product_expiry/views/report_deliveryslip.xml

15 lines
630 B
XML
Raw Normal View History

2018-01-16 11:34:37 +01:00
<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>
2018-01-16 11:34:37 +01:00
</flectra>