summaryrefslogtreecommitdiff
path: root/addons/event/static/src
AgeCommit message (Collapse)Author
2021-05-11[IMP] {website_}event: improve tour usabilityMunaf Khan
This commit makes few changes in the event tour as listed below: * Remove the step asking user to save the event, as the next step is redirecting to the website which already triggers a save * Make the tip for website redirection appeaer in edit mode also * Fix a typo ("registering" instead of "registrating") * Instead of having to go to a specific stage, moving to any stage is now enough for going to next step taskID-2446215 closes odoo/odoo#68235 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-01-27[FIX] *: update tour sequenceMohammed Shekha
with this commit we are updating sequence of onboarding tours task-2444153 closes odoo/odoo#64846 Related: odoo/enterprise#15886 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-12-04[FIX] (website_)event: constrain event tour steps to the event modulestd-odoo
Bug === When we start the Event tour, if we go outside of Event during the tour we might see the tour bubble in the other application. It should be visible only in Event. Task 2381898 closes odoo/odoo#62736 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-11-16[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#61785 Related: odoo/enterprise#14751 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-18[IMP] event: remove confusing event tour "Communications" stepsJérémy Hennecart
This commit removes a few tour steps from the event main tour that required the user to configure a few "Communications" on the event. As these steps are a bit tricky and are absolutely not required for a first overview of the capabilities of the app, they were removed to ease onboarding. task-2313380 closes odoo/odoo#55912 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-17[FIX] event: set last tour bullet at bottom position for readabilityDavid Beguin
Task ID-2169118 odoo/odoo#55967 odoo/enterprise#12438 X-original-commit: 15c4acf0511ad9e48666e46a2e8789d4c1090013
2020-07-31[IMP] website_event(_track): improve demo dataThibault Delavallée
RATIONALE Even will soon gain a major update called Event Online, allowing to better support full-online events. In order to prepare its merge, preparatory merge are done to lessen the final diff. PURPOSE As new "Online Event" support is about to land, new and improved demo data is necessary to showcase it. Improve online event demo data: have more tracks, tags, colors, speakers, partners, descriptions, ... Make it WOW and AMAZING. Improve demo data, especially track-related demo data: more tracks, better datetimes, titles, tags, ... in order to have at least one event that looks like a real event. LINKS PR #55260 Task ID-2310491 (Event Online Preparation 5) Part of Task ID-2252655 (Main Online Event task) Part of Task ID-2283796 (Event B2Basics / Registration Flow) Co-Authored-By: Aurélien Warnon <awa@odoo.com> Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2020-06-10[IMP] event : Update tour message, clean onboarding and some viewsDidier (did)
Change event onboarding rainbow message to something more relevant. Default message is considered as less user friendly than the new one. Before this commit the category_id for a tag had no label displayed. We choose to wrap the category_id field inside a group so that field labels shows up. In settings, wrap the tag_ids inside a div.o_setting_right_pane so we can have the left border displayed correctly, like most fields in settings. Finally remove "Online" template from the event_data since it acts like a dummy type without pre-defined data. Task 2257884 closes odoo/odoo#52472 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-06-10[IMP] event: improve attendees kanban viewNasreddin Boulif
PURPOSE Introduce a clearer way of handling registrations for single / multiple events occurring at the same time and place by * improve attendees kanban view, notably by better supporting mono and multi event (hide unnecessary information); * introducing a Registration Desk menu item to manage multi-event mode; SPECIFICATIONS Improve attendees kanban view, notably due to the following issues * event_ticket_id as char field is hard to recognize. Notably with attendees with same ticket directly in the kanban view; * missing explicit icon/button of the event registration state; Handle mono-event (coming from an event) / multi-event (global attendees view) modes. Replace "event_ticket_id" text by colored badge (random color on each "event.event_ticket_id.id"). Move this field directly into event as now tickets are supported in event, not only with event_sale. Add button or text linked to the registration state. Kanban card structure is therefore ----------------------- Attendee Name Event Name (if in multi mode) Booked by partner_id.display_name ICON/BUTTON Ticket in a tag format ----------------------- Buttons and icons, if registrations is * canceled (nothing to do in Kanban, open the form view) => Canceled text * unconfirmed and is awaiting confirmation => Attended text * confirmed and is awaiting attendance confirmation => Button * done, end of the flow => Icon Mobile specific: put button as big buttons on the right of the card, ensure all cards are displayed using same height and display correct. LINKS Task ID #2214290 PR #47511
2020-05-18[IMP] various: Clean the kanban view designKrupal Oza
PURPOSE ========================= The goal of this task is to set up some kind of guidelines to make kanban views consistent. It is fine having different kanban views, but if a UI element is shared among several kanban views, it should behave/look the same so the user knows what to expect. Kanban views can be split into two types: ==> 'documents' kanbans, such as res.partner, crm.lead, etc. - those records are created/edited often, numerous - 'opening' the card means accessing the record ==> 'dashboard' kanbans,such as stock.picking.type,account.journal, etc. - those records are not created/edited often, there are much less numerous - usually presented as dashboard, where 'opening' the card means accessing a set of related 'documents' (clicking on a account.journal to access account.move, or stock.picking.type to access stock.picking) - configuration of the 'card record' is done through a dropdown to access configuration Here are some guidelines for consistency. Bear in mind that those are not rules, but guidelines for consistency that we'd like to keep in mind when designing. ==> 'documents' kanbans - the record is accessed through global click - the user avatar is at the bottom right - the activity widget is at the bottom left (in last position if there are other elements) ==> 'dashboard' kanbans - the record is accessed through a 'Configuration' option in the card dropdown - there is no global click, and therefore no focus shadow - the dropdown icon (o_kanban_manage_toggle_button) is always visible, with icon fa-ellipsis-v - the listview counterpart should be presented as a dedicated configuration menu, and shouldn't be in the 'dashboard action' - links in the body of the card are structured as follows: link with <count>+label, then any additional aggregated metrics (not link) to the right example https://drive.google.com/file/d/1ZP6HDHTtC7cQ6rDWgqLoPs6U8JCeNVkW/view?usp=sharing ==> global guidelines - the title font color is #212529, with 500 weight - the subtitle font color is #666666, with 400 weight - the font size is 1.083rem - text overflow is handled through linebreak, not ellipsis - numerical values are aligned to the right - the kanban state widget is at the bottom right SPECIFICATION ================= AS per guidelines Improved follwing kanban/dashbaord view - hr_job - hr_department - hr_work_entry - hr_appraisal - fleet_vehicle - product_template - sale_subscription_template - crm_team - res_partner - event - stock_picking_type - mrp_eco_type - maintenance_team - quality_alert_team - account_journal Added the department menu on employee with default kanban view Added sequence in hr_work_entry list view TaskID: 2206372 Related Enterprise PR: https://github.com/odoo/enterprise/pull/10341 Closes: #50536
2020-05-13[IMP] various: Use the new avatar widget in kanban viewVishnu Thuletiya
The purpose of task is to update the 'user/employee avatar' to the new widget in all the kanban view across all modules. The below new widget are introduced for avatar: - many2one_avatar_user (for user_id fields) - many2one_avatar_employee (for employee_id fields) which displays the avatar (i.e. picture) of a user/employee in front of his name and clicking on the avatar will open a chatbox to message that specific user/employee. So in this commit, For each kanban view with a user or employee avatar, replaced it by the field with the new 'many2one_avatar' widget. TaskID: 2244928 Related Enterprise PR: https://github.com/odoo/enterprise/pull/10420 closes odoo/odoo#50789 Closes: #50789 Related: odoo/enterprise#10420 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-12[IMP] (website_)event: add new tour to demonstrate new featuresPatrick Hoste
PURPOSE Create a tour for Events to introduce new users to this freshly revamped application. SPECIFICATIONS In 'website_event' module the tour steps extends the 'event' tour steps LINKS Task ID : 2180175 PR : #45612 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-01-30[MOV][IMP] event: improve some views and event main menus definitionsThibault Delavallée
PURPOSE This commit is part of ticket model support directly in event application. SPECIFICATIONS In this commit we move menu definitions in their own file. It eases views split and move, as otherwise there are dependencies between files that are complicated to solve. Better to have menus defined in a main file, and updating them at will afterwards. We also improve menus sequences and groups, as some were missing or badly defined. Registration tree view is slightly updated to include phone and mobile numbers as those are used notably for communication. They are hidden by default like email. Finally a small tweak of event kanban view is performed, notably to have a better display with dependencies installed. We ensure all cards have the same height. LINKS Task ID 2177281 Community PR #43488 Co-Authored-By: Thibault Delavallée <tde@odoo.com> Co-Authored-By: Stéphane Debauche <std@odoo.com>
2020-01-27[IMP] event: improve kanban card display of eventsDebauche Stéphane
Purpose ======= Improve design of the kanban cards in Events. Specifications ============== Have more useful information on the kanban record and removed redundant information * Display the location of the event * Remove the duration * Date should only be in the green block * Use the same links as before Task 2170831 PR #43173
2020-01-08[IMP] event: improve some viewDebauche Stéphane
Kanban view =========== - add a field ``sales_total_price`` which contains the total sum of all sale order lines (care about the currency) - this field is used in ``event_sale`` - display the number of expected and confirmed - when clicking on these buttons, redirect to the tree view with the correct filter - display this new field in the kanban view - display the location instead of the country in the kanban view Form view ========= Change the order of the buttons in the header of the event form view Preview Badge > Contact Attendee > Contact Speaker Add a note field on the model `event.event` Search ====== Remove the default filter "Upcoming/Running" Task #2088538
2020-01-08[IMP] event: replace state by kanban stageDebauche Stéphane
Purpose ======= Remove the state on the event and add a stage. So, we can have more control on the event flow, and we will have less constrains. Website event ============= Before ------ People can register for an event if "seats are available" and if the state is "confirmed". After ----- People can register for an event if `event_registrations_open` is True, - Event: seats are available and the event is not finished - Event sale: One or more ticket has `sale_available` set to True Task #2088538
2018-07-27[REF] *: BS4, review color systemqsm-odoo
Odoo used to declare two main colors: primary and optional (which are purple and turquoise in enterprise). Those were respectively assigned to the 'primary' bootstrap variable and the 'btn-primary' bootstrap variable. BS4, however, does not allow to have a different primary color for buttons. Instead, the 'primary' color is used for all 'primary' related components and utility classes, same as for all other colors. So, if we want to keep our enterprise buttons green, our 'optional' colors had to become our 'primary' color. The old odoo primary is then renamed to the 'odoo' color. The palette of grays is now larger by default and is numbered from 100 to 900 alongside the $black and $white variables. The equivalence for older variables and the way we used them is: $gray-darker -> gray 900 (unused before) $gray-dark -> gray 900 $gray -> gray 700 $gray-light -> gray 600 $gray-lighter-darker -> gray 400 (the old variable was created by us) $gray-lighter-dark -> gray 300 (the old variable was created by us) $gray-lighter -> gray 200 Fortunately, the 'lighter' variations we created fit well in the default BS4 system ! Unfortunately, our $gray-lighter which carried the same function as $gray-200 (see above) is very close to the new default $gray-100 and quite distant from the new $gray-200. This will be handled in the next commit.
2018-07-27[REF] *: get rid of vendor prefixesqsm-odoo
BS4 do not provide vendor prefixes scss mixins anymore as it is meant to be used with the 'autoprefixer' library. As we only support the last version of every major browsers in Odoo, we took the decision to not use the library as it was also complex to integrate in Odoo. We decided to do the library's work by hand if it ever become necessary.
2018-04-18[REF] *: review scss variables handlingqsm-odoo
Unlike LESS, SCSS variables are not lazy loaded. Our system has thus to be updated. This commit creates new templates which are t-called in assets bundles (to replace the old less_helpers template): - web._assets_utils: regroups the mixins and functions which *can* (and so should) be available in every asset bundle - web._assets_primary_variables: regroups the variables (or mixins used as variables) which *can* (and so should) be available in every asset bundle - web._assets_secondary_variables: same as above but provides an environnement where all the 'primary' ones are accessible. This is for example useful to handle the community/enterprise split: // Community primary variables $o-pink-color: pink; // enterprise color $o-brand-primary: blue; // Enterprise primary variables $o-brand-primary: $o-pink-color; // Community secondary variables $o-my-darker-primary: darken($o-brand-primary, 5%); => If there was only one variable template, enterprise edition would have been able to define its primary color at the end but the darker primary would not have been updated. Using the "!default" system and putting enterprise definition above would not have solved the problem as the $o-pink-color would not have been accessible. - web._assets_backend_helpers: regroups the variables, mixins and functions which *can* (and so should) be available in the backend asset bundle only. This is especially (only?) useful for bootstrap variables overriddes. - web._assets_frontend_helpers: regroups the variables, mixins and functions which *can* (and so should) be available in the frontend asset bundle only. This is especially (only?) useful for bootstrap variables overriddes. Note: bootstrap variables are not accessible in any of those anymore. If you have variables that should depend on bootstrap, you have 3 solutions: - Find another way: your variable is probably useless, use bootstrap variables directly or create a variable that will influence the value of bootstrap variables. E.g. instead of declaring: `$myvar: $bootstrapvar * 3` and using $myvar alone, declare: `$myvar: 3` and use `$myvar * $bootstrapvar` where needed. - Declare a copy of the bootstrap variable and use that one. In that case, you should also force-set the real bootstrap one to be sure they match (this should be done in appropriate templates mentioned above). E.g. ``` $o-boostrapvar: 5; ... $boostrapvar: $o-bootstrapvar; ``` - Set your variable to null and set it to your bootstrap expression in the file you will need it (where bootstrap variables are accessible) without forgetting to add the !default flag to allow overriddes. ``` $myvar: null; ... $myvar: $bootstrapvar * 5 !default; ``` This commit also partly changes the variable names to follow the convention: $o-<app_id>-<name> where 'app_id' is the current's app name or a meaningful unique identifier ("theme" for all themes for example, as no multiple themes can be installed).
2018-04-18[REF] *: convert less content to scss contentqsm-odoo
Convert content so that the assets compile on app installation. The style is still broken after this as the variables/mixins/... are not defined in the right order (as it did not matter in LESS but does in SCSS). This commit basically changes: - Variables: @​var_hello -> $var-hello - Mixins: .mixin_world() {} -> @​mixin mixin-world {} - Classes used as mixin: .my_class() -> @​extend .my_class - Here there were no other solution than to convert the use of a mixin call by the use of an extend as a first approximation - LESS functions -> SCSS functions (e.g. fade -> rgba) - Move first variable definition before the variable is used - Still need to make sure last variable definition is at the right place
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2017-08-28[FIX] event, hr: fix kanban viewqsm-odoo
Resolve two "bugs" introduced with new design: - Events kanban dropdown position - Employees kanban tags position
2015-06-18[IMP] event: kanban view in new designMartin Geubelle
2015-01-30[FIX] event: small view fixes:Yannick Tivisse
- removed 'Edit' link on event vignette, as clicking on it redirect on the event form view; - fixed a glitch when hovering an event vignette
2015-01-29[IMP] event and event_* modules: onboarding improvementsMahendra Barad
event: - added tip - default subscription/reminder/thanks templates for registrations are now using the reply_to defined on the event - fixed check of available seats: use seats_availability field, unlimited events should never trigger the constraint - added a sequence on scheduled emails on events - config: wording improvements - various improvements in event, registration, event_mail and event_report views event_sale: - removed override of seats_max: should not depend on available seats in tickets. Indeed you may have less available places than the sum of seats for each ticket type, for example if you have 0-10 VIP and 0-20 Standard tickets for a 20-seats event. - removed a duplicated view override - added a seats_availability field on tickets, same meaning as on event. - improved event form view: registration tab is now replaced by the tickets tab when tickets are used website_event: - better management of sold-out event in the front-end, when doing registrations website_event_sale: - removed register link on the event kanban view. There is no need to to from the back-end to the front-end from the kanban view. The published button on the event form view already allows to go to the front-end view on the event - better management of sold-out event in the front-end, when doing registrations - fixed a template that was in customize and should not website_event_track: - wording improvements - small improvements in the front-end of tracks
2014-10-01[IMP] event: new kanban view. New! Shiny! With popcorn!Prashant Panchal
Added two features in kanban view - having a data-routing attribute on the oe_kanban_global_click container allow to have a custom routing instead of only 'form view' / 'edit view'. This is used for example to go to the website view of events. - allow type=url along with object, action, ... to have some specific urls for links.
2014-05-22[FIX]: Bad display in kanban view with a group by in Event.Pariket Trivedi
2013-06-28[IMP] move html module description and iconAntony Lesuisse
bzr revid: al@openerp.com-20130628100441-swpanf2jwcojygh4
2012-10-25[Fix]Improve code for IE for kanban view in eventVishmita
bzr revid: vja@tinyerp.com-20121025090712-h3a7fls712w45fon
2012-10-15[MERGE] Merged trunk.Jiten (OpenERP)
bzr revid: jra@tinyerp.com-20121015095749-yglvi7gur28q1vqu
2012-10-13[MERGE] events improvementsFabien Pinckaers
bzr revid: fp@tinyerp.com-20121013104045-w552j40hzvqv9d89
2012-10-04[MERGE]:eventAmit Patel
bzr revid: apa@tinyerp.com-20121004123150-2hfqhhhhvzmm0rzg
2012-10-04[IMP] improve the button style in event kanban viewRandhir Mayatra (OpenERP)
bzr revid: rma@tinyerp.com-20121004104110-cy7koe2xiqt9xlde
2012-10-03[IMP]Improved code for the kanban of EVENT module. In which date is not ↵Paramjit Singh Sahota
getting the shadow effect. bzr revid: psa@tinyerp.com-20121003131611-5i0fvvwjdm7hqety
2012-05-25[FIX] google map on event part1Antony Lesuisse
bzr revid: al@openerp.com-20120525191127-v5o88etlbdq0jbzn
2012-05-25[IMP] merge eventsFabien Pinckaers
bzr revid: fp@tinyerp.com-20120525134306-3lz3127527hyly77
2012-05-25[IMP] layoutFabien Pinckaers
bzr revid: fp@tinyerp.com-20120525072829-34lyox1jl60ffye8
2012-05-25[merge] eventsFabien Pinckaers
bzr revid: fp@tinyerp.com-20120525072114-x1ylvnbw2k3twbhy
2012-05-23[REM]: Remove unused code and refactor code as per specificationAtul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120523134448-9vqtiufzjgmmaq0b
2012-05-23[FIX]: ADD google map in event form view. remove preveiw wizard.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120523131956-ttslmltvzscz024o
2012-05-21[FIX]: Add osv memory wizard for event preview.Refactor code as per new ↵Atul Patel (OpenERP)
specification. bzr revid: atp@tinyerp.com-20120521132458-xozrh3vcz4wbo6t5
2012-05-17[ADD]: Add event google map file.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120517073046-i47jypr9p6ndckox
2012-05-11[ADD]: Load script from web to addons and set indentations for google maps.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120511125434-pwz2hqbgxtmrurgy
2012-05-09[Add]: Add css file into event_sale modules.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120509173839-q3y5egsp8xliyfvi
2012-05-09[FIX]: Fix address template problem.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120509121244-ougokpvpe9i5dxkx
2012-05-09[FIX]: Fix alignment in kanban view. add accessrights for event.items.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120509114210-r3tp1nnn5rvoipqy
2012-05-05[FIX]: Improve css file. Improve view.Atul Patel (OpenERP)
bzr revid: atp@tinyerp.com-20120505173340-1jmgy4clza1gy6sh
2012-05-04[MERGE]: Merged ↵Atul Patel (OpenERP)
lp:~openerp-dev/openobject-addons/trunk-event_improvements-atp-event_page_with_google_map-nco bzr revid: atp@tinyerp.com-20120504133632-qes40ecp3t17zcnv
2012-05-04[remove] remove the unused console statement.Nimesh (Open ERP)
bzr revid: nco@tinyerp.com-20120504114741-ik1ft1ln90188tpt
2012-05-04[imp] add the event page view for userNimesh (Open ERP)
bzr revid: nco@tinyerp.com-20120504113136-ws9nxquin9sk95vu