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)]}"/>
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)]}"/>
Hi,
you can use groups="portal.group_anonymous"
<div groups="portal.group_anonymous">
part of view (XML )
</div>
thanks man ;)
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
6
sep. 17
|
10703 | |||
|
1
mrt. 15
|
8078 | |||
|
2
mrt. 15
|
12313 | |||
|
1
mrt. 24
|
12886 | |||
|
5
dec. 25
|
31832 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.