تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1747 أدوات العرض
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>

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 25
393
2
سبتمبر 25
549
0
فبراير 25
1682
0
ديسمبر 24
46
0
ديسمبر 24
1419