Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4360 Prikazi

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
Opusti
Best Answer

Hi,

you can use groups="portal.group_anonymous"

<div groups="portal.group_anonymous">

 part of view (XML ) 

</div>
Avatar
Opusti
Avtor

thanks man ;)

Related Posts Odgovori Prikazi Aktivnost
6
sep. 17
8071
1
mar. 15
6019
2
mar. 15
9847
1
mar. 24
5467
5
feb. 23
29373