Odoo Help

Welcome!

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.

0

Error: External ID not found in the system

By
Roman
on 2/19/16, 7:26 AM 1,218 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'],
}

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

Jignesh Mehta
on 2/19/16, 8:13 AM
1

Jignesh Mehta

--Jignesh Mehta--
2081
| 6 4 8
Surat, India
--Jignesh Mehta--


Jignesh Mehta
On 2/19/16, 8:21 AM

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,


0
Dr Obx
On 2/19/16, 10:48 AM

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

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)

Stats

Asked: 2/19/16, 7:26 AM
Seen: 1218 times
Last updated: 2/20/16, 2:53 AM