How To Give Domain For A Field Based On Another Field with odoo studio?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
3079
أدوات العرض
Hi,
If you are using odoo13 and below, you can follow this approach of returning the domain in onchange.
See this sample from the code: How To Give Domain For A Field Based On Another Field
If you need to do it from UI, try with the server action: Add Onchange Function From User Interface In Odoo
Thanks
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل