Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3653 Vues

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
Ignorer
Meilleure réponse

Hi,

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


Thanks

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
mai 24
6000
2
mai 24
3855
1
sept. 15
5460
3
mars 15
15596
3
mai 25
1592