Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4412 Widoki

I want to use an Odoo v12 as the backend for a custom Single Page App. Specifically, I need to push and pull data from the Project app. I want to list all projects, tasks, and subtasks. I need to modify them as well. All of this from users' perspective. This means every user will see their own tasks.

I found the MUK REST module. With it, I can query the Project app and extract pretty much the information I need.

Is it the best approach? Is there a "native" API I can use? I saw there is an RPC endpoint, but it seems something I can use as the admin of the system, not as a regular user.

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Alberto:

The native XMLRPC API can be used as a regular user.

Everything you see in the browser was written using this API. If you turn on RPC logging on the server you can monitor the calls to the server to get data and base your calls on the same approach Odoo uses.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 22
1901
1
lip 16
11218
1
gru 24
4490
1
paź 20
4706
0
kwi 19
3481