Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1040 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
520
0
Des 24
45
0
Des 24
433
1
Okt 24
1478
2
Agu 24
981