Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4570 Vistas

In Odoo 15 and below I would commonly put a single One2many field with nolabel="1" in an xml group tag as a way to make the UI a little cleaner, something like this


But I'm currently upgrading my module to 16, but it looks like this in 16:


Avatar
Descartar
Mejor respuesta

Use colspan="2" on the One2many field. It will solve your issue.



Avatar
Descartar
Mejor respuesta

Hi,

Please try like below

<h1>


  <label for="alert_ids">Alerts</label>


</h1>


<hr/>


<field name="alert_ids" nolabel="1">


  <tree editable="bottom">


<!--                 tree and fields here          -->


  </tree>


</field>


Regards

Avatar
Descartar
Autor

This does not look good.

Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 22
3948
1
jun 22
3622
0
may 22
1201
6
ago 20
9704
0
dic 19
6937