Add header in rml for technical guide report
authorApa (Open ERP) <apa@tinyerp.com>
Sat, 27 Dec 2008 07:02:47 +0000 (12:32 +0530)
committerApa (Open ERP) <apa@tinyerp.com>
Sat, 27 Dec 2008 07:02:47 +0000 (12:32 +0530)
bzr revid: apa@tinyerp.com-20081227070247-0c89qq6r97akc8gy

bin/addons/base/module/report/ir_module_reference.rml

index 7aa3a80..b19d0dd 100644 (file)
@@ -3,6 +3,16 @@
   <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
     <pageTemplate id="first">
       <frame id="first" x1="42.0" y1="42.0" width="511" height="758"/>
+      <header>
+           <pageGraphics>
+                 <setFont name="Helvetica-Bold" size="9"/>
+                  <drawString x="1.0cm" y="28.1cm">[[ company.name ]]</drawString>
+                  <drawRightString x="20cm" y="28.1cm"> Reference Guide </drawRightString>
+                  <lineMode width="0.7"/>
+                  <stroke color="black"/>
+                  <lines>1cm 28cm 20cm 28cm</lines>
+             </pageGraphics>
+      </header> 
     </pageTemplate>
   </template>
   <stylesheet>