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 ;)
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|  | 6 sep. 17  | 9139 | ||
|  | 1 mar. 15  | 6699 | ||
|  | 2 mar. 15  | 10624 | ||
|  | 1 mar. 24  | 11187 | ||
|  | 5 feb. 23  | 30343 |