Skip to Content
Menú
This question has been flagged
1 Respondre
3902 Vistes

hi guys , i want to display a part of view (XML ) just if the user is anonymous .

if some one have an idea ,

something like this : <field name="prenom" placeholder="foulen" attrs="{'invisible': [('is_company','=', True)]}"/>

Avatar
Descartar
Best Answer

Hi,

you can use groups="portal.group_anonymous"

<div groups="portal.group_anonymous">

 part of view (XML ) 

</div>
Avatar
Descartar
Autor

thanks man ;)

Related Posts Respostes Vistes Activitat
6
de set. 17
7474
1
de març 15
5588
2
de març 15
9423
1
de març 24
4800
5
de febr. 23
28782