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 ;)
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
6
9月 17
|
10747 | |||
|
1
3月 15
|
8094 | |||
|
2
3月 15
|
12345 | |||
|
1
3月 24
|
12915 | |||
|
5
12月 25
|
31852 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.