Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2148 Vues

Hi,

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

Regards,

Avatar
Ignorer
Meilleure réponse

Hi,

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

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

Thanks

Avatar
Ignorer
Auteur

Thanks i throught that's this work just with boolean