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.

1

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

By
Kasper Souren
on 7/26/14, 2:10 PM 654 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

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

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

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: 7/26/14, 2:10 PM
Seen: 654 times
Last updated: 3/16/15, 8:10 AM