Skip to content

Commit

Permalink
[FIX] mrp: Barcode on Manufacturing Order Report
Browse files Browse the repository at this point in the history
opw-1925956
  • Loading branch information
hpr-odoo authored and nim-odoo committed Jan 17, 2019
1 parent 27cc1fb commit 8ec7fdd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion addons/mrp/report/mrp_production_templates.xml
Expand Up @@ -7,9 +7,14 @@
<div class="page">
<div class="oe_structure"/>
<div class="row">
<div class="col-12">
<div class="col-7">
<h2><span t-field="o.name"/></h2>
</div>
<div class="col-5">
<span class="text-right">
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', o.name, 600, 100)" style="width:350px;height:60px"/>
</span>
</div>
</div>
<div class="row mt32 mb32">
<div class="col-3" t-if="o.origin">
Expand Down

0 comments on commit 8ec7fdd

Please sign in to comment.