İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4573 Görünümler

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
Vazgeç
En İyi Yanıt

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



Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

This does not look good.

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 22
3950
1
Haz 22
3625
0
May 22
1201
6
Ağu 20
9711
0
Ara 19
6942