Browse Source

Merge pull request #16 from ilyasProgrammer/9.0-res_partner_mais_count_fix_docs

[IMP] tour last step, todo type
pull/23/head
Ivan Yelizariev 9 years ago
parent
commit
d2a1b23fb2
  1. 12
      res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js
  2. 3
      res_partner_mails_count/templates.xml

12
res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js

@ -22,17 +22,13 @@ odoo.define('res_partner_mails_count.res_partner_mails_count_tour', function (re
waitFor: '.mails_to:visible',
},
{
title: _t("Messages are found!"),
title: _t("Done"),
placement: 'top',
waitNot: '.mails_to:visible',
waitFor: '.o_mail_thread',
element: '.o_mail_thread',
},
{
wait: '5000',
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") },
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")},
},
]
});

3
res_partner_mails_count/templates.xml

@ -40,7 +40,8 @@
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="res_partner_mails_count_tutorial"/>
<field name="state">open</field>
<field name="sequence">200</field>
<field name="sequence">500</field>
<field name="type">automatic</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save