Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base_remote breaks odoorpc connection #3085

Open
ivosm opened this issue Oct 18, 2024 · 0 comments
Open

base_remote breaks odoorpc connection #3085

ivosm opened this issue Oct 18, 2024 · 0 comments
Labels

Comments

@ivosm
Copy link

ivosm commented Oct 18, 2024

Installing of base_remote causes "object is not bound" error during odoorpc connection

Module

base_remote

Describe the bug

After installation of base_remote module there isn't possible to connect to this odoo DB. After uninstall. it works again.
In Odoo log are even visible rows related to remote_base.

│    return res_users.authenticate(db, login, password, {**user_agent_env, 'interactive': False})                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
│  File "/ ... /base_remote/models/res_users.py", line 37, in authenticate                                                                                                                                        
│    return cls._auth_check_remote(                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
│  File "/ ... /base_remote/models/res_users.py", line 18, in _auth_check_remote                                                                                                                                                                                                                                              
│    remote = env["res.users"].remote                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
│  File "/ ... /base_remote/models/base.py", line 15, in remote                                                                                                                                                                                                                                                               
│    remote_addr = http.request.httprequest.remote_addr 

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:

  1. It looks like, there is nothing special. In case of problem to reproduce it, let me know.

Additional context
Python 3.11, Eclipse Pydev,

@ivosm ivosm added the bug label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant