Model Attribute _check_company_auto Property in Odoo 16 | Odoo 16 Development Tutorials – CBMS Odoo ERP

When applied to linked records, the _check_company_auto property automatically enforces company checks. Odoo ensures that records connected to a field (via a many2one or one2many connection, for example) belong to the same business as the record in which the field is specified when this attribute for that field is set to True for a model. […]