Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3651 Visualizações

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
Cancelar
Melhor resposta

Hi,

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


Thanks

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
mai. 24
5999
2
mai. 24
3853
1
set. 15
5455
3
mar. 15
15593
3
mai. 25
1592