Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
9406 Widoki

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

 

Awatar
Odrzuć

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.

Najlepsza odpowiedź

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.


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 23
5760
1
kwi 23
3089
2
lis 22
3264
1
sty 21
4330
1
lip 16
5573