Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4370 Vizualizări

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)]}"/>

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

you can use groups="portal.group_anonymous"

<div groups="portal.group_anonymous">

 part of view (XML ) 

</div>
Imagine profil
Abandonează
Autor

thanks man ;)

Related Posts Răspunsuri Vizualizări Activitate
6
sept. 17
8091
1
mar. 15
6039
2
mar. 15
9867
1
mar. 24
5537
5
feb. 23
29385