İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5784 Görünümler

There is no way for me to hide a field in the method fields_view_get, I tried all the possible ways to set invisible to the field, none of them worked (attrs, modifiers, invisible directly, invisible inside the tag.)

            for node in doc.xpath("//field[starts-with(@name, 'module_')]"):
                node.set('invisible', '1')  //don't work
                node.set('attrs', '{"invisible": 1 }') //don't work

What is my mistake here?

 

 

Avatar
Vazgeç
En İyi Yanıt

Refer the LInk may be help you.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 17
7605
2
Kas 16
6407
1
Eyl 15
5056
3
Ağu 15
9184
1
Tem 15
8618