<div class="row">
<div class="col-xs-6 mt6">
<table class="table table-condensed" style="border-bottom: 3px solid black !important;"><thead><th> </th></thead></table>
- <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"/>
- <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"/>
+ <img t-if="not o.barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.name, 600, 100)" style="width:300px;height:50px"/>
+ <img t-if="o.barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.barcode, 600, 100)" style="width:300px;height:50px"/>
<p>
- <span t-if="not o.loc_barcode" t-field="o.name"/>
- <span t-if="o.loc_barcode" t-field="o.loc_barcode"/>
+ <span t-if="not o.barcode" t-field="o.name"/>
+ <span t-if="o.barcode" t-field="o.barcode"/>
</p>
</div>
</div>