odoo.define('account.tour', function(require) {
"use strict";
var core = require('web.core');
var tour = require('web_tour.tour');
var _t = core._t;
tour.register('account_tour', {
'skip_enabled': true,
}, [{
trigger: ".o_form_readonly .o_invoice_validate",
extra_trigger: '.o_invoice_form',
content: _t("Click to validate your invoice. A reference will be assigned to this invoice and you will not be able to modify it anymore."),
position: "right"
}, {
trigger: ".o_invoice_send",
extra_trigger: '.o_invoice_form',
content: _t("Click to send the invoice by email."),
position: "bottom"
}, {
trigger: ".o_mail_send",
content: _t("Click to send the invoice."),
position: "bottom"
} ]);
});