I was trying to restrict mobile access for some users . is there any posibility available?. I already tried with ip restriction feature but it is failed for mobile application.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi Prabakaran,
Do you mean the default Odoo app for Android and IOS?
I'm afraid there's not a lot you can do. The app itself and their codebase is managed by Odoo and at this point Odoo doesn't allow any personalisations on top of it..
The only thing you could try is through a custom module detecting the size of the screen and then do some blocking, e.g an overlay.
The mobile app should just render a frame based on the content from the server but since we cannot see the mobile app (it's not open source..) you'd only know for sure after testing it.
All in all there's not really an easy/good solution it seems.
Regards,
Yenthe
Hi Yanthe,
I hope there is a posibility to detect the client device type and restrict the login button function to throw the validation like this module https://apps.odoo.com/apps/modules/13.0/access_restriction_by_ip/
Thank you for your reply.
You could look at Nginx or firewalls to block requests from non-specific IP's. That would be for any device type though.
Alternatively you could look at headers from requests to find out device types perhaps but it is for sure not foolproof and you'd need to override main controller functions from Odoo to detect/block this behaviour.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 3 25
|
3384 | ||
|
2
thg 9 16
|
9881 | ||
|
0
thg 3 15
|
3635 | ||
|
0
thg 3 15
|
3062 | ||
|
1
thg 3 15
|
4706 |