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

Module: Project Task Sign Oca

Entity: sign.oca.request

Compute Method: _compute_task_id

Inputs Method Outputs
  • record_ref
  • record_ref.id
for item in self.filtered(
            lambda x: x.record_ref and x.record_ref._name == "project.task"
        ):
            item.task_id = item.record_ref.id

Back to entity