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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
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>
<field name="params" eval=""{
'domain': [
('to_read', '=', True),
('starred', '=', False),
],
'view_mailbox': True,
'view_inbox': True,
'read_action': 'read'
}""/>
<field name="help" type="html">
<p>
<b>Good Job!</b> Your inbox is empty.
</p><p>
Your inbox contains private messages or emails sent to you
as well as information related to documents or people you
follow.
</p>
</field>
</record>
Thank you so much Mr.atchuthan