Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
3378 Переглядів

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'

Аватар
Відмінити

please provide the report action code

Найкраща відповідь

Try to add binding_type in the report record in xml:


Аватар
Відмінити

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

Найкраща відповідь

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

Аватар
Відмінити
Автор Найкраща відповідь

Still the same error

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 24
3146
0
жовт. 23
5
2
вер. 24
1907
0
квіт. 24
2476
0
лист. 23
2132