Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
9476 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

I this still possible in Odoo 16? No.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
12
pro 23
44587
7
srp 25
34706
0
bře 15
3453
0
bře 15
5288
8
led 24
17280