Event Products

event_product
REPOSITORY
REPOSITORYOCA/event
GIT
GIThttps://github.com/OCA/event.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/event/tree/8.0/event_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYEvent Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Grupo ESOC Ingeniería de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Grupo ESOC Ingeniería de Servicios
COMMITTERS
COMMITTERSJairo Llopis
WEBSITE
WEBSITEhttps://grupoesoc.es/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - event_sale
    - event
    - base_setup
    - base
    - web_kanban
    - web
    - board
    - email_template
    - mail
    - marketing
    - sale_crm
    - sale
    - sales_team
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - edi
    - procurement
    - crm
    - base_action_rule
    - resource
    - calendar
    - web_calendar
    - fetchmail
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
event_event_form Event products event.event xpath Inherits event.view_event_form
event_event_search Event products event.event xpath Inherits event.view_event_search
product_template_form_view Events for this product template product.template xpath Inherits event_sale.event_sale_product_template_form
product_template_search_view Search by event product.template xpath Inherits product.product_template_search_view
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.