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'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
Try to add binding_type in the report record in xml:
can you show me on video i want learn if you can ?
https://www.youtube.com/watch?v=nF1PRDdUFds from CybroSis
https://www.youtube.com/watch?v=_E-lxkawlbs from Odoo Mates
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
mag 24
|
2917 | ||
|
0
ott 23
|
5 | ||
|
2
set 24
|
1749 | ||
|
0
apr 24
|
2343 | ||
|
0
nov 23
|
1969 |
please provide the report action code