跳至內容
選單
此問題已被標幟
1 回覆
1046 瀏覽次數
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
523
0
12月 24
45
0
12月 24
436
1
10月 24
1478
2
8月 24
986