Hi, I've created a tour on odoo.. But unfortunately it is not displayed. I've created this way:
in `tour.js`:
odoo.define('tour.example_tour', function(require) {
'use strict';
var core = require('web.core');
var Tour = require('web.Tour');
var _t = core._t;
Tour.register({
id: 'example_tour',
name: 'Complete a basic order trough the Front-End',
path: '/web#model=pos.config&action=point_of_sale.action_pos_config_kanban',
mode: 'test',
steps: [{
title: 'Load the Session',
waitNot: '.oe_loading:visible',
element: '.oe_kanban_action_button:contains("New Session")',
}, ], });
});
and in `template.xml`:
<template id="assets_backend" name="Hyper Tour Assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/hyper_tour/static/src/js/tour.js"></script>
</xpath>
</template>
Thanks for the help.