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

i want to use the domain value that return from the onchange method,it don't work,how should I do it?



الصورة الرمزية
إهمال
الكاتب

in odoo14,the result of a onchange method can contains three kind of data :value,domain,warning.
i check the code of odoo17,domain value have been removed from the result,how should I do it when i want to use domain in onchange method.

أفضل إجابة

thx alot

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

Pls specify your related code. Then we can check if we solve it.

By the way, the compute field must be showed on the view otherwise it won't be triggier.  Also you could do invisible on the View.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 25
221
4
مايو 25
2761
2
مايو 25
6179
1
مارس 25
1838
4
مارس 25
4753