Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5474 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
1
abr. 25
943
1
abr. 25
1096
0
nov. 24
1346
0
out. 24
1417
1
mai. 24
4628