diff --git a/addons/account/static/src/js/tours/account.js b/addons/account/static/src/js/tours/account.js index 1f039052bd5..6b5ab2955fd 100644 --- a/addons/account/static/src/js/tours/account.js +++ b/addons/account/static/src/js/tours/account.js @@ -30,11 +30,6 @@ tour.register('account_tour', { trigger: "a.o_onboarding_step_action[data-method=action_open_account_onboarding_create_invoice]", content: _t("Now, we'll create your first invoice."), position: "bottom", - }, { - trigger: "input[name=name]", - extra_trigger: "[name=move_type][raw-value=out_invoice]", - content: _t("Customize the prefix and number to fit your needs."), - run: 'text SALE/0000000001' }, { trigger: "div[name=partner_id] input", extra_trigger: "[name=move_type][raw-value=out_invoice]", @@ -49,6 +44,7 @@ tour.register('account_tour', { trigger: ".modal-content button.btn-primary", extra_trigger: "[name=move_type][raw-value=out_invoice]", content: _t("Once everything is set, you are good to continue. You will be able to edit this later in the Customers menu."), + auto: true, }, { trigger: "div[name=invoice_line_ids] .o_field_x2many_list_row_add a:not([data-context])", extra_trigger: "[name=move_type][raw-value=out_invoice]", @@ -77,10 +73,12 @@ tour.register('account_tour', { extra_trigger: "[name=move_type][raw-value=out_invoice]", content: _t("Write here your own email address to test the flow."), run: 'text customer@example.com', + auto: true, }, { trigger: ".modal-content button.btn-primary", extra_trigger: "[name=move_type][raw-value=out_invoice]", content: _t("Validate."), + auto: true, }, { trigger: "button[name=send_and_print_action]", extra_trigger: "[name=move_type][raw-value=out_invoice]",