Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
9091 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

I this still possible in Odoo 16? No.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
12
dic 23
44011
7
dic 23
34124
0
mar 15
3216
0
mar 15
4873
8
ene 24
16883