Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
9203 Prikazi

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

I this still possible in Odoo 16? No.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
12
dec. 23
44164
7
dec. 23
34272
0
mar. 15
3256
0
mar. 15
4963
8
jan. 24
16955