Odoo Help


How can we trigger act_window action from on_change function?

on 4/23/13, 1:51 PM 1,501 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.


Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--

| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

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


this is not possible in an on_change function.


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.


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)


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