Event Sale Update Qty

event_sale_update_qty
REPOSITORY
REPOSITORYOCA/event
GIT
GIThttps://github.com/OCA/event.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/event/tree/17.0/event_sale_update_qty
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMarketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/event
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - event_sale
    - event
    - barcodes
    - web
    - base
    - base_setup
    - mail
    - bus
    - web_tour
    - phone_validation
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - utm
    - sale_management
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - digest
    - resource
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of *event_sale* to better manage
event participants after the sale confirmation.
Allow users to modify the number of attendees for event-related sale order lines
after confirmation.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_event_sale_update_qty_wizard_form event.sale.update.qty.wizard.form event.sale.update.qty.wizard form New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (6)
  • event_id Many2one
    related='sale_order_line_id.event_id' string='Event'
  • new_qty Float
    required=True string='New Quantity'
  • registration_ids Many2many → event.registration
    domain="[('sale_order_line_id', '=', sale_order_line_id)]" string='Attendees' args: 'event.registration'
  • sale_order_line_id Many2one → sale.order.line
    string='Sale Order Line' args: 'sale.order.line'
  • show_registrations Boolean
    compute='_compute_show_registrations' store=False
  • ticket_id Many2one
    related='sale_order_line_id.event_ticket_id' string='Ticket'
Public methods (1)
  • action_update(self)

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • action_update_event_qty(self)