Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
3430 Vizualizări

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'

Imagine profil
Abandonează

please provide the report action code

Cel mai bun răspuns

Try to add binding_type in the report record in xml:


Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Still the same error

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 24
3219
0
oct. 23
5
2
sept. 24
1949
0
apr. 24
2515
0
nov. 23
2184