[FIX] product: Dymo report label adjustment

Steps to reproduce:

- Choose product with long name > product page > print labels
- choose Dymo from list + add extra content

When printing the label, the product name clips out of its bounding box.
This commit makes a small visual change so that the name fits.

If you need to further modify this, mind the extra content.

opw-2944988

closes odoo/odoo#99872

X-original-commit: cfd666b27d5728bea32f7b115e2870eeed0933cf
Signed-off-by: Stefan-Calin Crainiciuc (stcc) <stcc@odoo.com>
This commit is contained in:
Stefan-Calin Crainiciuc (stcc)
2022-09-09 11:12:52 +02:00
parent 1b15f8c1a7
commit f93cedb475
@@ -104,12 +104,12 @@
<t t-if="barcode">
<!-- `quiet=0` to remove the left and right margins on the barcode -->
<div t-out="barcode" style="padding:0" t-options="{'widget': 'barcode', 'quiet': 0, 'symbology': 'auto', 'img_style': barcode_size}"/>
<div class="o_label_name" style="line-height: 130%;height:2.0em;background-color: transparent;">
<div class="o_label_name" style="height:1.7em;background-color: transparent;">
<span t-out="barcode"/>
</div>
</t>
</div>
<div class="o_label_name" style="line-height: 130%;height:2.0em;background-color: transparent;">
<div class="o_label_name" style="line-height: 100%;height: 2.1em;background-color: transparent;padding-top: 1px;">
<span t-if="product.is_product_variant" t-field="product.display_name"/>
<span t-else="" t-field="product.name"/>
</div>