Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
3362 Tampilan

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'

Avatar
Buang

please provide the report action code

Jawaban Terbai

Try to add binding_type in the report record in xml:


Avatar
Buang

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

Jawaban Terbai

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
...

Avatar
Buang
Penulis Jawaban Terbai

Still the same error

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 24
3127
0
Okt 23
5
2
Sep 24
1889
0
Apr 24
2460
0
Nov 23
2114