Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
9173 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất


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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
5842
2
thg 2 24
1606
2
thg 5 25
1064
2
thg 12 24
11745
1
thg 1 23
5718