跳至內容
選單
此問題已被標幟
2 回覆
9172 瀏覽次數

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

頭像
捨棄
最佳答案


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.


頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
5842
2
2月 24
1605
2
5月 25
1062
2
12月 24
11744
1
1月 23
5718