Skip to Content
Menu
This question has been flagged
1 Reply
1966 Views

Hi,

Please how to make a required field only if another field is filled in odoo 10,

Regards,

Avatar
Discard
Best Answer

Hi,

You can add a attribute for the field in XML like this,

attrs="{'required': [('field_name', '!=', False)]}"

Thanks

Avatar
Discard
Author

Thanks i throught that's this work just with boolean