跳至内容
菜单
此问题已终结
2 回复
9232 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
12
12月 23
44205
7
8月 25
34345
0
3月 15
3283
0
3月 15
5007
8
1月 24
16994