콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
10610 화면

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.

아바타
취소
베스트 답변

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

아바타
취소
작성자 베스트 답변

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.

아바타
취소

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

작성자

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.

관련 게시물 답글 화면 활동
0
4월 24
1404
1
7월 22
3370
2
8월 24
1778
0
10월 22
7743
2
10월 22
4686