title: How to update default header in PDF report (qWeb)?
body: <p>I have a PDF report, using qWeb in Odoo (v8). My report has this line of code:</p>
  
  <pre><code>&lt;t t-call="report.external_layout"&gt;
  </code></pre>
  
  <p>This line I suppose is for inserting the predefined header in the PDF report. In Settings -> Companies, tab Report Configuration in respective company, there is something like this:</p>
  
  <pre><code>&lt;header&gt;
      &lt;pageTemplate&gt;
          &lt;frame id="first" x1="1.3cm" y1="3.0cm" height="21.7cm" width="19.0cm"/&gt;
           &lt;stylesheet&gt;
              &lt;!-- Set here the default font to use for all &lt;para&gt; tags --&gt;
              &lt;paraStyle name='Normal' fontName="DejaVuSans"/&gt;
              &lt;paraStyle name="main_footer" fontSize="8.0" alignment="CENTER"/&gt;
              &lt;paraStyle name="main_header" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/&gt;
           &lt;/stylesheet&gt;
          &lt;pageGraphics&gt;
              &lt;!-- Set here the default font to use for all &lt;drawString&gt; tags --&gt;
              &lt;setFont name="DejaVuSans" size="8"/&gt;
              &lt;!-- You Logo - Change X,Y,Width and Height --&gt;
              &lt;image x="1.3cm" y="27.7cm" height="40.0" &gt;[[ company.logo or removeParentNode('image') ]]&lt;/image&gt;
              &lt;fill color="black"/&gt;
              &lt;stroke color="black"/&gt;
              &lt;!-- page header --&gt;
              &lt;lines&gt;1.3cm 27.7cm 20cm 27.7cm&lt;/lines&gt;
              &lt;drawRightString x="20cm" y="27.8cm"&gt;[[ company.rml_header1 ]]&lt;/drawRightString&gt;
              &lt;drawString x="1.3cm" y="27.3cm"&gt;[[ company.partner_id.name ]]&lt;/drawString&gt;
              &lt;place x="1.3cm" y="25.3cm" height="1.8cm" width="15.0cm"&gt;
                  &lt;para style="main_header"&gt;[[ display_address(company.partner_id) or  '' ]]&lt;/para&gt;
              &lt;/place&gt;
              &lt;drawString x="1.3cm" y="25.0cm"&gt;Phone:&lt;/drawString&gt;
              &lt;drawRightString x="7cm" y="25.0cm"&gt;[[ company.partner_id.phone or '' ]]&lt;/drawRightString&gt;
              &lt;drawString x="1.3cm" y="24.6cm"&gt;Mail:&lt;/drawString&gt;
              &lt;drawRightString x="7cm" y="24.6cm"&gt;[[ company.partner_id.email or '' ]]&lt;/drawRightString&gt;
              &lt;lines&gt;1.3cm 24.5cm 7cm 24.5cm&lt;/lines&gt;
              &lt;!-- left margin --&gt;
              &lt;rotate degrees="90"/&gt;
              &lt;fill color="grey"/&gt;
              &lt;drawString x="2.65cm" y="-0.4cm"&gt;generated by Odoo.com&lt;/drawString&gt;
              &lt;fill color="black"/&gt;
              &lt;rotate degrees="-90"/&gt;
              &lt;!--page bottom--&gt;
              &lt;lines&gt;1.2cm 2.65cm 19.9cm 2.65cm&lt;/lines&gt;
              &lt;place x="1.3cm" y="0cm" height="2.55cm" width="19.0cm"&gt;
                  &lt;para style="main_footer"&gt;[[ company.rml_footer ]]&lt;/para&gt;
                  &lt;para style="main_footer"&gt;Contact : [[ user.name ]] - Page: &lt;pageNumber/&gt;&lt;/para&gt;
              &lt;/place&gt;
          &lt;/pageGraphics&gt;
      &lt;/pageTemplate&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>I changed some lines in order to print the header just like I need it. When I press button Preview Header/Footer, it shows everything just like I typed it, but I doesn't work when I print the report: header is still printed like it was by default. Some threads in forums say to uncheck the Reload from Attachment checkbox... in my case, it always has been unchecked.</p>
  
  <p>As you can see, header is typed in RML form, and my report is in qWeb... Is this a problem? If it is it, how to fix it?</p>
  
  <p>So, how to edit (... and make it to work ...) the PDF report default header???</p>
  
  <p>Thanks in advance.</p>