1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="report_location_barcode">
5 <t t-call="report.html_container">
6 <t t-foreach="docs" t-as="o">
9 <div class="oe_structure"/>
11 <div class="col-xs-6 mt6">
12 <table class="table table-condensed" style="border-bottom: 3px solid black !important;"><thead><th> </th></thead></table>
13 <img t-if="not o.loc_barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.name, 600, 100)" style="width:300px;height:50px"/>
14 <img t-if="o.loc_barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.loc_barcode, 600, 100)" style="width:300px;height:50px"/>
16 <span t-if="not o.loc_barcode" t-field="o.name"/>
17 <span t-if="o.loc_barcode" t-field="o.loc_barcode"/>