コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
9557 ビュー

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

 

アバター
破棄

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.

最善の回答

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.


アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
9月 23
5902
1
4月 23
3241
2
11月 22
3458
1
1月 21
4476
1
7月 16
5709