Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
9222 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

I this still possible in Odoo 16? No.

Avatar
Ignorer
Publications associées Réponses Vues Activité
12
déc. 23
44189
7
août 25
34297
0
mars 15
3273
0
mars 15
4985
8
janv. 24
16963