Skip to Content
Menu
This question has been flagged
1 Atsakyti
1050 Rodiniai

Error message:

The report's template False is wrong, please contact your administrator. Can not separate file to save as attachment because the report's template does not contains the attributes 'data-oe-model' and 'data-oe-id' on the div with 'article' classname.

Portretas
Atmesti
Best Answer

i have the same problem.

i tried this solution: i cant put the link because i dont have 20 karma so here is the domain instead:

put this in the browser after .com /forum/help-1/error-upon-printing-invoice-212287​

but i wouldn't know where to put the two 't-att-data-oe-model' and 't-att-data-oe-id' ' in my code

i tried and placed every where but still the problem won't go away.

here is my codes:


template file:

session_templates.xml





















Start Date Duration









session_reports.xml




Session Info
session
qweb-pdf

open_academy.session_templates
open_academy.session_templates

('Course-'+object.course_id.title+
'_'+'Session-'+object.name+'.pdf')

report




Portretas
Atmesti