Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1042 Переглядів
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?


Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити

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 Відповіді Переглядів Дія
0
лют. 25
521
0
груд. 24
45
0
груд. 24
433
1
жовт. 24
1478
2
серп. 24
981