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

Module: Events

Entity: website.visitor

Compute Method: _compute_event_statistics

Inputs Method Outputs
  • id
mapped_data = self._get_visitor_statistics('event_id')
for visitor in self:
            visitor.event_ids = mapped_data[visitor.id]['ids']
            visitor.visitor_event_count = mapped_data[visitor.id]['count']

Back to entity