Health
57/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 43 months ago
-
Required by20/253 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.55 MB
Module directory on disk
Code analysis
5 migration notes
7 models
6 views
0 HTTP endpoints
Migration considerations
event_registration_ticket_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcepos_config_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_event_form_inherit_ticket— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_pos_pos_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `WITH pos_order_line_currency AS ( SELECT pol.id AS id, COALESCE(aj.currency_id, rc.currency_id) AS currency_id FROM pos_order_line AS pol JOIN pos_order AS po ON pol.order_id = po.id JOIN pos_session AS ps ON po.session_id = ps.id JOIN pos_config AS pc ON ps.config_id = pc.id JOIN res_company AS rc ON pc.company_id = rc.id LEFT JOIN account_journal AS aj ON pc.journal_id = aj.id ) UPDATE pos_order_line SET currency_id = pos_order_line_currency.currency_id FROM pos_order_line_currency WHERE pos_order_line.id = pos_order_line_currency.id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- 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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idsOne2many → pos.order.linecomodel_name='pos.order.line'groups='point_of_sale.group_pos_user'inverse_name='event_id'readonly=Truestring='All the PoS Order Lines pointing to this event' -
pos_price_subtotalMonetarycompute='_compute_pos_price_subtotal'groups='point_of_sale.group_pos_user'string='POS Sales (Tax Excluded)'
-
action_view_pos_orders(self)
New fields (3)
-
pos_config_idMany2one → pos.configcomodel_name='pos.config'related='pos_order_id.config_id'string='Point of Sale' -
pos_order_idMany2one → pos.ordercomodel_name='pos.order'copy=Falseondelete='cascade'related='pos_order_line_id.order_id'store=Truestring='POS Order' -
pos_order_line_idMany2one → pos.order.linecomodel_name='pos.order.line'copy=Falseondelete='cascade'readonly=Truestring='POS Order Line'
-
action_view_pos_order(self) -
create(self, vals_list)@api.model_create_multi
New fields (1)
-
available_in_posBooleanhelp="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'
No public methods.
New fields (7)
-
iface_available_event_stage_idsMany2many → event.stagedefault=<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_idsMany2many → event.taghelp='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_idsMany2many → event.typehelp='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_afterIntegerdefault=-1help='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_beforeIntegerdefault=0help='Number of days before today, to load past events.\nSet to -1 to load all past events.'string='Load past events (days)' -
iface_event_saleBooleandefault=Truehelp='Sell events on this point of sale.' args: 'Events' -
iface_event_seats_available_warningIntegerdefault=10help='Display a warning when available seats is below this quantity.' args: 'Event Seats Available Warning'
No public methods.
New fields (2)
-
event_registration_idsOne2many → event.registrationreadonly=Truestring='Event Registrations' args: 'event.registration', 'pos_order_id' -
event_registrations_countIntegercompute='_compute_event_registrations_count'string='Event Registration Count'
-
action_open_event_registrations(self) -
action_pos_order_cancel(self) -
action_pos_order_paid(self) -
unlink(self)
New fields (4)
-
currency_idMany2onestore=True -
event_idMany2one → event.eventcomodel_name='event.event'readonly=Truerelated='event_ticket_id.event_id'store=Truestring='Event' -
event_registration_idsOne2many → event.registrationcomodel_name='event.registration'inverse_name='pos_order_line_id'readonly=Truestring='Event Registrations' -
event_ticket_idMany2one → event.event.ticketcomodel_name='event.event.ticket'readonly=Truestring='Event Ticket'
-
create(self, vals_list)@api.model_create_multi
New fields (2)
-
event_idMany2one → event.eventcomodel_name='event.event'readonly=Truestring='Event' -
event_ticket_idMany2one → event.event.ticketcomodel_name='event.event.ticket'readonly=Truestring='Event Ticket'
No public methods.
Loading…