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

I have a button to populate a one2many field by creating lines from a number of criteria with default values. I would like the fom to display a tree view of the lines which allows editing the default values in the lines but not adding new rows.

How can this be achieved?

Avatar
Vazgeç
En İyi Yanıt

In the tree node of the one2many field, just set create="false".

This will disable the Add an item link.

See also this question

Avatar
Vazgeç
En İyi Yanıt

I this still possible in Odoo 16? No.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
12
Ara 23
44221
7
Ağu 25
34355
0
Mar 15
3288
0
Mar 15
5032
8
Oca 24
17009