How to limit content of a website page to public user?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
1
Răspunde
1826
Vizualizări
If you want to limit content of a website page to public user you can use t-if="user_id._is_public()"
As an example:
If user is logged in, he sees "Welcome!"
If user is not logged in, he sees "You are not logged in!"
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
1
mar. 24
|
3701 |