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

In a freshly new created database, I installed a module named "analytic"

Such module defines, among other things, some actions

No menu item calls any of these actions, so in _my_ module, I'm trying to define a menu item that calls one of these actions defined by "analytic"

Specifically, the one that is supposed to open a tree view of the Analytic Accounts

In the code it's defined as follows



Analytic Accounts
ir.actions.act_window
account.analytic.account

{'search_default_active':1}
tree,kanban,form


Add a new analytic account






In the settings -> Techical -> Actions view, I search "analytic" and the actions defined by the analytic module come up


among them, the above shown action


but if I see its metadata (from the "bug" menu) I find its xml id is "/"


How/why is that ?





아바타
취소
베스트 답변

Hi,

If an action is created from the user interface or from python code, it will not have an external ID. Can you see how this action get created ?


Thanks

아바타
취소
작성자

I tried to edit my question

I added the screenshot, that should clarify how the action gets created

I also tried to clen the formatting of the code, with not much success

관련 게시물 답글 화면 활동
2
7월 22
11770
0
11월 21
1868
1
9월 21
4498
0
5월 21
2799
2
10월 23
4946