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

Hi community,

is it possible to open a popup (wizard) from the onchange function in Odoo16?

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

Hi,

We cannot return wizard using an onchange function.

Following things are possible using onchange function

  1.  Set Values in fields

  2.  Set Domain

  3.  Return warning message

Refer the following forum post.

https://www.odoo.com/es_ES/forum/ayuda-1/how-to-open-wizard-using-onchange-150683

Regards

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

Hello, Boris Jurcaga
Hope you are doing good.

It is not possible to open a popup ( Wizard ) from the onchange function or compute function in Odoo.
You can open wizard through the button's method or going on the javascript.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 22
7900
1
thg 2 24
1570
1
thg 9 23
1990
2
thg 7 23
5758
0
thg 7 23
2302