跳至內容
選單
此問題已被標幟
2 回覆
9216 瀏覽次數

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
44182
7
12月 23
34279
0
3月 15
3270
0
3月 15
4971
8
1月 24
16960