Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: DMS Field

Entity: dms.access.group

Compute Method: _compute_company_id

Inputs Method Outputs
self.company_id = False
for item in self.filtered("dms_field_ref"):
            item.company_id = (
                item.dms_field_ref.company_id
                if "company_id" in item.dms_field_ref._fields
                else False
            )

Back to entity