Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1045 Widoki
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?


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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>

Powiązane posty Odpowiedzi Widoki Czynność
0
lut 25
523
0
gru 24
45
0
gru 24
436
1
paź 24
1478
2
sie 24
986