Skip to Content
Menu
This question has been flagged
2 Replies
4141 Views

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

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



Avatar
Discard
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
Discard
Author

This does not look good.

Related Posts Replies Views Activity
1
Nov 22
3216
1
Jun 22
3088
0
May 22
1201
6
Aug 20
9012
0
Dec 19
6248