Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to get all product objects from my odoo database

By
Enrique
on 3/28/16, 11:26 PM 486 views

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.

2

Axel Mendoza

--Axel Mendoza--
10323
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 3/28/16, 11:44 PM

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

0
Enrique
On 3/28/16, 11:49 PM

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

Axel Mendoza
on 3/29/16, 12:10 AM

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.

Enrique
on 3/29/16, 11:11 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/28/16, 11:26 PM
Seen: 486 times
Last updated: 3/29/16, 12:22 AM