Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4656 Prikazi

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

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



Avatar
Opusti
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
Opusti
Avtor

This does not look good.

Related Posts Odgovori Prikazi Aktivnost
1
nov. 22
4053
1
jun. 22
3732
0
maj 22
1201
6
avg. 20
9820
0
dec. 19
7065