Skip to Content
Menú
This question has been flagged
1 Respondre
3658 Vistes

Hello I would like to know is there an attribute that allows me to block a field after another is written, that is, it is not written in it if another is true

Avatar
Descartar
Best Answer

Hi,

You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"


Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de maig 24
6027
2
de maig 24
3891
1
de set. 15
5478
3
de març 15
15606
3
de maig 25
1611