Browse Source

Merge remote-tracking branch 'upstream/9.0-res_partner_mails_count' into 9.0-res_partner_mails_count

pull/22/head
x620 9 years ago
parent
commit
d4602874c7
  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', waitFor: '.mails_to:visible',
}, },
{ {
title: _t("Messages are found!"),
title: _t("Done"),
placement: 'top', placement: 'top',
waitNot: '.mails_to:visible', waitNot: '.mails_to:visible',
waitFor: '.o_mail_thread',
element: '.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"> <record id="base.open_menu" model="ir.actions.todo">
<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">500</field>
<field name="type">automatic</field>
</record> </record>
</data> </data>
</openerp> </openerp>
Loading…
Cancel
Save