Browse Source

Merge pull request #15 from ilyasProgrammer/8_tmp

8 tour steps
pull/29/head
Ivan Yelizariev 9 years ago
parent
commit
0d72b313fd
  1. 13
      res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js
  2. 1
      res_partner_mails_count/templates.xml

13
res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js

@ -8,7 +8,6 @@
name: _t("Mails count Tour"), name: _t("Mails count Tour"),
mode: 'test', mode: 'test',
path: '/web?res_partner_mails_count=tutorial#id=3&view_type=form&model=res.partner', path: '/web?res_partner_mails_count=tutorial#id=3&view_type=form&model=res.partner',
// mode: 'tutorial',
steps: [ steps: [
{ {
title: _t("Mails count tutorial"), title: _t("Mails count tutorial"),
@ -28,15 +27,11 @@
element: '.oe_mail_wall .oe_msg.oe_msg_composer_compact>div>.oe_compose_post', 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."),
title: _t("Done"),
placement: 'top',
waitNot: '.mails_to:visible',
element: 'div.oe_msg_content>textarea.field_text', element: 'div.oe_msg_content>textarea.field_text',
},
{
wait: '7000',
title: "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 "),
content: _t("Message are found. <br/>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")}, popover: {next: _t("Close Tutorial")},
}, },
] ]

1
res_partner_mails_count/templates.xml

@ -57,6 +57,7 @@
<field name="action_id" ref="res_partner_mails_count_tutorial"/> <field name="action_id" ref="res_partner_mails_count_tutorial"/>
<field name="state">open</field> <field name="state">open</field>
<field name="sequence">200</field> <field name="sequence">200</field>
<field name="type">automatic</field>
</record> </record>
</data> </data>
</openerp> </openerp>
Loading…
Cancel
Save