Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9223 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

I this still possible in Odoo 16? No.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
12
dic 23
44190
7
ago 25
34298
0
mar 15
3273
0
mar 15
4985
8
gen 24
16963