Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3053 Lượt xem

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.


I am using odoo 12.0 CE.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
OpenERP Java API Đã xử lý
2
thg 11 20
14697
1
thg 12 18
25070
2
thg 7 16
18426
3
thg 2 16
5942
1
thg 8 25
475