Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Reports, keep getting errors "QWebTemplateNotFound: External ID not found in the system" or "IndexError: list index out of range"
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:
<t t-foreach="docs" t-as="o">
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.
You need to change your report declaration to this:
replace module in the report attr name with the module where the report is defined
thanks Axel Mendoza
i tested on the odoo 8 instance and it makes no difference.
I used http://localhost:8069/report/pdf/pprepair.report_idtest_name/1 and http://localhost:8069/report/pdf/report_idtest_name/1 to call.
In setting > reports, the reports exist, in case I forgot to mention that.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/5/15, 11:04 AM|
|Seen: 1292 times|
|Last updated: 12/1/15, 5:27 AM|