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

Hello,

In a personal module, I have a pivot view. I want to add a dropdown list (Many2one field) above this view and, depending of the choice in this dropdown list, the pivot view will change.

Is it possible ? If yes, how to do it ?

Thanks for answers

Ảnh đại diện
Huỷ bỏ

I don't know what you said is possible or not. But you can try showing a wizard before the pivot view, select your many2one from there, and return pivot view according to your many2one field.

Tác giả

Hi Mohammed,

I understand your answer but can you tell me how to do what you said ?

How to show a wizard and display after a pivot view depending the selected field ?

Thanks


your.model.form.view
your.model
















Câu trả lời hay nhất

Yes it's possible.

You can add dropdown in control panel above view. When select item from dropdown(catch event in pivot_controller.js) then reload whole view with changed domain.
To do this require some effort.

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

Hi Mohammed,

I understand your answer but can you tell me how to do what you said ?

How to show a wizard and display after a pivot view depending the selected field ?

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
9416
5
thg 4 25
16076
0
thg 8 23
1172
0
thg 4 22
2297
0
thg 3 21
3183