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

Module: Oca VCP

Entity: vcp.comment

Compute Method: _compute_partner_organization_id

Inputs Method Outputs
  • user_id
  • user_id.partner_id
  • created_at
for record in self:
            record.partner_organization_id = (
                record.user_id.partner_id._get_organization(record.created_at.date())
            )

Back to entity