This question has been flagged
1 Reply
2854 Views

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

Hi,

you can use groups="portal.group_anonymous"

<div groups="portal.group_anonymous">

 part of view (XML ) 

</div>
Avatar
Discard
Author

thanks man ;)