Rest API
  • Odoo REST API: Version 1.0 documentation
  • Connection
    • Configuration
    • Demo
    • Logging In
      • How you can do
        • Odoo Version Information
        • Oauth1 Authentication
        • OAuth2 Authentication
        • Basic Authentication
  • Calling Methods
    • Check Access Rights
    • List Records
      • Pagination
    • Count Records
    • Read Records
      • Read Single Record
      • Read List Records
      • Read Filter Records
    • Listing Record Fields
    • Create Records
    • Update Records
      • Update Single Record
      • Update List Records
    • Delete Records
      • Delete Single Record
      • Delete List Records
  • Report Printing
    • Print Single Report
    • Print List Reports
  • Inspection and Introspection
    • ir.model
    • ir.model.fields
Powered by GitBook
On this page

Inspection and Introspection

PreviousPrint List ReportsNextir.model

Last updated 1 year ago

While we previously used to query a model and have been using an arbitrary model from the start, Odoo stores most model metadata inside a few meta-models which allows both querying the system and altering models and fields (with some limitations) on the fly over REST API.

Note

  1. (ir.model)

  2. (ir.model.fields)

fields_get()
Provides information about Odoo models via its various fields
Provides information about the fields of Odoo models and allows adding custom fields without using Python code