تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4234 أدوات العرض

Hi community,

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 22
7839
1
فبراير 24
1525
1
سبتمبر 23
1963
2
يوليو 23
5710
0
يوليو 23
2259