styles - odoo / OpenERP V8 - template lost for the QWEB reports -


system: odoo v8.

issue: on last pdf order discovered somehow the template not applied. (only flat ugly text) fields here, including footer but header not here , there no style applied nor pictures (as default in previous reports) the same occurred pdf reports guess somehow changed or killed template. how may fix it?

before: after install correct. base template applied , ok both sales , purchase pdf files.

update: content of model in company setting (settings=>company under report tab) correct (when preview page ok)

the external_layout qview :

<?xml version="1.0"?>  <t t-name="report.external_layout">      <!-- multicompany -->      <t t-if="o , 'company_id' in o">          <t t-set="company" t-value="o.company_id"/>      </t>      <t t-if="not o or not 'company_id' in o">          <t t-set="company" t-value="res_company"/>      </t>        <t t-call="report.external_layout_header"/>      <t t-raw="0"/>      <t t-call="report.external_layout_footer"/>  </t>

the external_layout_header qview (we can see call rml header expected):

<?xml version="1.0"?> <t t-name="report.external_layout_header">     <div class="header">         <div class="row">             <div class="col-xs-3">                 <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 45px;"/>             </div>             <div class="col-xs-9 text-right" style="margin-top:20px;" t-field="company.rml_header1"/>         </div>         <div class="row zero_min_height">             <div class="col-xs-12">                 <div style="border-bottom: 1px solid black;"/>             </div>         </div>         <div class="row">             <div class="col-xs-3">                 <div t-field="company.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: true}" style="border-bottom: 1px solid black;"/>             </div>         </div>     </div> </t> 

both footer , header seem included. result of pdf reports is: - no header - content ok (but no font nor style) - footer ok (but no font nor style)

thank you

hello stephane tampigny,

plase read post

click see answer questioned post references

i hope should helpful ..:)


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -