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 ;)
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
6
wrz 17
|
10698 | |||
|
1
mar 15
|
8070 | |||
|
2
mar 15
|
12304 | |||
|
view xml, attrs use variable with attribute
Rozwiązane
|
1
mar 24
|
12879 | ||
|
5
gru 25
|
31827 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.