[fix] problem in o2m
[odoo/odoo.git] / addons / auction / report / auction_artists.rml
1 <?xml version="1.0"?>
2 <document filename="test.pdf">
3   <template title="Artists" author="OpenERP S.A. (sales@openerp.com)" allowSplitting="20">
4     <pageTemplate id="first">
5       <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
6     </pageTemplate>
7   </template>
8   <stylesheet>
9     <blockTableStyle id="Standard_Outline">
10       <blockAlignment value="LEFT"/>
11       <blockValign value="TOP"/>
12     </blockTableStyle>
13     <blockTableStyle id="Tableau1">
14       <blockAlignment value="LEFT"/>
15       <blockValign value="TOP"/>
16       <lineStyle kind="GRID" colorName="black"/>
17     </blockTableStyle>
18     <initialize>
19       <paraStyle name="all" alignment="justify"/>
20     </initialize>
21     <paraStyle name="P1" fontName="Times-Roman" fontSize="7.0" leading="9" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
22     <paraStyle name="P2" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
23     <paraStyle name="P3" fontName="Times-Roman" fontSize="7.0" leading="9" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
24     <paraStyle name="P4" rightIndent="0.0" leftIndent="0.0" fontName="Courier-Bold" fontSize="7.0" leading="9" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
25     <paraStyle name="P5" fontName="Courier" fontSize="11.0" leading="14" alignment="JUSTIFY" spaceBefore="0.0" spaceAfter="6.0"/>
26     <paraStyle name="P6" fontName="Courier" fontSize="11.0" leading="14" alignment="JUSTIFY" spaceBefore="0.0" spaceAfter="6.0"/>
27     <paraStyle name="P7" fontName="Courier" spaceBefore="0.0" spaceAfter="3.0"/>
28     <paraStyle name="P8" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="JUSTIFY" spaceBefore="0.0" spaceAfter="6.0"/>
29     <paraStyle name="P9" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
30     <paraStyle name="Standard" fontName="Times-Roman"/>
31     <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
32     <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
33     <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
34     <paraStyle name="Table Contents" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
35     <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
36     <paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
37     <paraStyle name="Addressee" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="3.0"/>
38     <paraStyle name="Index" fontName="Times-Roman"/>
39   </stylesheet>
40   <story>
41     <para style="P1">
42       <font color="white"> </font>
43     </para>
44     <para style="P2">
45       <font face="Times-Roman" size="7.0">[[ repeatIn(objects,'o') ]]</font>
46     </para>
47     <para style="P3">
48       <font color="white"> .........</font>
49     </para>
50     <para style="P4"><font face="Times-Roman" size="12.0">Article</font>: <font face="Times-Roman" size="11.0">[[o.product_id and o.product_id.name or False]]</font></para>
51     <para style="P3">
52       <font color="white"> </font>
53     </para>
54     <blockTable colWidths="474.0" style="Tableau1">
55       <tr>
56         <td>
57           <para style="P5"/>
58           <para style="P6">[[o.artist_id and 'Artist1: '+o.artist_id.name or False]]</para>
59           <para style="P7">[[o.artist_id and 'Biography: '+o.artist_id.biography or False]]</para>
60           <para style="P5">
61             <font color="white"> </font>
62           </para>
63           <para style="P6">[[o.artist2_id and 'Artist2: '+o.artist2_id.name or False]]</para>
64           <para style="P8">
65             <font face="Courier">[[o.artist2_id and 'Biography: '+o.artist2_id.biography or False]]</font>
66           </para>
67         </td>
68       </tr>
69     </blockTable>
70     <para style="P9">
71       <font color="white"> </font>
72     </para>
73   </story>
74 </document>
75