Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
9167 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

This will disable the Add an item link.

See also this question

Awatar
Odrzuć
Najlepsza odpowiedź

I this still possible in Odoo 16? No.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
12
gru 23
44124
7
gru 23
34218
0
mar 15
3233
0
mar 15
4925
8
sty 24
16933