Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
9228 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

This will disable the Add an item link.

See also this question

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I this still possible in Odoo 16? No.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
12
thg 12 23
44205
7
thg 8 25
34343
0
thg 3 15
3280
0
thg 3 15
5002
8
thg 1 24
16989