[Merge]: Merge from report team addons branch.
[odoo/odoo.git] / addons / mrp_repair / report / order.rml
1 <?xml version="1.0"?>
2 <document filename="test.pdf">
3   <template pageSize="(595.0,842.0)" title="Repair" author="OpenERP S.A. (sales@openerp.com)" allowSplitting="20">
4     <pageTemplate id="first">
5       <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
6     </pageTemplate>
7   </template>
8   <stylesheet>
9     <blockTableStyle id="Standard_Outline">
10       <blockAlignment value="LEFT"/>
11       <blockValign value="TOP"/>
12     </blockTableStyle>
13     <blockTableStyle id="Table1">
14       <blockAlignment value="LEFT"/>
15       <blockValign value="TOP"/>
16     </blockTableStyle>
17     <blockTableStyle id="Table2">
18       <blockAlignment value="LEFT"/>
19       <blockValign value="TOP"/>
20       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
21       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
22       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
23       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
24       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
25       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
26       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
27       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
28       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
29       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
30       <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
31       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
32       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
33     </blockTableStyle>
34     <blockTableStyle id="Table3">
35       <blockAlignment value="LEFT"/>
36       <blockValign value="TOP"/>
37       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
38       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
39       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
40       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
41       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
42       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
43       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
44       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
45       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
46       <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
47       <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
48       <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
49       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
50     </blockTableStyle>
51     <blockTableStyle id="Table4">
52       <blockAlignment value="LEFT"/>
53       <blockValign value="TOP"/>
54       <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
55       <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
56       <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
57       <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
58       <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
59     </blockTableStyle>
60     <blockTableStyle id="Table5">
61       <blockAlignment value="LEFT"/>
62       <blockValign value="TOP"/>
63       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
64       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
65       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
66       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
67       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
68       <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
69     </blockTableStyle>
70         <blockTableStyle id="Table6">
71       <blockAlignment value="LEFT"/>
72       <blockValign value="TOP"/>
73       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="0,-1" stop="0,-1"/>
74       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="1,-1" stop="1,-1"/>
75       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="2,-1" stop="2,-1"/>
76       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="3,-1" stop="3,-1"/>
77       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="4,-1" stop="4,-1"/>
78       <lineStyle kind="LINEBELOW" colorName="#cccccc" start="5,-1" stop="5,-1"/>
79     </blockTableStyle>
80     <blockTableStyle id="Table9">
81       <blockAlignment value="LEFT"/>
82       <blockValign value="TOP"/>
83       <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
84       <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
85       <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
86       <lineStyle kind="LINEABOVE" colorName="#000000" start="1,2" stop="1,2"/>
87       <lineStyle kind="LINEABOVE" colorName="#000000" start="2,2" stop="2,2"/>
88       <lineStyle kind="LINEABOVE" colorName="#000000" start="3,2" stop="3,2"/>
89     </blockTableStyle>
90     <blockTableStyle id="Table8">
91       <blockAlignment value="LEFT"/>
92       <blockValign value="TOP"/>
93     </blockTableStyle>
94     <initialize>
95       <paraStyle name="all" alignment="justify"/>
96     </initialize>
97     <paraStyle name="P1" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
98     <paraStyle name="P2" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
99     <paraStyle name="P3" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
100     <paraStyle name="P4" fontName="Helvetica-Oblique" fontSize="7.0" leading="9" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
101     <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
102     <paraStyle name="P6" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
103     <paraStyle name="P7" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
104     <paraStyle name="P8" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
105     <paraStyle name="P9" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
106     <paraStyle name="P10" fontName="Helvetica-Bold" fontSize="5.0" leading="7" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
107     <paraStyle name="P11" fontName="Helvetica-Bold" fontSize="7.0" leading="9" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
108     <paraStyle name="P12" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
109     <paraStyle name="P13" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
110     <paraStyle name="P14" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
111     <paraStyle name="P15" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
112     <paraStyle name="P16" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
113     <paraStyle name="P17" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
114         <paraStyle name="P18" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
115     <paraStyle name="P19" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
116     <paraStyle name="P20" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
117     <paraStyle name="P21" fontName="Helvetica-Oblique" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
118     <paraStyle name="P22" fontName="Helvetica-Oblique" fontSize="2.0" leading="3"/>
119     <paraStyle name="P23" fontName="Helvetica-Bold" fontSize="9.0" leading="11"/>
120     <paraStyle name="P24" fontName="Helvetica"/>
121     <paraStyle name="P25" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/>
122     <paraStyle name="P26" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/>
123     <paraStyle name="P27" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT"/>
124     <paraStyle name="P28" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT"/>
125     <paraStyle name="P29" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
126     <paraStyle name="P30" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
127     <paraStyle name="Standard" fontName="Times-Roman"/>
128     <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
129     <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
130     <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
131     <paraStyle name="Table Contents" fontName="Times-Roman"/>
132     <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER"/>
133     <paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
134     <paraStyle name="Index" fontName="Times-Roman"/>
135     <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
136     <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
137     <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
138     <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
139     <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
140     <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
141     <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
142     <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
143     <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
144     <paraStyle name="Footer" fontName="Times-Roman"/>
145     <paraStyle name="Horizontal Line" fontName="Times-Roman" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
146     <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
147     <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
148     <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
149     <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
150     <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
151     <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
152     <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
153     <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
154     <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
155     <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
156     <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
157     <paraStyle name="terp_default_Italic" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
158     <paraStyle name="Preformatted Text" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
159     <paraStyle name="terp_default_right_bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
160     <paraStyle name="terp_default_centre_9_bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
161   </stylesheet>
162   <images/>
163   <story>
164   <pto>
165   <pto_header>
166     <blockTable colWidths="254.0,100.0,60.0,60.0,60.0" repeatRows="1" style="Table4">
167       <tr>
168         <td>
169           <para style="terp_tblheader_Details">Description</para>
170         </td>
171         <td>
172           <para style="terp_tblheader_Details_Centre">VAT</para>
173         </td>
174         <td>
175           <para style="terp_tblheader_Details_Right">Quantity</para>
176         </td>
177         <td>
178           <para style="terp_tblheader_Details_Right">Unit Price</para>
179         </td>
180         <td>
181           <para style="terp_tblheader_Details_Right">Price</para>
182         </td>
183       </tr>
184     </blockTable>
185   </pto_header>
186     <para style="P12">[[ repeatIn(objects,'o') ]]</para>
187     <blockTable colWidths="265.0,51.0,225.0" style="Table1">
188       <tr>
189         <td>
190           <para style="P5">Shipping address :</para>
191           <para style="P3">[[ o.partner_id.name ]]</para>
192           <para style="P3">[[ o.address_id.street ]]</para>
193           <para style="P3">[[ o.address_id.street2 or removeParentNode('para') ]]</para>
194           <para style="P3">[[ o.address_id.city or '' ]] [[ o.address_id.zip or '' ]]</para>
195           <para style="P3">[[ (o.address_id.state_id and o.address_id.state_id.name) or removeParentNode('para') ]] </para>
196           <para style="P3">[[ o.address_id.country_id and o.address_id.country_id.name or '' ]]</para>
197           <para style="P3">
198             <font color="white"> </font>
199           </para>
200           <para style="P13">Invoice address :</para>
201           <para style="P3">[[ o.partner_id and o.partner_id.property_payment_term.name ]]</para>
202           <para style="P3">[[ o.partner_invoice_id.street ]]</para>
203           <para style="P3">[[ o.partner_invoice_id.street2 or removeParentNode('para') ]]</para>
204           <para style="P3">[[ o.partner_invoice_id.zip or '' ]] [[ o.partner_invoice_id.city or '' ]]</para>
205           <para style="P3">[[ (o.partner_invoice_id.state_id and o.partner_invoice_id.state_id.name) or removeParentNode('para') ]]</para>
206           <para style="P3">[[ o.partner_invoice_id.country_id and o.partner_invoice_id.country_id.name or '' ]]</para>
207         </td>
208         <td>
209           <para style="P12">
210             <font color="white"> </font>
211           </para>
212         </td>
213         <td>
214           <para style="P3">[[ o.partner_id.name or removeParentNode('para') ]]</para>
215           <para style="P3">[[ o.default_address_id and o.default_address_id.street or removeParentNode('para') ]]</para>
216           <para style="P3">[[ o.default_address_id and o.default_address_id.street2 or removeParentNode('para') ]]</para>
217           <para style="P3">[[ o.default_address_id and o.default_address_id.zip or removeParentNode('para') ]][[ o.default_address_id and o.default_address_id.city or removeParentNode('para') ]]</para>
218           <para style="P3">[[ o.default_address_id and o.default_address_id.state_id and o.default_address_id.state_id.name or removeParentNode('para') ]]</para>
219           <para style="P3">[[ o.default_address_id and o.default_address_id.country_id and o.default_address_id.country_id.name or removeParentNode('para') ]]</para>
220           <para style="P3">
221             <font color="white"> </font>
222           </para>
223           <para style="P3">
224             <font color="white"> </font>
225           </para>
226           <para style="P3">
227             <font color="white"> </font>
228           </para>
229           <para style="P3">
230             <font color="white"> </font>
231           </para>
232         </td>
233       </tr>
234     </blockTable>
235     <para style="P12">
236       <font color="white"> </font>
237     </para>
238     <para style="P10">
239       <font color="white"> </font>
240     </para>
241     <para style="P8">[[ o.state&lt;&gt;'draft' and removeParentNode('para') ]]Repair Quotation <font face="Helvetica">N° : [[ o.name ]]</font></para>
242     <para style="P9">[[ o.state=='draft' and removeParentNode('para') ]]Repair Order N° : [[ o.name ]]</para>
243     <para style="P11">
244       <font color="white"> </font>
245     </para>
246     <para style="P7">
247       <font color="white"> </font>
248     </para>
249     <blockTable colWidths="130.0,136.0,136.0,136.0" style="Table2">
250       <tr>
251         <td>
252           <para style="P15">Product to Repair </para>
253         </td>
254         <td>
255           <para style="P15">Lot Number</para>
256         </td>
257         <td>
258           <para style="P15">Guarantee Limit </para>
259         </td>
260         <td>
261           <para style="P15">Printing Date</para>
262         </td>
263       </tr>
264     </blockTable>
265     <blockTable colWidths="130.0,136.0,136.0,136.0" style="Table3">
266       <tr>
267         <td>
268           <para style="P16">[[ o.product_id.name or '' ]]</para>
269         </td>
270         <td>
271           <para style="P16">[[ o.prodlot_id.name or ' ' ]]</para>
272         </td>
273         <td>
274           <para style="P16">[[ formatLang(o.guarantee_limit,date = True) ]]</para>
275         </td>
276         <td>
277           <para style="P16">[[ formatLang(time.strftime('%Y-%m-%d'),date = True)]] </para>
278         </td>
279       </tr>
280     </blockTable>
281     <para style="P12">
282       <font color="white"> </font>
283     </para>
284     <para style="P12">
285       <font color="white"> </font>
286     </para>
287     <blockTable colWidths="254.0,100.0,60.0,60.0,60.0" repeatRows="1" style="Table4">
288       <tr>
289         <td>
290           <para style="terp_tblheader_Details">Description</para>
291         </td>
292         <td>
293           <para style="terp_tblheader_Details_Centre">VAT</para>
294         </td>
295         <td>
296           <para style="terp_tblheader_Details_Right">Quantity</para>
297         </td>
298         <td>
299           <para style="terp_tblheader_Details_Right">Unit Price</para>
300         </td>
301         <td>
302           <para style="terp_tblheader_Details_Right">Price</para>
303         </td>
304       </tr>
305     </blockTable>
306     <para style="P29">Operation Line(s)</para>
307     <section>
308       <para style="P30"><font color="white">[[ repeatIn(o.operations,'line') ]] </font></para>
309       <para style="P30"><font color="white">[[ line or removeParentNode('section')]]</font></para>
310       <blockTable colWidths="254.0,100.0,60.0,60.0,60.0" style="Table5">[[ (line.to_invoice==True) or removeParentNode('blockTable') ]]
311         <tr>
312           <td>
313             <para style="terp_default_9"><font face="Helvetica-Oblique" size="8.0">(Add)  [[ ((line.type == 'add') or removeParentNode('para')) and '' ]]</font><font> [[ line.name ]]</font></para>
314                 <para style="terp_default_9"><font face="Helvetica-Oblique" size="8.0">(Remove)  [[ ((line.type == 'remove') or removeParentNode('para')) and '' ]]</font><font> [[ line.name ]]</font></para>
315           </td>
316           <td>
317             <para style="terp_default_Centre_9">[[ ','.join(map( lambda x: x.name, line.tax_id)) ]]</para>
318           </td>
319           <td>
320             <para style="terp_default_Right_9">[[ formatLang(line.product_uom_qty) ]] [[ line.product_uom.name ]]</para>
321
322           </td>
323           <td>
324             <para style="terp_default_Right_9">[[ formatLang(line.price_unit) ]] </para>
325           </td>
326           <td>
327             <para style="terp_default_Right_9">[[ formatLang(line.price_subtotal) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>
328           </td>
329         </tr>
330       </blockTable>
331     </section>
332     <para style="P29">Fees Line(s) [[ (o.fees_lines ==[] and  removeParentNode('para') )  ]]</para>
333     <section>
334     <para style="P30"><font color="white">[[ repeatIn(o.fees_lines,'fees') ]]</font></para>
335     <para style="P30"><font color="white">[[ fees or removeParentNode('section')]]</font></para>
336
337     <blockTable colWidths="254.0,100.0,60.0,60.0,60.0" style="Table6">[[ (fees.to_invoice==True) or removeParentNode('blockTable') ]]
338       <tr>
339         <td>
340           <para style="terp_default_9"><font>[[ fees.name ]]</font></para>
341         </td>
342         <td>
343           <para style="terp_default_Centre_9">[[ ','.join(map( lambda x: x.name, fees.tax_id)) ]]</para>
344         </td>
345         <td>
346           <para style="terp_default_Right_9">[[ formatLang(fees.product_uom_qty) ]] [[ fees.product_uom.name ]] </para>
347         </td>
348         <td>
349           <para style="terp_default_Right_9">[[ formatLang(fees.price_unit) ]]</para>
350         </td>
351         <td>
352           <para style="terp_default_Right_9">[[ formatLang(fees.price_subtotal) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>
353         </td>
354       </tr>
355     </blockTable>
356     </section>
357     <blockTable colWidths="404.0,67.0,64.0" style="Table9">
358       <tr>
359         <td>
360           <para style="P28">
361             <font color="white"> </font>
362           </para>
363         </td>
364         <td>
365           <para style="terp_default_9">Net Total :</para>
366         </td>
367         <td>
368           <para style="P26">[[ formatLang(o.amount_untaxed, digits=get_digits(dp='Sale Price'))]] [[ o.pricelist_id.currency_id. symbol ]]</para>
369         </td>
370
371       </tr>
372       <tr>
373         <td>
374           <para style="P28">
375             <font color="white"> </font>
376           </para>
377         </td>
378         <td>
379           <para style="terp_default_9">Taxes:</para>
380         </td>
381         <td>
382           <para style="P26">[[ formatLang(o.amount_tax, digits=get_digits(dp='Account'))]] [[ o.pricelist_id.currency_id. symbol ]]</para>
383         </td>
384       </tr>
385       <tr>
386         <td>
387           <para style="P28">
388             <font color="white"> </font>
389           </para>
390         </td>
391         <td>
392           <para style="terp_tblheader_Details">Total :</para>
393         </td>
394         <td>
395           <para style="terp_default_right_bold_9">[[ formatLang(total(o), digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id. symbol ]]</para>
396         </td>
397       </tr>
398     </blockTable>
399     <para style="Standard">
400       <font color="white"> </font>
401     </para>
402     <para style="Standard">
403       <font color="white"> </font>
404     </para>
405     <blockTable colWidths="534.0" style="Table8">
406       <tr>
407         <td>
408           <para style="P3">[[ format(o.quotation_notes or '') or removeParentNode('blockTable') ]]</para>
409         </td>
410       </tr>
411     </blockTable>
412     <para style="P24">
413       <font color="white"> </font>
414     </para>
415   </pto>
416   </story>
417 </document>