콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
9767 화면

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
6100
1
4월 23
3479
2
11월 22
3637
1
1월 21
4649
1
7월 16
5943