Skip to Content
Menú
This question has been flagged
2 Respostes
4571 Vistes

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
Best Answer

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



Avatar
Descartar
Best Answer

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.

Related Posts Respostes Vistes Activitat
1
de nov. 22
3948
1
de juny 22
3622
0
de maig 22
1201
6
d’ag. 20
9704
0
de des. 19
6937