Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7099 Vizualizări

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!!

Imagine profil
Abandonează

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

Autor

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

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

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

Autor Cel mai bun răspuns

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

Imagine profil
Abandonează

Good job !

Related Posts Răspunsuri Vizualizări Activitate
0
dec. 24
980
4
oct. 19
33479
1
apr. 17
3729
2
ian. 24
13657
2
aug. 24
1178