Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1463 Tampilan
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
Buang
Jawaban Terbai

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
Buang

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>

Post Terkait Replies Tampilan Aktivitas
0
Feb 25
1193
0
Des 24
46
0
Des 24
1055
1
Okt 24
2332
2
Agu 24
1564