|
|
@ -1,14 +1,14 @@ |
|
|
|
(function () { |
|
|
|
odoo.define('res_partner_mails_count.res_partner_mails_count_tour', function (require) { |
|
|
|
'use strict'; |
|
|
|
var Core = require('web.core'); |
|
|
|
var Tour = require('web.Tour'); |
|
|
|
var _t = Core._t; |
|
|
|
|
|
|
|
var _t = openerp._t; |
|
|
|
|
|
|
|
openerp.Tour.register({ |
|
|
|
Tour.register({ |
|
|
|
id: 'mails_count_tour', |
|
|
|
name: _t("Mails count Tour"), |
|
|
|
mode: 'test', |
|
|
|
path: '/web?res_partner_mails_count=tutorial#id=3&view_type=form&model=res.partner', |
|
|
|
// mode: 'tutorial',
|
|
|
|
path: '/web?&res_partner_mails_count=tutorial#id=3&view_type=form&model=res.partner', |
|
|
|
steps: [ |
|
|
|
{ |
|
|
|
title: _t("Mails count tutorial"), |
|
|
@ -19,28 +19,17 @@ |
|
|
|
title: _t("New fields"), |
|
|
|
content: _t("Here is new fields with mails counters. Press one of it."), |
|
|
|
element: '.mails_to', |
|
|
|
waitFor: '.mails_to:visible', |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
waitNot: '.mails_to:visible', |
|
|
|
title: _t("Send message from here"), |
|
|
|
placement: 'left', |
|
|
|
content: _t("Now you can see corresponding mails. You can send mail to this partner right from here. Press <em>'Send a mesage'</em>."), |
|
|
|
element: '.oe_mail_wall .oe_msg.oe_msg_composer_compact>div>.oe_compose_post', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "New message", |
|
|
|
placement: 'left', |
|
|
|
content: _t("You can type message here."), |
|
|
|
element: 'div.oe_msg_content>textarea.field_text', |
|
|
|
}, |
|
|
|
{ |
|
|
|
wait: '7000', |
|
|
|
title: "That's it", |
|
|
|
wait: '2000', |
|
|
|
waitFor: '.o_channel_name.mail_archives:visible', |
|
|
|
title: _t("That's it"), |
|
|
|
content: _t("Enjoy your day! <br/> <br/><a href='https://www.it-projects.info/apps' target='_blank'>IT-Projects LLC</a> team "), |
|
|
|
popover: { next: _t("Close Tutorial") }, |
|
|
|
}, |
|
|
|
] |
|
|
|
}); |
|
|
|
|
|
|
|
}()); |
|
|
|
}); |