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

I created action and template as in odoo16 docs, but when I click on print button I got error: AssertionError: Call _get_view_id, expected 'ir.ui.view', got 'ir.actions.report'

아바타
취소

please provide the report action code

베스트 답변

Try to add binding_type in the report record in xml:


아바타
취소

can you show me on video i want learn if you can ?

베스트 답변

I faced the same error, My issue was that I was not passing the template id in field 'report_name' instead I was passing the the report id
   

...
​module_name.my_report_template
...

아바타
취소
작성자 베스트 답변

Still the same error

아바타
취소
관련 게시물 답글 화면 활동
1
5월 24
3130
0
10월 23
5
2
9월 24
1889
0
4월 24
2463
0
11월 23
2114