Skip to Content
Menu
This question has been flagged
1 Atsakyti
1609 Rodiniai
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?


Portretas
Atmesti
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

Portretas
Atmesti

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 Replies Rodiniai Veikla
0
vas. 25
1375
0
gruod. 24
46
0
gruod. 24
1215
1
spal. 24
2539
2
rugp. 24
1727