Events Sales
event_sale · odoo/odoo
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by25/258 modules depend on it
-
Maturity25/25In 14 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Description
Creating registration with sales orders.
This module allows you to automate and connect your registration creation with your main sale flow and therefore, to enable the invoicing feature of registrations.
It defines a new kind of service products that offers you the possibility to choose an event category associated with it. When you encode a sales order for that product, you will be able to choose an existing event of that category and when you confirm your sales order it will automatically create a registration for this event.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- event_booth_sale, event_crm_sale, event_sale_free_no_invoiceable, pos_event_sale, spreadsheet_dashboard_event_sale, test_event_full, test_sale_product_configurators, website_event_sale
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
event_configurator_view_form |
event.configurator.view.form | event.event.configurator | form | New |
event_registration_change_exception |
Message: Alert on event registration data change | ir.ui.view | qweb | New |
event_registration_ticket_view_form |
event.registration.form.inherit | event.registration | form | Inherits event_product.event_registration_ticket_view_form |
event_sale_report_view_form |
event.sale.report.view.form | event.sale.report | form | New |
event_sale_report_view_graph |
event.sale.report.view.graph | event.sale.report | graph | New |
event_sale_report_view_pivot |
event.sale.report.view.pivot | event.sale.report | pivot | New |
event_sale_report_view_search |
event.sale.report.view.search | event.sale.report | search | New |
event_sale_report_view_tree |
event.sale.report.view.list | event.sale.report | list | New |
product_template_form_view |
product.template.inherit.event.sale | product.template | form | Inherits sale.product_template_form_view |
sale_order_view_form |
sale.order.form.inherit.event.sale | sale.order | form | Inherits sale.view_order_form |
view_event_form_inherit_ticket |
event.form.inherit | event.event | form | Inherits event.view_event_form |
view_event_registration_editor_form |
registration.editor.form | registration.editor | form | New |
view_event_registration_ticket_tree |
event.registration.list.inherit | event.registration | list | Inherits event.view_event_registration_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 10
-
sale_order_lines_idsOne2many → sale.order.linegroups='sales_team.group_sale_salesman'string='All sale order lines pointing to this event' args: 'sale.order.line', 'event_id' -
sale_price_totalMonetarycompute='_compute_sale_price_total'groups='sales_team.group_sale_salesman'string='Sales (Tax Included)'
-
action_view_linked_orders(self)Redirects to only the confirmed orders linked to the current events
-
additional_product_idsMany2manyrelated='event_ticket_id.additional_product_ids' -
event_idMany2one → event.eventstring='Event' args: 'event.event' -
event_slot_idMany2one → event.slotcompute='_compute_event_slot_id'domain="[('event_id', '=', event_id)]"readonly=Falsestore=Truestring='Slot' args: 'event.slot' -
event_ticket_idMany2one → event.event.ticketcompute='_compute_event_ticket_id'domain="[('event_id', '=', event_id)]"readonly=Falsestore=Truestring='Ticket Type' args: 'event.event.ticket' -
has_available_ticketsBooleancompute='_compute_has_available_tickets' args: 'Has Available Tickets' -
is_multi_slotsBooleanrelated='event_id.is_multi_slots' -
product_idMany2one → product.productreadonly=Truestring='Product' args: 'product.product'
-
check_event_id(self)@api.constrains('event_id', 'event_slot_id', 'event_ticket_id')
No new fields.
Public methods (0)No public methods.
-
sale_order_idMany2one → sale.ordercopy=Falseindex='btree_not_null'ondelete='cascade'string='Sales Order' args: 'sale.order' -
sale_order_line_idMany2one → sale.order.linecopy=Falseindex='btree_not_null'ondelete='cascade'string='Sales Order Line' args: 'sale.order.line' -
stateSelectioncompute='_compute_registration_status'default=Noneprecompute=Truereadonly=Falsestore=True -
utm_campaign_idMany2onecompute='_compute_utm_campaign_id'ondelete='set null'readonly=Falsestore=True -
utm_medium_idMany2onecompute='_compute_utm_medium_id'ondelete='set null'readonly=Falsestore=True -
utm_source_idMany2onecompute='_compute_utm_source_id'ondelete='set null'readonly=Falsestore=True
-
action_view_sale_order(self) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)
-
activeBooleanargs: 'Is registration active (not archived)?' -
company_idMany2one → res.companyreadonly=Truestring='Company' args: 'res.company' -
event_date_beginDatereadonly=Truestring='Event Start Date' -
event_date_endDatereadonly=Truestring='Event End Date' -
event_idMany2one → event.eventreadonly=Truestring='Event' args: 'event.event' -
event_registration_create_dateDatereadonly=Truestring='Registration Date' -
event_registration_idMany2one → event.registrationreadonly=True args: 'event.registration' -
event_registration_nameCharreadonly=True args: 'Attendee Name' -
event_registration_stateSelectionreadonly=Truestring='Registration Status' args: [('draft', 'Unconfirmed'), ('cancel', 'Cancelled'), ('open', 'Confirmed'), ('done', 'Attended')] -
event_slot_idMany2one → event.slotreadonly=Truestring='Event Slot' args: 'event.slot' -
event_ticket_idMany2one → event.event.ticketreadonly=Truestring='Event Ticket' args: 'event.event.ticket' -
event_ticket_priceFloatreadonly=Truestring='Ticket price' -
event_type_idMany2one → event.typereadonly=Truestring='Event Type' args: 'event.type' -
invoice_partner_idMany2one → res.partnerreadonly=Truestring='Invoice Address' args: 'res.partner' -
product_idMany2one → product.productreadonly=Truestring='Product' args: 'product.product' -
sale_order_dateDatetimereadonly=True args: 'Order Date' -
sale_order_idMany2one → sale.orderreadonly=True args: 'sale.order' -
sale_order_line_idMany2one → sale.order.linereadonly=True args: 'sale.order.line' -
sale_order_partner_idMany2one → res.partnerreadonly=Truestring='Customer' args: 'res.partner' -
sale_order_stateSelectionreadonly=Trueselection=SALE_ORDER_STATEstring='Sale Order Status' -
sale_order_user_idMany2one → res.usersreadonly=Truestring='Salesperson' args: 'res.users' -
sale_priceFloatreadonly=True args: 'Revenues' -
sale_price_untaxedFloatreadonly=True args: 'Untaxed Revenues' -
sale_statusSelectionselection=[('to_pay', 'Not Sold'), ('sold', 'Sold'), ('free', 'Free')]string='Payment Status'
-
init(self)
No new fields.
Public methods (0)No public methods.
-
event_registration_idsOne2many → registration.editor.linestring='Registrations to Edit' args: 'registration.editor.line', 'editor_id' -
sale_order_idMany2one → sale.orderondelete='cascade'required=True args: 'sale.order', 'Sales Order'
-
action_make_registration(self) -
default_get(self, fields)@api.model
-
company_idMany2onerelated='event_id.company_id' -
editor_idMany2one → registration.editorargs: 'registration.editor' -
emailCharstring='Email' -
event_idMany2one → event.eventrequired=Truestring='Event' args: 'event.event' -
event_slot_idMany2one → event.slotstring='Event Slot' args: 'event.slot' -
event_ticket_idMany2one → event.event.ticketstring='Event Ticket' args: 'event.event.ticket' -
nameCharstring='Name' -
phoneCharstring='Phone' -
registration_idMany2one → event.registrationargs: 'event.registration', 'Original Registration' -
sale_order_line_idMany2one → sale.order.linestring='Sales Order Line' args: 'sale.order.line'
No public methods.
-
attendee_countIntegercompute='_compute_attendee_count' args: 'Attendee Count'
-
action_confirm(self) -
action_view_attendee_list(self) -
write(self, vals)Synchronize partner from SO to registrations. This is done notably in website_sale controller shop/address that updates customer, but not only.
-
event_idMany2one → event.eventcompute='_compute_event_id'help='Choose an event and it will automatically create a registration for this event.'index='btree_not_null'precompute=Truereadonly=Falsestore=Truestring='Event' args: 'event.event' -
event_slot_idMany2one → event.slotcompute='_compute_event_related'help='Choose an event slot and it will automatically create a registration for this event slot.'precompute=Truereadonly=Falsestore=Truestring='Slot' args: 'event.slot' -
event_ticket_idMany2one → event.event.ticketcompute='_compute_event_related'help='Choose an event ticket and it will automatically create a registration for this event ticket.'precompute=Truereadonly=Falsestore=Truestring='Ticket Type' args: 'event.event.ticket' -
is_multi_slotsBooleanrelated='event_id.is_multi_slots' -
registration_idsOne2many → event.registrationstring='Registrations' args: 'event.registration', 'sale_order_line_id'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…