Hello
I have a small problem in my qweb report, i get error :
Internal Server Error.
in my file "rapport_bc.xml :
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<report
id="rapport_bc"
string="Bon de commande"
model="sale.order"
report_type="qweb-pdf"
file="sale.model_bc"
name="sale.model_bc"
/>
</data>
</openerp>
and in my file "model_bc.xml'
<openerp>
<data>
<template id="model_bc_doc">
<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>
<p>This object's name is <span t-field="o.name"/></p>
</div>
</t>
</t>
</t>
</template>
<template id="model_bc">
<t t-call="report.html_container">
<t t-foreach="doc_ids" t-as="doc_id">
<t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', sale.model_bc_doc')"/>
</t>
</t>
</template>
</data>
</openerp>
i reference my report in "__openerp__.py"
"init_xml": [],
'update_xml': [
'new_sale_view.xml',
'rapport_bc.xml',
'model_bc.xml',
],
Have you checked the Odoo logfile?