Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
3184 Visualizzazioni

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
Abbandona

please provide the report action code

Risposta migliore

Try to add binding_type in the report record in xml:


Avatar
Abbandona

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

Risposta migliore

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
Abbandona
Autore Risposta migliore

Still the same error

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 24
2917
0
ott 23
5
2
set 24
1749
0
apr 24
2343
0
nov 23
1969