Repository
OCA/pos · module folder · Try on Runboat
Module version
3.1.0
Category
Marketing
Folder size
0.55 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 07:57:03
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Ivàn Todorovich, Weblate, OCA-git-bot, oca-ci, Camille Morand
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
pos_event_sale_registration_qr_code, pos_event_sale_session, pos_sale_pos_event_sale
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
event_registration_ticket_view_form event.registration form Inherits event_sale.event_registration_ticket_view_form
pos_config_view_form pos.config form Inherits point_of_sale.pos_config_view_form
view_event_form_inherit_ticket event.event form Inherits event_sale.view_event_form_inherit_ticket
view_event_registration_ticket_tree event.registration tree Inherits event_sale.view_event_registration_ticket_tree
view_pos_pos_form pos.order form Inherits point_of_sale.view_pos_pos_form
view_report_pos_order_search report.pos.order search Inherits point_of_sale.view_report_pos_order_search
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (2)
  • pos_order_line_ids One2many → pos.order.line
    comodel_name='pos.order.line' groups='point_of_sale.group_pos_user' inverse_name='event_id' readonly=True string='All the PoS Order Lines pointing to this event'
  • pos_price_subtotal Monetary
    compute='_compute_pos_price_subtotal' groups='point_of_sale.group_pos_user' string='POS Sales (Tax Excluded)'
Public methods (1)
  • action_view_pos_orders(self)

New fields (3)
  • pos_config_id Many2one → pos.config
    comodel_name='pos.config' related='pos_order_id.config_id' string='Point of Sale'
  • pos_order_id Many2one → pos.order
    comodel_name='pos.order' copy=False ondelete='cascade' related='pos_order_line_id.order_id' store=True string='POS Order'
  • pos_order_line_id Many2one → pos.order.line
    comodel_name='pos.order.line' copy=False ondelete='cascade' readonly=True string='POS Order Line'
Public methods (2)
  • action_view_pos_order(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • available_in_pos Boolean
    help="This is configured on the related Product.\n\nPlease note that for the ticket to be available in the Point of Sale, the ticket's product has to be available there, too." related='product_id.available_in_pos'
Public methods (0)

No public methods.

New fields (7)
  • iface_available_event_stage_ids Many2many → event.stage
    default=<expr> help='Limit the available events for this Point of Sale.\nLeave empty to load all stages.' string='Available Event Stages' args: 'event.stage'
  • iface_available_event_tag_ids Many2many → event.tag
    help='Limit the available events for this Point of Sale.\nLeave empty to load all tags.' string='Available Event Tags' args: 'event.tag'
  • iface_available_event_type_ids Many2many → event.type
    help='Limit the available events for this Point of Sale.\nLeave empty to load all types.' string='Available Event Types' args: 'event.type'
  • iface_event_load_days_after Integer
    default=-1 help='Number of days in the future to load events.\nSet to -1 to load all future events.' string='Load future events (days)'
  • iface_event_load_days_before Integer
    default=0 help='Number of days before today, to load past events.\nSet to -1 to load all past events.' string='Load past events (days)'
  • iface_event_sale Boolean
    default=True help='Sell events on this point of sale.' args: 'Events'
  • iface_event_seats_available_warning Integer
    default=10 help='Display a warning when available seats is below this quantity.' args: 'Event Seats Available Warning'
Public methods (0)

No public methods.

New fields (2)
  • event_registration_ids One2many → event.registration
    readonly=True string='Event Registrations' args: 'event.registration', 'pos_order_id'
  • event_registrations_count Integer
    compute='_compute_event_registrations_count' string='Event Registration Count'
Public methods (4)
  • action_open_event_registrations(self)
  • action_pos_order_cancel(self)
  • action_pos_order_paid(self)
  • unlink(self)

New fields (4)
  • currency_id Many2one
    store=True
  • event_id Many2one → event.event
    comodel_name='event.event' readonly=True related='event_ticket_id.event_id' store=True string='Event'
  • event_registration_ids One2many → event.registration
    comodel_name='event.registration' inverse_name='pos_order_line_id' readonly=True string='Event Registrations'
  • event_ticket_id Many2one → event.event.ticket
    comodel_name='event.event.ticket' readonly=True string='Event Ticket'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • event_id Many2one → event.event
    comodel_name='event.event' readonly=True string='Event'
  • event_ticket_id Many2one → event.event.ticket
    comodel_name='event.event.ticket' readonly=True string='Event Ticket'
Public methods (0)

No public methods.

Loading…