Skip to Content
Menu
v 17.0 Third Party 7238
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 149
Technical Name access_restriction_by_ip
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 149
Technical Name access_restriction_by_ip
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0
Community
Enterprise
Odoo.sh

Access Restriction By IP

User can Access His Account only from Specified IP.

Key Highlights

Restrict User with IP.

Restrict Users to log in from different IP Address.

Multiple IP Address can be assigned.

User will be able to access his account only from this IP.

On accessing account from a non specified IP.

  • Administrator can set an IP or a group of IP Addresses for each User.
  • Users can access their Account only from the specified IP.
  • Accessing System from a non-specified IP will restrict the User Login.
Version 17.0.1.0.0|Released on:29th Nov 2023

Initial Commit for Access Restriction By IP.

Related Products

Our Services

service-icon

Odoo Customization

service-icon

Odoo Implementation

service-icon

Odoo Support

service-icon

Hire Odoo Developer

service-icon

Odoo Integration

service-icon

Odoo Migration

service-icon

Odoo Consultancy

service-icon

Odoo Implementation

service-icon

Odoo Licensing Consultancy

Our Industries

Trading

Easily procure and sell your products

POS

Easy configuration and convivial experience

Education

A platform for educational management

Manufacturing

Plan, track and schedule your operations

E-commerce & Website

Mobile friendly, awe-inspiring product pages

Service Management

Keep track of services and invoice

Restaurant

Run your bar or restaurant methodically

Hotel Management

An all-inclusive hotel management application

Support

Need Help?

Got questions or need help? Get in touch.

odoo@cybrosys.com
WhatsApp

Say hi to us on WhatsApp!

+91 99456767686

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Not working with Odoo Mobile App!!!
by
Harris Shaikh
on 2/20/25, 1:49 AM

I have implemented this module on my odoo instance (version 17) and that is working fine with web browsers on both laptop/computer and mobile. But when user tries to login from Odoo mobile app then IP restriction is not checked and user can bypass any restriction. I am looking for a solution myself but it would be great if you can guide me on this.

Re: Not working with Odoo Mobile App!!!
by
Cybrosys Technologies
on 2/26/25, 2:20 AM Author

We will check the feasibility of implementing this feature in the mobile app and provide further updates accordingly.



Cant get this to work
by
Chintan Patel
on 2/6/25, 2:34 AM

I can't use this module, it keeps saying "Not allowed to login from this IP" I have added all the IP's and still nothing (LOCAL IP 192., PUBLIC IP, MAC ADDRESS, router address, server address) How does this actually work? 

Re: Cant get this to work
by
Cybrosys Technologies
on 2/15/25, 12:26 AM Author

The administrator must set the connecting user's public IP in the corresponding user's Allowed IP. A user can share their public IP with the administrator by searching 'What is my IP' on Google and providing the IPv4 address to be added to the Allowed IP list. The public IP changes from network to network, so if the user switches networks, they must update it with the new public IP.


Not work correctly
by
Jean Osée
on 9/21/24, 10:13 AM

Hi, i installed this module. But when i defined a allowed ip for an user, i can't logged with this user. The local machine ip is 192.168.100.5, and it's the same in user "allow ip" tab.
There is any config to do ?

Re: Not work correctly
by
Cybrosys Technologies
on 9/26/24, 1:12 AM Author

We cannot fetch the machine's public or network IP address directly within the Odoo app due to security and privacy concerns. Instead, user restrictions can only be enforced using the local IP


V18 ?
by
Guillaume Mermillod
on 6/3/25, 3:14 AM

Hello,

Is there any plan to migrate this module to Odoo V18?

Thank you.


by
Nisha
on 1/13/25, 5:14 AM

I am using Odoo 17EE and encountering an issue with your app. After installing it, clicking on the Sign In button leads to the following error in the logs:

2025-01-13 06:56:11,144 103 INFO rajuunifiedvoice-unifiedvoice-main-13347241 odoo.addons.base.models.ir_model: Access Denied by ACLs for operation: read, uid: None, model: website

2025-01-13 06:56:11,169 103 ERROR rajuunifiedvoice-unifiedvoice-main-13347241 odoo.http: Exception during request handling.

Traceback (most recent call last):

File "<185>", line 243, in template_185

File "<185>", line 225, in template_185_content

File "<185>", line 18, in template_185_t_call_0

File "/home/odoo/src/odoo/addons/website/models/ir_qweb.py", line 128, in _post_processing_att

if not website.cdn_activated:

File "/home/odoo/src/odoo/odoo/fields.py", line 1182, in __get__

recs._fetch_field(self)

File "/home/odoo/src/odoo/odoo/models.py", line 3815, in _fetch_field

self.fetch(fnames)

File "/home/odoo/src/odoo/odoo/models.py", line 3850, in fetch

query = self.with_context(active_test=False)._search([('id', 'in', self.ids)])

File "/home/odoo/src/odoo/odoo/models.py", line 5426, in _search

model.check_access_rights('read')

File "/home/odoo/src/odoo/odoo/models.py", line 4138, in check_access_rights

return self.env['ir.model.access'].check(self._name, operation, raise_exception)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 2090, in check

raise AccessError(msg) from None

odoo.exceptions.AccessError: You are not allowed to access 'Website' (website) records.

This operation is allowed for the following groups:

- User types/Internal User

- User types/Portal

- User types/Public

- Website/Editor and Designer

Contact your administrator to request access if necessary.


The issue does not occur when the app is uninstalled, and the login process works fine.


Are there specific ACLs or configurations that need to be adjusted for compatibility with Odoo 17EE?

Re:
by
Cybrosys Technologies
on 2/20/25, 2:09 AM Author

We attempted to recreate the issue that was reported, but we were unable to reproduce it.



restriction apply only at the next login of the user ?
by
s
on 10/25/24, 1:19 AM

Can you answer this point ?

As far as we tested when i apply the restriction, the user stays logged. At next login the restriction will be applied but, meantime the retriction will not.

Re: restriction apply only at the next login of the user ?
by
Cybrosys Technologies
on 10/25/24, 2:15 AM Author

Yes, that is how the app is working.


IP blocs and iOS/Android apps
by
s
on 10/4/24, 8:21 AM

can we use IP blocs ? as xxx.xx.xx.x/23 ?

and how can we manage the connections through the applications ?

once set, the restriction apply only at the next login of the user, is there a way to solve this ?

Regards,


Re: IP blocs and iOS/Android apps
by
Cybrosys Technologies
on 10/25/24, 1:01 AM Author

Currently, the module doesn’t support IP blocks for restricting users, but we plan to include this feature in future updates.