I created the report, taking the following steps, as stated in the tutorial (I also created the module from the tutorial and there the report works):
- reports.xml in the data list
- added code in reports.xml:
<openerp>
<data>
<report
id="report_idtest"
model="pprepair.ppmain"
string="Ppreport"
report_type="qweb-pdf"
name="pprepair.report_idtest_name"
/>
<template id="report_idtest_name">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="report.external_layout">
<div class="page">
<h2>Report title</h2>
</div>
</t>
</t>
</t>
</template>
</data>
</openerp>
thats it. when I change the attribute "name" to the value of "pprepair.report_idtest_name", I get error with "QWebTemplateNotFound" and when I change it to the value ""pprepair.report_idtest" I get error with "IndexError".
I tried it on Odoo 9, because I read that it could be a bug and get the same behavior.
I may be overlooking a detail, this is driving me nuts.