Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
3356 Weergaven

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
Annuleer

please provide the report action code

Beste antwoord

Try to add binding_type in the report record in xml:


Avatar
Annuleer

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

Beste antwoord

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
Annuleer
Auteur Beste antwoord

Still the same error

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 24
3125
0
okt. 23
5
2
sep. 24
1884
0
apr. 24
2459
0
nov. 23
2113