İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
9598 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
44798
7
Ağu 25
34931
0
Mar 15
3520
0
Mar 15
5427
8
Oca 24
17447