Odoo Help


Open wizard on onchange method

Ricardo Martins
on 4/15/14, 10:24 PM 2,324 views


I need to open a new window (wizard) on onchange method. When the quantities on sale_order_line are higher that i have available, the new wizard auto open!!

Explaination: I have created a "select quantities and source location" wizard on sale_order_line and i need to add the auto open that wizard when i select more quantities that i have on my current location_id. I have everything working (workflow) but for now, i need to click a button on sale_order_line to select those quantities and locations. I really need this process to be automaticly so the user dont have to click another button and cannot advance on the workflow without selecting the right quantities and locations.


Erdem Uney
On 7/18/14, 2:59 PM

You can trigger some wizards by setting their `state` to `open` value.. Haven't checked your case but this may work..

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

1 follower(s)


Asked: 4/15/14, 10:24 PM
Seen: 2324 times
Last updated: 3/16/15, 8:10 AM