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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
6
вер. 17
|
9459 | |||
|
1
бер. 15
|
6946 | |||
|
2
бер. 15
|
10864 | |||
|
1
бер. 24
|
11506 | |||
|
5
лют. 23
|
30630 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.