Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2144 Zobrazení

Hi,

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

Regards,

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

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

Thanks

Avatar
Zrušit
Autor

Thanks i throught that's this work just with boolean