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

Hi! 

I am displaying a Many2many field in a wizard and want to change the view. 

Currently, when clicking add record in the list, a new window opens where one can choose the records to be added to the Many2many. 

I don't want this window to be shown and instead make it possible to choose the item which gets added inline of the tree view. I tried with "editable=bottom" but it doesn't do anything. Also selecting the widget=one2many changes nothing.


Would be very thankful for some help!

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

Hi Christopher Kremsner,

You can use widget="many2many_tags" or widget="many2many_checkboxes"  for the selection feature.

But as you want, you need to add one2many field in the wizard and add your Many2many inside it. 

Hope it will help you.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 24
1143
4
thg 7 25
24111
0
thg 8 23
1473
1
thg 4 16
4471
1
thg 7 24
2358