Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


how to create menu item like inbox

Mohammed Khamis
on 11/12/14, 2:33 AM 779 views

Hi every body ,

I want to show number of message not read from  my module like inbox menu item but i cant do it .

And I am sorry to my poor language skills.

thanks alot


Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 11/12/14, 4:42 AM

To have an action similar to INBOX, use ir.actions.client

The action created for INBOX is in mail module.

        <record id="action_mail_inbox_feeds" model="ir.actions.client">
            <field name="name">Inbox</field>
            <field name="tag">mail.wall</field>
            <field name="res_model">mail.message</field>
            <field name="context">{
              'default_model': 'res.users',
              'default_res_id': uid,
              'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds']
            <field name="params" eval="&quot;{
                'domain': [
                  ('to_read', '=', True),
                  ('starred', '=', False),
                'view_mailbox': True,
                'view_inbox': True,
                'read_action': 'read'
            <field name="help" type="html">
                    <b>Good Job!</b> Your inbox is empty.
                    Your inbox contains private messages or emails sent to you
                    as well as information related to documents or people you

Thank you so much Mr.atchuthan

Mohammed Khamis
on 11/19/14, 1:08 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/12/14, 2:33 AM
Seen: 779 times
Last updated: 3/16/15, 8:10 AM