Repository
OCA/event · module folder · Try on Runboat
Module version
1.0.0
Category
Event Management
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://grupoesoc.es/
Last tracking update
2026-08-07 07:03:12
Authors
Odoo Community Association (OCA), Grupo ESOC Ingeniería de Servicios
Maintainers
Odoo Community Association (OCA), Grupo ESOC Ingeniería de Servicios
Committers
Jairo Llopis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
event_event_form Event products event.event form Inherits event.view_event_form
event_event_search Event products event.event search Inherits event.view_event_search
product_template_form_view Events for this product template product.template form Inherits event_sale.event_sale_product_template_form
product_template_search_view Search by event product.template search Inherits product.product_template_search_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • product_id Many2one → product.product
    domain='[("is_event", "=", True),\n ("event_type_id", "in", (False, type))]' help='Product of this event, if available.' states={'done': [('readonly', True)]} args: 'product.product', 'Product'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • event_count Integer
    compute='_compute_event_count' args: 'Events'
  • event_ids One2many → event.event
    args: 'event.event', 'product_id', 'Events'
Public methods (2)
  • action_view_events(self)
    @api.multi
    Open events related to product.
  • onchange_event_ok(self, type, event_ok)
    @api.multi
    Inverse of :meth:`~._onchange_is_event`. Cannot declare in ``event_product.product`` because it gets ignored.

New fields (2)
  • event_count Integer
    compute='_compute_event_count' args: 'Events'
  • is_event Boolean
    help='This product defines an event (NOT an event ticket).' args: 'Is an event'
Public methods (2)
  • action_view_events(self)
    @api.multi
    Open events related to template's variants.
  • onchange_event_ok(self, type, event_ok)
    @api.multi
    Inverse of :meth:`~._onchange_is_event`. Cannot declare in ``event_product.product`` because it gets ignored.