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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
1835
Vistas
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!"
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
mar 24
|
3710 |