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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
1841
查看
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!"
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
3月 24
|
3718 |