Odoo Help


QWebException: "Invalid template id: 'header_foobar'" while evaluating "translate_doc(doc_id, doc_model, 'partner_id.lang', 'account.report_invoice_foobar_document')"

on 9/17/15, 9:17 AM 1,551 views

I have defined a new invoice report through GUI which works fine:

<?xml version="1.0"?>
<t t-name="account.report_invoice_foobar_document">
<t t-call="header_foobar">
<div class="page">

I also define a new QWeb through GUI and name it header_foobar:

<frame id="first" x1="1.3cm" y1="3.0cm" height="21.7cm" width="19.0cm"/>

However I can't call that header_foobar template from account.report_invoice_foobar_document.

I have also tried to configure an external ID, maybe I am missing something.

Any tip or suggestion is really welcomed. thanks

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 9/17/15, 9:17 AM
Seen: 1551 times
Last updated: 5/18/16, 4:18 AM