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

[Question] call without login() #62

Open
legalsylvain opened this issue Jul 29, 2021 · 2 comments
Open

[Question] call without login() #62

legalsylvain opened this issue Jul 29, 2021 · 2 comments

Comments

@legalsylvain
Copy link

I'd like to communicate with an Odoo instance without authentication. (calling public function that doesn't requires authentication).

Is it possible with odoorpc ?

If yes, I'll update the doc because it's not explicit for the time being.

thanks for your answer.

@sebalix
Copy link
Collaborator

sebalix commented Sep 30, 2022

Hello @legalsylvain sorry for being late... it depends what you are calling "public" function, if it is an HTTP controller endpoint that doesn't require authentication, yes it is possible with odoorpc.ODOO.http or odoorpc.ODOO.json depending on the type of request.

@legalsylvain
Copy link
Author

ow thanks ! I'll try it and update the doc.

regards;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants