Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
3226 Vues

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
Ignorer

please provide the report action code

Meilleure réponse

Try to add binding_type in the report record in xml:


Avatar
Ignorer

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

Meilleure réponse

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
Ignorer
Auteur Meilleure réponse

Still the same error

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
2948
0
oct. 23
5
2
sept. 24
1764
0
avr. 24
2346
0
nov. 23
1980