Skip to Content
Menú
This question has been flagged
1 Respondre
1493 Vistes
I need to print only the first 15 letters of the product name on the labels. I tried changing the report_simple_barcode code to "" but that didn't work. What am I doing wrong?


Avatar
Descartar
Best Answer

Hello Wagner Baraldi, 

We can add a limit of 15 characters using css as follows.

Please find code in comment. 

Hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com        

Skype: kalpeshmaheshwari

Avatar
Descartar

Please find code here :-
XML Code:

<div style={
max-width: 15ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}>
<t t-out="product.name"/>
</div>

Related Posts Respostes Vistes Activitat
0
de febr. 25
1232
0
de des. 24
46
0
de des. 24
1114
1
d’oct. 24
2406
2
d’ag. 24
1613