Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Automation Oca
Entity: automation.record
Compute Method: _compute_resource_ref
| Inputs | Method | Outputs |
|---|---|---|
|
- for record in self: - if record.model and record.model in self.env: - record.resource_ref = f"{record.model},{record.res_id or 0}" - else: - record.resource_ref = None |
|
