Pārlūkot izejas kodu

Módulo para etiquetar se cambio medidas

SEBAS 5 mēneši atpakaļ
vecāks
revīzija
96e5d8f635

+ 1 - 1
report/report_product_labels.xml

@@ -45,7 +45,7 @@
                                 <tr style="border: 1px solid black;">
                                     <td colspan="2">
                                         <span t-if="product.ean13">
-                                            <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', product.ean13, 600, 100)" style="margin-top: 3px; width:70mm; height:25mm"/>
+                                            <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', product.ean13, 400, 100)" style="margin-top: 3px; width:70mm; height:25mm"/>
                                             <h5><span t-esc="product.ean13" /></h5>
                                         </span>
                                     </td>

+ 2 - 2
report/report_product_labels_wizard.xml

@@ -32,13 +32,13 @@
                                         </tr>
                                         <tr style="border: 1px solid black;">
                                             <td colspan="2">
-                                                <h4><span>Precio: </span><span t-field="line.product_id.lst_price" /></h4>
+                                                <h4><span>Precio: </span><span t-field="line.product_id.list_price" /></h4>
                                             </td>
                                         </tr>
                                         <tr style="border: 1px solid black;">
                                             <td colspan="2">
                                                 <span t-if="line.product_id.ean13">
-                                                    <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', line.product_id.ean13, 600, 100)" style="margin-top: 3px; width:70mm; height:25mm"/>
+                                                    <img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', line.product_id.ean13, 400, 100)" style="margin-top: 3px; width:70mm; height:25mm"/>
                                                     <h5><span t-esc="line.product_id.ean13" /></h5>
                                                 </span>
                                             </td>