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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
फ़र॰ 25
|
1240 | ||
|
0
दिस॰ 24
|
46 | ||
|
0
दिस॰ 24
|
1147 | ||
|
1
अक्तू॰ 24
|
2438 | ||
|
2
अग॰ 24
|
1639 |