Skip to Content
Menu
This question has been flagged
2 Replies
9540 Zobrazenia

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šiť
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
Zrušiť
Best Answer

I this still possible in Odoo 16? No.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
12
dec 23
44701
7
aug 25
34829
0
mar 15
3486
0
mar 15
5355
8
jan 24
17391