Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1647 Visualizações
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
Cancelar
Melhor resposta

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
Cancelar

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>

Publicações relacionadas Respostas Visualizações Atividade
2
set. 25
182
0
fev. 25
1474
0
dez. 24
46
0
dez. 24
1292
1
out. 24
2630