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
回覆
1848
瀏覽次數
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
|
3729 |