Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
3194 Представления

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
2924
0
окт. 23
5
2
сент. 24
1755
0
апр. 24
2343
0
нояб. 23
1973