跳至內容
選單
此問題已被標幟
1 回覆
4444 瀏覽次數

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
8207
1
3月 15
6101
2
3月 15
9945
1
3月 24
5838
5
2月 23
29466