This question has been flagged
2 Replies
5631 Views

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

Avatar
Discard

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.

Author

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
















Best Answer

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.

Avatar
Discard
Author Best Answer

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

Avatar
Discard