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

Error when company supplied in API call is different from current company #15

Open
measwel opened this issue Oct 24, 2018 · 0 comments
Open

Comments

@measwel
Copy link

measwel commented Oct 24, 2018

Good day,

I would like to create an invoice for a particular company ( I have a multi company setup ) via the rpc API. When I supply the company_id in the call, then I get an error depending on what is the current company for the user. If the current company is the same as the one supplied in the call, then there is no error and the invoice is created.

Generally; how do I let odoo know for what company I am performing the call? Must I set the current company for the user before I make the call? Or can I just specify the company in the call, even if current company is different?

Thank you.

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

1 participant