Files
Odoo-Build/snippets/stock.report_picking.replace_header.xml
T

34 lines
1.0 KiB
XML

<?xml version="1.0"?>
<data inherit_id="stock.report_picking" priority="50">
<xpath expr="//div[@name='right_box']/.." position="replace">
<style>
table.trimada_header {
width: 100%;
font-family: arial;
font-size: 18pt;
font-weight: bold;
border:solid 1px;
}
table.trimada_header td {
padding-left: 10px;
vertical-align: middle;
padding: 5px;
}
</style>
<table class="trimada_header">
<tr>
<td>Rüstschein <span t-field="o.name"/>
</td>
<td>
<span>
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s&amp;quiet=0' % ('Code128', o.name, 600, 100)" style="width:210px;height:60px; float:right;" alt="Barcode"/>
</span>
</td>
</tr>
</table>
</xpath>
</data>