This commit introduces a new badge report displayed on a full A4 page. This report is meant to be printed for the attendee and contains more detailed information that the existing "badge report", which is only meant to be folded and used as a badge. We use a lot of custom layout and classes to create a "ticket-feeling" to the report and make it look good visually. We also introduce a new field that allows easily customizing (outside of studio) this report by adding "extra instructions" (how to use your ticket / directions on how to get to the event / ...). Side note: scss disclaimer As the reporting engine does not allow complex class/rules building, we had to implement this nice layout using very well placed background-image and "pixel perfect" sized elements. LINKS ENT PR odoo/enterprise#19349 UPG PR odoo/upgrade#2599 Task-26779
68 lines
2.2 KiB
Python
68 lines
2.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': 'Events Organization',
|
|
'version': '1.6',
|
|
'website': 'https://www.odoo.com/app/events',
|
|
'category': 'Marketing/Events',
|
|
'summary': 'Trainings, Conferences, Meetings, Exhibitions, Registrations',
|
|
'description': """
|
|
Organization and management of Events.
|
|
======================================
|
|
|
|
The event module allows you to efficiently organize events and all related tasks: planning, registration tracking,
|
|
attendances, etc.
|
|
|
|
Key Features
|
|
------------
|
|
* Manage your Events and Registrations
|
|
* Use emails to automatically confirm and send acknowledgments for any event registration
|
|
""",
|
|
'depends': ['base_setup', 'mail', 'portal', 'utm'],
|
|
'data': [
|
|
'security/event_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'views/event_menu_views.xml',
|
|
'views/event_ticket_views.xml',
|
|
'views/event_views.xml',
|
|
'views/event_stage_views.xml',
|
|
'report/event_event_templates.xml',
|
|
'report/event_event_reports.xml',
|
|
'data/ir_cron_data.xml',
|
|
'data/mail_template_data.xml',
|
|
'data/event_data.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/event_templates.xml',
|
|
'views/res_partner_views.xml',
|
|
'views/event_tag_views.xml'
|
|
],
|
|
'demo': [
|
|
'data/res_users_demo.xml',
|
|
'data/res_partner_demo.xml',
|
|
'data/event_demo_misc.xml',
|
|
'data/event_demo.xml',
|
|
'data/event_registration_demo.xml',
|
|
],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'event/static/src/scss/event.scss',
|
|
'event/static/src/js/field_icon_selection.js',
|
|
],
|
|
'web.assets_common': [
|
|
'event/static/src/js/tours/**/*',
|
|
],
|
|
'web.assets_qweb': [
|
|
'event/static/src/xml/**/*',
|
|
],
|
|
'web.report_assets_common': [
|
|
'/event/static/src/scss/event_foldable_badge_report.scss',
|
|
'/event/static/src/scss/event_full_page_ticket_report.scss',
|
|
],
|
|
'web.report_assets_pdf': [
|
|
'/event/static/src/scss/event_full_page_ticket_report_pdf.scss',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|