[IMP] {website_}event: improve tour usability

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#70682

X-original-commit: 203499216c657631b39b6ddc9560a1daaf20a862
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Munaf Khan
2021-05-11 14:05:04 +00:00
parent 41d8b8cf68
commit 3d84bb6494
3 changed files with 4 additions and 11 deletions
@@ -57,20 +57,14 @@ tour.register('event_tour', {
}, {
trigger: '.o_event_form_view div[name="event_ticket_ids"] .o_field_x2many_list_row_add a',
content: _t("Ticket types allow you to distinguish your attendees. Let's <b>create</b> a new one."),
}, {
trigger: '.o_form_button_save',
extra_trigger: '.o_event_form_view',
content: _t("Awesome! Now, let's <b>save</b> your changes."),
position: 'bottom',
width: 250,
}, ...new EventAdditionalTourSteps()._get_website_event_steps(), {
trigger: '.o_event_form_view div[name="stage_id"] button:contains("Booked")',
trigger: '.o_event_form_view div[name="stage_id"]',
extra_trigger: 'div.o_form_buttons_view:not(.o_hidden)',
content: _t("Now that your event is ready, click here to move it to another stage."),
position: 'bottom',
}, {
trigger: 'ol.breadcrumb li.breadcrumb-item:first',
extra_trigger: '.o_event_form_view div[name="stage_id"] button.disabled:contains("Booked")',
extra_trigger: '.o_event_form_view div[name="stage_id"]',
content: _t("Use the <b>breadcrumbs</b> to go back to your kanban overview."),
position: 'bottom',
run: 'click',
+1 -1
View File
@@ -1067,7 +1067,7 @@ msgstr ""
#, python-format
msgid ""
"With the Edit button, you can <b>customize</b> the web page visitors will "
"see when registrating."
"see when registering."
msgstr ""
#. module: website_event
@@ -16,13 +16,12 @@ EventAdditionalTourSteps.include({
this._super.apply(this, arguments);
return [{
trigger: '.o_event_form_view button[name="is_published"]',
extra_trigger: 'div.o_form_buttons_view:not(.o_hidden)',
content: _t("Use this <b>shortcut</b> to easily access your event web page."),
position: 'bottom',
}, {
trigger: 'li#edit-page-menu a',
extra_trigger: '.o_wevent_event',
content: _t("With the Edit button, you can <b>customize</b> the web page visitors will see when registrating."),
content: _t("With the Edit button, you can <b>customize</b> the web page visitors will see when registering."),
position: 'bottom',
}, {
trigger: 'div[name="Image - Text"] .oe_snippet_thumbnail',