Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3862 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
6462
2
Mei 24
4223
1
Sep 15
5669
3
Mar 15
16045
3
Mei 25
2244