Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
9227 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

This will disable the Add an item link.

See also this question

Imagine profil
Abandonează
Cel mai bun răspuns

I this still possible in Odoo 16? No.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
12
dec. 23
44203
7
aug. 25
34340
0
mar. 15
3280
0
mar. 15
4999
8
ian. 24
16985