Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
9213 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Melhor resposta

I this still possible in Odoo 16? No.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
12
dez. 23
44178
7
dez. 23
34279
0
mar. 15
3270
0
mar. 15
4971
8
jan. 24
16959