コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1062 ビュー
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
539
0
12月 24
45
0
12月 24
448
1
10月 24
1487
2
8月 24
997