Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3675 Prikazi

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
Opusti
Best Answer

Hi,

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


Thanks

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
maj 24
6054
2
maj 24
3918
1
sep. 15
5493
3
mar. 15
15638
3
maj 25
1662