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
10411 Widoki

Hi,

I'm new to Odoo and I'm trying to get a json containing my products' information using the webservice API, the documentation shows only an example for listing customer companies, I don't really understand how to use the methods for anything else I would need to query for.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi @Enrique

Odoo ORM methods that search for model records use a domain notation to express the query conditions.

Refers to the docs here for how to use it:

https://www.odoo.com/documentation/8.0/reference/orm.html#domains

Awatar
Odrzuć
Autor Najlepsza odpowiedź

I'm using the Warehouse application, are there any concrete examples you could give me? I'm not quite sure how to use this notation properly since all my attempts have failed.

Awatar
Odrzuć

You need to be more specific, since there are a lot of examples and it's not as easy, post your query need so we could bring you some ideas and examples

Autor

On the warehouse application, there is a tab named "Products" where all my products are listed, here I can see all their general information (price, on hand, forecast, name). I just need to be able to obtain all that information along with the product to which it is related, I'm not really sure how to do it though, everything I've tried has failed.

Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 24
1248
1
lip 22
3174
2
sie 24
1521
0
paź 22
7561
2
paź 22
4416