Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3671 Visninger

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
Kassér
Bedste svar

Hi,

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


Thanks

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
maj 24
6042
2
maj 24
3910
1
sep. 15
5491
3
mar. 15
15630
3
maj 25
1648