Hi,
Please how to make a required field only if another field is filled in odoo 10,
Regards,
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
Please how to make a required field only if another field is filled in odoo 10,
Regards,
Hi,
You can add a attribute for the field in XML like this,
attrs="{'required': [('field_name', '!=', False)]}"
Thanks
Thanks i throught that's this work just with boolean
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ý