|
|
@ -28,7 +28,7 @@ |
|
|
|
</t> |
|
|
|
|
|
|
|
<t t-name="PosTicketBls"> |
|
|
|
<div class="pos-sale-ticket" t-attf-style="width:#{width}"> |
|
|
|
<div class="pos-sale-ticket" t-attf-style="width:300px"> |
|
|
|
|
|
|
|
<div class="pos-center-align title-mag">Rayon vrac</div> |
|
|
|
<br /> |
|
|
@ -63,8 +63,7 @@ |
|
|
|
<table class='pos-center-align'> |
|
|
|
<tr class="title-info bloc-barcode"> |
|
|
|
<td> |
|
|
|
<img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" /> |
|
|
|
<span class="caption"><t t-esc="num_ean13"/></span> |
|
|
|
<img t-att-src="widget.get_barcode_url()" style="width:100%;height:35%;" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
@ -76,7 +75,6 @@ |
|
|
|
<receipt align='center' width='40' value-thousands-separator='' > |
|
|
|
<div class="pos-sale-ticket"> |
|
|
|
<div class="pos-center-align title-mag">Rayon vrac</div> |
|
|
|
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', widget.get_barcode_data(), 300, 50)" style="width:100%;height:35%;" /> |
|
|
|
<br/> |
|
|
|
<br/> |
|
|
|
<div font='b'> |
|
|
@ -112,10 +110,14 @@ |
|
|
|
<br /> |
|
|
|
<line> |
|
|
|
<left> |
|
|
|
<!-- <img t-att-src="'/report/barcode/EAN13/' + widget.get_barcode_data()" /> --> |
|
|
|
<img t-att-src="widget.get_barcode_url()" style="width:100%;height:35%;" /> |
|
|
|
<span class="caption"><t t-esc="num_ean13"/></span> |
|
|
|
</left> |
|
|
|
</line> |
|
|
|
<line> |
|
|
|
<img t-att-src="widget.get_barcode_url()" style="width:100%;height:35%;" /> |
|
|
|
<span class="caption"><t t-esc="num_ean13"/></span> |
|
|
|
</line> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</receipt> |
|
|
|