Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5437 Tampilan

In odoo 14, I can't define a maximum width for a one2many field
or for any field included in the  corresponding  treeview.

As a result, some long text values make the field displayed out of the sheet !

I tried everything (col, colspan, style="width:xx% !important;" but nothing works !

Thanks for any help !

Avatar
Buang
Jawaban Terbai

After a lot of searching I found a solution...I put it in my comments

Avatar
Buang

After a lot of searching I found a solution... with the width attribute with xpath:
<xpath expr="//field[@name='order_line']/tree/field[@name='product_id']" position="attributes">
<attribute name="width" >170px</attribute>.
</xpath

Post Terkait Replies Tampilan Aktivitas
1
Apr 25
921
Odoo Server Error Diselesaikan
1
Apr 25
1067
0
Nov 24
1310
0
Okt 24
1406
1
Mei 24
4596