flectra/addons/delivery/views/report_package_barcode.xml

24 lines
1.3 KiB
XML
Raw Normal View History

2018-01-16 11:34:37 +01:00
<flectra>
<template id="report_package_barcode_delivery" inherit_id="stock.report_package_barcode">
<xpath expr="//div[hasclass('o_packaging_type')]" position="after">
<div class="row o_package_weight" t-if="o.weight">
<div class="col-xs-12" style="font-weight:bold;">Weight: <span t-field="o.weight"/></div>
</div>
<div class="row o_package_shipping_weight" t-if="o.shipping_weight">
<div class="col-xs-12" style="font-weight:bold;">Shipping Weight: <span t-field="o.shipping_weight"/></div>
</div>
</xpath>
</template>
<template id="report_package_barcode_small_delivery" inherit_id="stock.report_package_barcode_small">
<xpath expr="//div[hasclass('o_packaging_type')]" position="after">
<div class="row o_package_weight" t-if="o.weight">
<div class="col-xs-12" style="font-size:24px; font-weight:bold;">Weight: <span t-field="o.weight"/></div>
</div>
<div class="row o_package_shipping_weight" t-if="o.shipping_weight">
<div class="col-xs-12" style="font-size:24px; font-weight:bold;">Shipping Weight: <span t-field="o.shipping_weight"/></div>
</div>
</xpath>
</template>
2018-01-16 11:34:37 +01:00
</flectra>