Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
9237 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

In the tree node of the one2many field, just set create="false".

This will disable the Add an item link.

See also this question

Аватар
Відмінити
Найкраща відповідь

I this still possible in Odoo 16? No.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
12
груд. 23
44211
7
серп. 25
34346
0
бер. 15
3285
0
бер. 15
5014
8
січ. 24
17004