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

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
3180
0
10月 23
5
2
9月 24
1924
0
4月 24
2487
0
11月 23
2164