コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
9224 ビュー

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
44198
7
8月 25
34304
0
3月 15
3276
0
3月 15
4987
8
1月 24
16966