Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1055 มุมมอง
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
535
0
ธ.ค. 24
45
0
ธ.ค. 24
441
1
ต.ค. 24
1484
2
ส.ค. 24
993