Skip to Content
Menú
This question has been flagged
3 Respostes
16078 Vistes

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
Descartar

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
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de maig 25
1205
0
de març 24
1215
2
de nov. 16
5441
1
de març 15
3828
3
de març 15
8864