Browse Source

[FIX] show subject in channel_all

pull/20/head
x620 9 years ago
parent
commit
ad6356b54c
  1. 2
      mail_to/doc/index.rst
  2. 12
      res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js
  3. 3
      res_partner_mails_count/templates.xml

2
mail_to/doc/index.rst

@ -9,4 +9,4 @@ Usage
* Many messages have Recipients info. * Many messages have Recipients info.
* Click Inbox left menu item, click Send mail button, set recipient and send message. This message will show recipient. * Click Inbox left menu item, click Send mail button, set recipient and send message. This message will show recipient.
* To see the recipient's need hover the mouse over a message. * To see the recipient's need hover the mouse over a message.
* For messages created before install module it will not work where the recipients is not set there is not way restore recipients value.
* For messages created before install module it will not work where the recipients are not set. There is no way to restore recipients value.

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_all: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