Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
9269 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort

I this still possible in Odoo 16? No.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
12
Dez. 23
44234
7
Aug. 25
34363
0
März 15
3289
0
März 15
5039
8
Jan. 24
17026