Skip to content

error when supplying company_id in call #18

@measwel

Description

@measwel

Good day,

I would like to create an invoice for a particular company ( I have a multi company setup ). When I supply the company_id in the call, then I will 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions