Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
9271 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

I this still possible in Odoo 16? No.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
12
jouluk. 23
44240
7
elok. 25
34373
0
maalisk. 15
3291
0
maalisk. 15
5050
8
tammik. 24
17028