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

Hi Everyone,

I'm working with a module that needs some configuration, so I created a wizard name 'app_name.config.wizard'. And also created a post_install_hook and assigned a python function named 'on_app_installed'. The difficulty I'm facing now is, I need to call this wizard from the hook when I return action like we usually do in Odoo,  It's not working. Obviously, it will not work because it's returned from a python function, not from an Odoo model method. Is there any way to walk around this?

아바타
취소
베스트 답변

Hello, Some thing is not clear, but if you want to do something like this. when module is installed it ask for configuration wizard. So for that you can use. ir.actions.todo action. once module is installed it will give you one pop up which you want to open.

you need to bind your wizard action with ir.actions.todo. 


아바타
취소
관련 게시물 답글 화면 활동
0
11월 19
2810
0
12월 19
2118
3
7월 19
3127
0
1월 25
448
2
11월 22
5279