Odoo Help

0

How can we trigger act_window action from on_change function?

By
Moin
on 4/23/13, 1:51 PM 1,434 views

I have a selection widget with several items that happen to be names of different models, on selecting a model, I want to trigger an act_window based on that model so how can we trigger an action from on_change function?

As far as I'm aware, it only reads "value", "domain" and "warning". I want similar functionality to a button "type=object" where we can simply return the action and everything works fine but I'm having no luck reproducing this from an on_change method.

1
Cyril Gaspard (GEM)
On 4/28/13, 9:54 AM

Hi,

this is not possible in an on_change function.

Bye

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 4/23/13, 1:51 PM
Seen: 1434 times
Last updated: 3/16/15, 8:10 AM