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)]}"/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
7845 | ||
|
1
3月 15
|
5837 | ||
|
2
3月 15
|
9677 | ||
|
1
3月 24
|
5098 | ||
|
5
2月 23
|
29175 |