Skip to Content
Menu
This question has been flagged
3 Replies
14989 Views

Hello, I'm trying to develop my first module. Odoo version is 9.0c 

The problem is when I add 'parent="mail.mail_feeds"' into todo_view.xml I get error External ID not found in the system

Do I have to install some additional module(I didn' find any module with name Mail)?

todo_view.xml

<?xml version="1.0"?>
<odoo>
 <record model="ir.actions.act_window" id="action_todo_task">
 <field name="name">To-Do Task</field>
 <field name="res_model">todo.task</field>
 <field name="view_type">form</field>
 <field name="view_mode">tree, form</field>
 </record>
 <menuitem id="menu_todo_task" name="To-Do Task"
           parent="mail.mail_feeds"
sequence="20"
  action="action_todo_task"/>
 </odoo>

__openerp__.py

# -*- coding: utf-8 -*-
{
 'name': "ToDo application",
 'description': "Manage your's todos here",
 'application': False,
 'version': '0.1',
 'data': ['todo_view.xml'],
 'installable': True,
 'auto_install': False,
 'depends': ['mail'],
}
Avatar
Discard

Hello roman, Check the action which is define by you in menuitem that is mail.mail_feeds is right or not

Best Answer

Hello Roman,


If you want to show your menu under the Discuss then try this


<menuitem id="menu_todo_task" name="To-Do Task"

parent="mail.mail_channel_menu_root_chat"

sequence="20"

action="action_todo_task"/>


Thanks,


Avatar
Discard
Best Answer

<menuitem id="menu_todo_task"
name="To-Do task"
parent="mail.mail_channel_menu_root_chat"
action="action_todo_task"/>

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 24
331
2
Nov 16
4585
3
Mar 15
7908
1
Mar 15
3050
1
Aug 24
292