跳至内容
菜单
此问题已终结
1 回复
5843 查看

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?

 

 

形象
丢弃
最佳答案

Refer the LInk may be help you.

形象
丢弃
相关帖文 回复 查看 活动
1
12月 17
7677
2
11月 16
6484
1
9月 15
5144
3
8月 15
9285
1
7月 15
8677