Understanding the database structure models
The information repository (ir.
) models describe the Odoo internal configuration, such as models, fields, and UI. These definitions can be accessed under the Settings | Technical menu.
The data models-related information repository can be found using the Settings | Technical | Database Structure menu. Following the most relevant option in that menu, we have these settings:
- Decimal Accuracy, or
decimal.precision
, is used to configure the number of precision digits for different use cases, such as product prices. - Model, or
ir.model
, describes the Odoo installed data models that most of the time map to a database table where the data is stored. It is useful to find the model's XML ID, using the developer menu View Metadata option. The In Apps field is also useful for finding out the modules involved in the model data structure definition. - Field, or
ir.model.field
, stores the model fields defined in the database. This...