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

No such external ID currently defined in the system error while adding a menu item.

By
vivek
on 5/10/13, 8:11 AM 2,644 views

I want to define a new menu under After Sales Service in CRM module

So i've defined the below menu in project_view.xml

<menuitem name="Helpdesk and Support" id="menu_help_support_main"
        groups="base.group_sale_salesman" parent="base.menu_aftersale"
        action="action_view_task" sequence="2" />

The parent menu is defined in crm_claim_menu.xml

<menuitem id="base.menu_aftersale" name="After-Sale Services"
        groups="base.group_sale_salesman"
        parent="base.menu_base_partner" sequence="2" />

When did the above i got the followin error.

raise ValueError('No such external ID currently defined in the system: %s.%s' %  (module, xml_id))
ValueError: No such external ID currently defined in the system:base.menu_aftersale

Thanks for any help!!

In which module did you define the new menu ? (crm , crm helpdesk or crm_claim)

saad
on 5/10/13, 8:23 AM

Hi, i've updated my ques, please check and guide me.

vivek
on 5/10/13, 8:31 AM
0
vivek
On 5/10/13, 9:04 AM

Hi,

Thanks, my problem is resolved. i did the below

i've added this in project_view.xml

<menuitem id="base.menu_aftersale" name="After-Sale Services"
        groups="base.group_sale_salesman"
        parent="base.menu_base_partner" sequence="2" />

<menuitem name="Helpdesk and Support" id="menu_action_view_task"
        groups="base.group_sale_salesman" parent="base.menu_aftersale"
        action="action_view_task" sequence="2" />

as did in file crm_claim_menu.xml and added the dependency as 'crm' in __openerp__.py.

Thanks for your suggestion

Good job !

saad
on 5/10/13, 9:16 AM
0

saad

--saad--
1008
| 5 4 8
Casablanca, Morocco
--saad--
saad
On 5/10/13, 8:51 AM

As I understand it, you are trying to add menu in project module.

If so, go on __openerp.py in project module and add 'crm_claim' to depends tag.

Yeah, i didt it already, but the prob is still unresolved.

vivek
on 5/10/13, 8:58 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

0 follower(s)

Stats

Asked: 5/10/13, 8:11 AM
Seen: 2644 times
Last updated: 3/16/15, 8:10 AM