Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
9474 Prikazi

Hello,

i was trying to add a new menu to an already existing custom module and i suddenly encountered an error message "KeyError: u'ir.actions.menu'"

i tried to look it up but i haven't found anything

please help

 

Avatar
Opusti

Hi

Upgrade base module and then check it

hi

You probably have a syntax error in xml code,It would be more helpful if you can post your code.

Best Answer

My dear good sir,

I have countered the same problem, turns out it caused by using the same IDs within both action and menu.

A sample:

<record id="an_id" .... >

<menuitem id="an_id" .... >


You are welcome.


Avatar
Opusti
Best Answer

This error occurred to me and I take several hours trying to discover what caused it, and in the last I find that I make a stupid something I didn't notice It .
I named  the id of the action and the menuitem with the same name. 
so you need to delete the ation and the menu from database and rename the id of the menu and the action. 
This solve the error

Avatar
Opusti
Best Answer

I'm facing the same problem. Did someone had seen this lately?

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
sep. 23
5827
1
apr. 23
3152
2
nov. 22
3360
1
jan. 21
4390
1
jul. 16
5633