how to show and hide a field based on another radio button value
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ờ
Hi,
We can use the 'invisible' attribute inside the XML code,
for example,
<field name="desired_field" string="Next Number" invisible="radio_field"/>
Replace the desired_field and radio_field based on your model.
For more details, refer to the slide:
https://www.cybrosys.com/slides/how-to-make-a-field-invisible-in-odoo-17
Hope it helps
Hi Rachel, where are you trying to execute this conditional field? Website form? One of the core Odoo apps? More context would be helpful.
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ý