Odoo Help

1

How do I get a list of models to use over XML-RPC?

By
Kasper Souren
on 7/26/14, 2:10 PM 926 views

I have found some examples using model = 'res.partner' but I want to work with other models. I tried res.product but that didn't work. How can I get a list of usable models?

1
Kasper Souren
On 7/26/14, 9:02 PM

1. sudo pip install -U erppeek

2. erppeek  --server=https://example.com -d your_db -u admin -p password

3. your_db >>> models()

2
Ray Carnes
On 7/26/14, 6:32 PM

The ir.model model contains a list of every model, and the name field contains the name, such as 

  • res.partner - customers, suppliers, employees, etc
  • product.product - products
  • purchase.order - orders for things you purchase
  • sale.order - orders for things you sell

There are several hundred, all depending on which modules are installed, so the list is unique to every Odoo database.

 

What does **ir** stand for?

Kasper Souren
on 7/26/14, 8:34 PM

See https://www.odoo.com/forum/help-1/question/what-do-ir-res-stand-for-in-the-base-module-18806

 

From: Kasper Souren [mailto:kasper.souren@gmail.com]
Sent: Saturday, July 26, 2014 5:35 PM
To: Followers of False
Subject: Re: False

 

What does **ir** stand for?

--
Kasper Souren Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo

Bista Solutions US, Ray Carnes
on 7/26/14, 11:11 PM

https://www.odoo.com/forum/help-1/question/what-do-ir-res-stand-for-in-the-base-module-18806

Kasper Souren
on 7/27/14, 5:46 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/26/14, 2:10 PM
Seen: 926 times
Last updated: 3/16/15, 8:10 AM