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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
1844
ビュー
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
|
3720 |