Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4473 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

you can use groups="portal.group_anonymous"

<div groups="portal.group_anonymous">

 part of view (XML ) 

</div>
Avatar
Zrušit
Autor

thanks man ;)

Related Posts Odpovědi Zobrazení Aktivita
6
zář 17
8252
1
bře 15
6129
2
bře 15
9972
1
bře 24
6173
5
úno 23
29528