Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2146 Widoki

Hi,

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

Regards,

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

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

Thanks

Awatar
Odrzuć
Autor

Thanks i throught that's this work just with boolean