Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1605 Visninger
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
Kassér
Bedste svar

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
Kassér

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 Besvarelser Visninger Aktivitet
0
feb. 25
1369
0
dec. 24
46
0
dec. 24
1213
1
okt. 24
2532
2
aug. 24
1722