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

Module: Agreement Sign Oca

Entity: sign.oca.request

Compute Method: _compute_agreement_id

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

Back to entity