Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2142 Vizualizări

Hi,

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

Regards,

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

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

Thanks

Imagine profil
Abandonează
Autor

Thanks i throught that's this work just with boolean