Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
9272 Visninger

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
Kassér
Bedste svar

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
Kassér
Bedste svar

I this still possible in Odoo 16? No.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
12
dec. 23
44242
7
aug. 25
34380
0
mar. 15
3292
0
mar. 15
5055
8
jan. 24
17032