You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.4 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="action_mail_sent_feeds" model="ir.actions.client">
  5. <field name="name">Sent</field>
  6. <field name="tag">mail.wall</field>
  7. <field name="context">{
  8. 'default_model': 'res.users',
  9. 'default_res_id': uid,
  10. 'thread_model': 'res.partner',
  11. 'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds', 'mail.mail_inboxfeeds']
  12. }</field>
  13. <field name="params" eval="&quot;{
  14. 'domain': [
  15. ('author_id.user_ids', 'in', [uid]),
  16. ('sent', '=', True),
  17. ],
  18. 'view_mailbox': True,
  19. 'show_compose_message': False
  20. }&quot;"/>
  21. <field name="help" type="html">
  22. <p>
  23. No message found and no message sent yet.
  24. </p><p>
  25. Click on the top-right icon to compose a message. This
  26. message will be sent by email if it's an internal contact.
  27. </p>
  28. </field>
  29. </record>
  30. <record id="mail_sentfeeds" model="ir.ui.menu">
  31. <field name="name">Sent</field>
  32. <field name="sequence" eval="10"/>
  33. <field name="action" ref="action_mail_sent_feeds"/>
  34. <field name="parent_id" ref="mail.mail_feeds"/>
  35. </record>
  36. </data>
  37. </openerp>