Skip to Content
Menu
This question has been flagged
2 Replies
9293 Rodiniai

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?

Portretas
Atmesti
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

Portretas
Atmesti
Best Answer

I this still possible in Odoo 16? No.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
12
gruod. 23
44269
7
rugp. 25
34414
0
kov. 15
3299
0
kov. 15
5076
8
saus. 24
17071