Skip to Content
Menu
This question has been flagged
1 Reply
1359 Views

Salam ,What does it mean by ir in odoo ,there are ir_attachment ,ir_fields , and too much ir things ,.I tried to find something but no enough results

Avatar
Discard

"IR" s not a question.

We get over 1,000 posts a month and not everyone will open a post to find out what your question is.

I have edited your post to make the title a question.

In the future, please consider using a Question that makes it clear what you ask without requiring people to open your post, as this will often increase the chances
people will respond and make everything clearer for others looking for the same answer.

See also https://www.odoo.com/forum/help-1/meta-why-do-some-questions-get-answers-and-others-do-not-25620

Best Answer

In Odoo, ir stands for Information Repository. It is a prefix used for many models that handle Odoo's core data, configuration, and infrastructure. These ir_* models are essential for Odoo's framework and manage things like attachments, access rights, fields, actions, and more.

Here are some commonly used ir_* models and their purposes:

  1. ir.attachment – Manages file attachments stored in the system (documents, reports, images, etc.).
  2. ir.model – Stores metadata about models (database tables) in Odoo.
  3. ir.model.fields – Defines the fields of each model (technical details of database columns).
  4. ir.rule – Defines record rules for access control (restricts what records users can see).
  5. ir.actions.* – Manages different types of actions, such as:
    • ir.actions.act_window: Defines window (form, list, etc.) actions.
    • ir.actions.report: Defines reports.
    • ir.actions.server: Defines server actions (Python scripts).
  6. ir.config_parameter – Stores system-wide settings (key-value pairs for configurations).
  7. ir.cron – Manages scheduled actions (cron jobs).
  8. ir.sequence – Generates unique numbers for invoices, sales orders, etc.
  9. ir.translation – Handles language translations.

These ir_* models form the backbone of Odoo's ORM (Object-Relational Mapping) and provide infrastructure for modules to extend and customize the system.

If you're working with custom development, understanding these models can help you manipulate Odoo's behavior efficiently.

Avatar
Discard
Author

Thank you so much !

Related Posts Replies Views Activity
2
Oct 24
26169
2
Jun 21
6593
2
Aug 25
2210
0
Jul 25
112
1
Jul 25
752