Skip to Content
Menú
This question has been flagged
2 Respostes
9231 Vistes

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
Best Answer

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
Best Answer

I this still possible in Odoo 16? No.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
12
de des. 23
44205
7
d’ag. 25
34345
0
de març 15
3283
0
de març 15
5004
8
de gen. 24
16993