Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3635 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

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


Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mag 24
5984
2
mag 24
3845
1
set 15
5452
3
mar 15
15577
3
mag 25
1572