Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3919 Tampilan

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
Buang
Jawaban Terbai

Hi,

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


Thanks

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 24
6556
2
Mei 24
4308
1
Sep 15
5722
3
Mar 15
16146
3
Mei 25
2338