This question has been flagged
2 Replies
7692 Views

Hello,

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.

Thanks

Avatar
Discard
Best Answer


There are only the following 3 things possible in onchange method :

  1.  Set Values in fields

  2. Set Domain

  3. Return warning message

    You can not open a wizard using onchange.


Avatar
Discard
Best Answer

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

Avatar
Discard