跳至内容
菜单
此问题已终结
1 回复
1061 查看
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>

相关帖文 回复 查看 活动
0
2月 25
538
0
12月 24
45
0
12月 24
445
1
10月 24
1487
2
8月 24
995