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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
3071
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký