April 2019
Beginner to intermediate
774 pages
24h 59m
English
The Many2one fields support an additional auto_join attribute. This is a flag that allows the ORM to use SQL joins on this field. Due to this, it bypasses the usual ORM control, such as user access control and record access rules. In specific cases, it can solve performance issues, but it is advised to avoid using it.
We have covered the shortest way to define the relational fields. Let's take a look at the attributes specific to this type of field.
The One2many field attributes are as follows:
Read now
Unlock full access