~openerp-community/openobject-server/fix-1130010-toxml-escape-quot

« back to all changes in this revision

Viewing changes to openerp/addons/base/res/res_company.py

  • Committer: niv-openerp
  • Date: 2013-06-10 15:06:57 UTC
  • mfrom: (4867.1.15 saas-1)
  • Revision ID: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
[MERGE] saas1 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
<header>
279
279
<pageTemplate>
280
280
    <frame id="first" x1="28.0" y1="28.0" width="%s" height="%s"/>
 
281
    <stylesheet>
 
282
       <!-- Set here the default font to use for all <para> tags -->
 
283
       <parastyle name='Normal' fontName="DejaVu Sans"/>
 
284
    </stylesheet>
281
285
    <pageGraphics>
282
286
        <fill color="black"/>
283
287
        <stroke color="black"/>
287
291
        <drawCentredString x="%s" y="%s">[[ company.partner_id.name ]]</drawCentredString>
288
292
        <stroke color="#000000"/>
289
293
        <lines>%s</lines>
 
294
        <!-- Set here the default font to use for all <drawString> tags -->
 
295
        <!-- don't forget to change the 2 other occurence of <setFont> above if needed --> 
 
296
        <setFont name="DejaVu Sans" size="8"/>
290
297
    </pageGraphics>
291
298
</pageTemplate>
292
299
</header>"""
310
317
    <pageTemplate>
311
318
        <frame id="first" x1="1.3cm" y1="3.0cm" height="%s" width="19.0cm"/>
312
319
         <stylesheet>
313
 
            <paraStyle name="main_footer"  fontName="DejaVu Sans" fontSize="8.0" alignment="CENTER"/>
314
 
            <paraStyle name="main_header"  fontName="DejaVu Sans" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
320
            <!-- Set here the default font to use for all <para> tags -->
 
321
            <parastyle name='Normal' fontName="DejaVu Sans"/>
 
322
            <paraStyle name="main_footer" fontSize="8.0" alignment="CENTER"/>
 
323
            <paraStyle name="main_header" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
315
324
         </stylesheet>
316
325
        <pageGraphics>
 
326
            <!-- Set here the default font to use for all <drawString> tags -->
 
327
            <setFont name="DejaVu Sans" size="8"/>
317
328
            <!-- You Logo - Change X,Y,Width and Height -->
318
329
            <image x="1.3cm" y="%s" height="40.0" >[[ company.logo or removeParentNode('image') ]]</image>
319
 
            <setFont name="DejaVu Sans" size="8"/>
320
330
            <fill color="black"/>
321
331
            <stroke color="black"/>
322
332