Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
2575 Zobrazení

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
Zrušit

please provide the report action code

Nejlepší odpověď

Try to add binding_type in the report record in xml:


Avatar
Zrušit

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

Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

Still the same error

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
2328
0
říj 23
5
2
zář 24
1197
0
dub 24
1855
0
lis 23
1449