~account-core-editors/account-invoice-report/github-7.0

« back to all changes in this revision

Viewing changes to account_invoice_delivery_address/report/account_print_invoice.rml

  • Committer: Yannick Vaucher
  • Author(s): unknown
  • Date: 2014-06-30 12:35:11 UTC
  • mfrom: (49.2.1)
  • Revision ID: git-v1:d1ef0ed59caa496aa1c8351b19f84654831231c9
[ADD] module account_invoice_delivery_address
Adds delivery address / shipping address to invoice.

Delivery address can be entered directly, or will be taken from partner or sales order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="Invoices.pdf">
 
3
  <template title="Invoices" author="OpenERP S.A.(sales@openerp.com)" allowSplitting="20">
 
4
    <pageTemplate id="first">
 
5
      <frame id="first" x1="34.0" y1="28.0" width="530" height="786"/>
 
6
    </pageTemplate>
 
7
  </template>
 
8
  <stylesheet>
 
9
    <blockTableStyle id="Standard_Outline">
 
10
      <blockAlignment value="LEFT"/>
 
11
      <blockValign value="TOP"/>
 
12
    </blockTableStyle>
 
13
    <blockTableStyle id="Table_Partner_Address">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
    </blockTableStyle>
 
17
    <blockTableStyle id="Table_Invoice_General_Header">
 
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="LINEAFTER" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
 
28
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
 
29
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
 
30
      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
 
31
      <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
 
32
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
 
33
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
 
34
    </blockTableStyle>
 
35
    <blockTableStyle id="Table_General_Detail_Content">
 
36
      <blockAlignment value="LEFT"/>
 
37
      <blockValign value="TOP"/>
 
38
      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
 
39
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
 
40
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
 
41
      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
 
42
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
 
43
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
 
44
      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
 
45
      <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
 
46
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
 
47
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
 
48
      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
 
49
      <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
 
50
      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
 
51
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
 
52
    </blockTableStyle>
 
53
    <blockTableStyle id="Table7">
 
54
      <blockAlignment value="LEFT"/>
 
55
      <blockValign value="TOP"/>
 
56
      <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
 
57
      <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
 
58
      <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
 
59
      <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
 
60
      <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
 
61
      <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
 
62
    </blockTableStyle>
 
63
    <blockTableStyle id="Table8">
 
64
      <blockAlignment value="LEFT"/>
 
65
      <blockValign value="TOP"/>
 
66
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
 
67
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
 
68
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
 
69
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
 
70
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
 
71
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
 
72
    </blockTableStyle>
 
73
    <blockTableStyle id="Table10">
 
74
      <blockAlignment value="LEFT"/>
 
75
      <blockValign value="TOP"/>
 
76
      <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
 
77
      <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
 
78
      <lineStyle kind="LINEABOVE" colorName="#000000" start="1,2" stop="1,2"/>
 
79
      <lineStyle kind="LINEABOVE" colorName="#000000" start="2,2" stop="2,2"/>
 
80
    </blockTableStyle>
 
81
    <blockTableStyle id="Table9">
 
82
      <blockAlignment value="LEFT"/>
 
83
      <blockValign value="TOP"/>
 
84
      <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
 
85
      <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
 
86
      <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
 
87
    </blockTableStyle>
 
88
    <blockTableStyle id="Table2">
 
89
      <blockAlignment value="LEFT"/>
 
90
      <blockValign value="TOP"/>
 
91
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
 
92
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
 
93
      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
 
94
    </blockTableStyle>
 
95
    <blockTableStyle id="Table1">
 
96
      <blockAlignment value="LEFT"/>
 
97
      <blockValign value="TOP"/>
 
98
    </blockTableStyle>
 
99
    <initialize>
 
100
      <paraStyle name="all" alignment="justify"/>
 
101
    </initialize>
 
102
    <paraStyle name="Standard"/>
 
103
    <paraStyle name="Text body" spaceBefore="0.0" spaceAfter="6.0"/>
 
104
    <paraStyle name="List" spaceBefore="0.0" spaceAfter="6.0"/>
 
105
    <paraStyle name="Table Contents" spaceBefore="0.0" spaceAfter="6.0"/>
 
106
    <paraStyle name="Caption" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
 
107
    <paraStyle name="Index"/>
 
108
 
 
109
    <paraStyle name="terp_header" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
 
110
    <paraStyle name="terp_default_8" rightIndent="0.0" leftIndent="0.0" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
111
    <paraStyle name="Footer"/>
 
112
    <paraStyle name="Horizontal Line" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
 
113
 
 
114
    <paraStyle name="terp_tblheader_General" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
 
115
    <paraStyle name="terp_tblheader_Details" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
 
116
    <paraStyle name="terp_tblheader_General_Centre" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
 
117
    <paraStyle name="terp_tblheader_General_Right" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
 
118
    <paraStyle name="terp_tblheader_Details_Centre" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
 
119
    <paraStyle name="terp_tblheader_Details_Right" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
 
120
 
 
121
    <paraStyle name="terp_default_Right_8" rightIndent="0.0" leftIndent="0.0" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
122
    <paraStyle name="terp_default_Centre_8" rightIndent="0.0" leftIndent="0.0" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
123
    <paraStyle name="terp_default_address" rightIndent="0.0" leftIndent="0.0" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
124
    <paraStyle name="terp_default_9" rightIndent="0.0" leftIndent="0.0" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
125
    <paraStyle name="terp_default_Bold_9" rightIndent="0.0" leftIndent="-3.0" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
126
    <paraStyle name="terp_default_Centre_9" rightIndent="0.0" leftIndent="0.0" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
 
127
    <paraStyle name="terp_default_Right_9" rightIndent="0.0" leftIndent="0.0" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
128
    <paraStyle name="terp_default_Bold_Right_9" rightIndent="0.0" leftIndent="-3.0" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
 
129
    <paraStyle name="terp_default_2" rightIndent="0.0" leftIndent="0.0" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
 
130
    <paraStyle name="terp_default_White_2" rightIndent="0.0" leftIndent="0.0"  fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0" textColor="#ffffff"/>
 
131
 
 
132
    <paraStyle name="Table" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
 
133
    <paraStyle name="User Index 10" rightIndent="0.0" leftIndent="127.0"/>
 
134
    <paraStyle name="Preformatted Text" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
 
135
    <images/>
 
136
  </stylesheet>
 
137
  <story>
 
138
    <para style="terp_default_8">[[ repeatIn(objects,'o') ]]</para>
 
139
    <para style="terp_default_8">[[ setLang(o.partner_id.lang) ]]</para>
 
140
 
 
141
<!-- START of modification for delivery address -->
 
142
    <blockTable colWidths="233.0,64.0,233.0" style="Table_Partner_Address">
 
143
      <tr>
 
144
        <td>                                                                   
 
145
            <para style="terp_default_Bold_9"
 
146
                ><b>Shipping address : [[ (o.partner_shipping_id and ' ') or removeParentNode('para') ]] </b></para>   
 
147
          <para style="terp_default_9">[[ (o.partner_shipping_id and o.partner_id.title and o.partner_shipping_id.title.name) or '' ]] [[ (o.partner_shipping_id and o.partner_shipping_id.name) or '' ]]</para>
 
148
          <para style="terp_default_9">[[ o.partner_shipping_id and display_address(o.partner_shipping_id) ]]</para>
 
149
        </td>
 
150
<!-- END of modification for delivery address -->
 
151
 
 
152
        <td>
 
153
          <para style="terp_default_8">
 
154
            <font color="white"> </font>
 
155
          </para>
 
156
        </td>
 
157
        <td>
 
158
          <para style="terp_default_8">[[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]]</para>
 
159
          <para style="terp_default_8">[[ display_address(o.partner_id) ]]</para>
 
160
          <para style="terp_default_8">
 
161
            <font color="white"> </font>
 
162
          </para>
 
163
          <para style="terp_default_8">Tel. : [[ (o.partner_id.phone) or removeParentNode('para') ]]</para>
 
164
          <para style="terp_default_8">Fax : [[ (o.partner_id.fax) or removeParentNode('para') ]]</para>
 
165
          <para style="terp_default_8">TIN : [[ (o.partner_id.vat) or removeParentNode('para') ]]</para>
 
166
        </td>
 
167
      </tr>
 
168
    </blockTable>
 
169
    <para style="terp_header"><b>Invoice [[ ((o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')) or removeParentNode('para')) and '' ]] [[ o.number ]]</b></para>
 
170
    <para style="terp_header"><b>PRO-FORMA [[ ((o.type == 'out_invoice' and o.state == 'proforma2') or removeParentNode('para')) and '' ]]</b></para>
 
171
    <para style="terp_header"><b>Draft Invoice [[ ((o.type == 'out_invoice' and o.state == 'draft') or removeParentNode('para')) and '' ]]</b></para>
 
172
    <para style="terp_header"><b>Cancelled Invoice [[ ((o.type == 'out_invoice' and o.state == 'cancel') or removeParentNode('para')) and '' ]] [[ o.number ]]</b></para>
 
173
    <para style="terp_header"><b>Refund [[ (o.type=='out_refund' or removeParentNode('para')) and '' ]] [[ o.number ]]</b></para>
 
174
    <para style="terp_header"><b>Supplier Refund [[ (o.type=='in_refund' or removeParentNode('para')) and '' ]] [[ o.number ]]</b></para>
 
175
    <para style="terp_header"><b>Supplier Invoice [[ (o.type=='in_invoice' or removeParentNode('para')) and '' ]] [[ o.number ]]</b></para>
 
176
    <para style="terp_default_8">
 
177
      <font color="white"> </font>
 
178
    </para>
 
179
    <blockTable colWidths="132.50,132.50,132.50,132.50" style="Table_Invoice_General_Header">
 
180
      <tr>
 
181
        <td>
 
182
          <para style="terp_tblheader_General_Centre"><b>Description</b></para>
 
183
        </td>
 
184
        <td>
 
185
          <para style="terp_tblheader_General_Centre"><b>Invoice Date</b></para>
 
186
        </td>
 
187
        <td>
 
188
          <para style="terp_tblheader_General_Centre"><b>Source</b></para>
 
189
        </td>
 
190
        <td>
 
191
          <para style="terp_tblheader_General_Centre"><b>Customer Code</b></para>
 
192
        </td>
 
193
      </tr>
 
194
    </blockTable>
 
195
    <blockTable colWidths="132.50,132.50,132.50,132.50" style="Table_General_Detail_Content">
 
196
      <tr>
 
197
        <td>
 
198
          <para style="terp_default_Centre_9">[[ o.name or ' ' ]]</para>
 
199
        </td>
 
200
        <td>
 
201
          <para style="terp_default_Centre_9">[[ formatLang(o.date_invoice,date=True) ]]</para>
 
202
        </td>
 
203
    <td>
 
204
          <para style="terp_default_Centre_9">[[ o.origin or '' ]]</para>
 
205
        </td>
 
206
        <td>
 
207
          <para style="terp_default_Centre_9">[[ (o.partner_id.ref) or ' ' ]]</para>
 
208
        </td>
 
209
      </tr>
 
210
    </blockTable>
 
211
    <para style="terp_default_8">
 
212
      <font color="white"> </font>
 
213
    </para>
 
214
    <pto>
 
215
    <pto_header>
 
216
        <blockTable colWidths="185.0,70.0,80.0,60.0,50.0,85.0" style="Table7">
 
217
        <tr>
 
218
            <td> <para style="terp_tblheader_Details">Description</para> </td>
 
219
            <td> <para style="terp_tblheader_Details_Centre">Taxes</para> </td>
 
220
            <td> <para style="terp_tblheader_Details_Centre">Quantity</para> </td>
 
221
            <td> <para style="terp_tblheader_Details_Right">Unit Price </para> </td>
 
222
            <td> <para style="terp_tblheader_Details_Right">Disc.(%)</para> </td>
 
223
            <td> <para style="terp_tblheader_Details_Right">Price</para> </td>
 
224
        </tr>
 
225
        </blockTable>
 
226
    </pto_header>
 
227
    <blockTable colWidths="185.0,70.0,80.0,60.0,50.0,85.0" style="Table7">
 
228
      <tr>
 
229
        <td>
 
230
          <para style="terp_tblheader_General"><b>Description</b></para>
 
231
        </td>
 
232
        <td>
 
233
          <para style="terp_tblheader_General_Centre"><b>Taxes</b></para>
 
234
        </td>
 
235
        <td>
 
236
          <para style="terp_tblheader_General_Right"><b>Quantity</b></para>
 
237
        </td>
 
238
        <td>
 
239
          <para style="terp_tblheader_General_Right"><b>Unit Price</b></para>
 
240
        </td>
 
241
        <td>
 
242
          <para style="terp_tblheader_General_Right"><b>Disc.(%)</b></para>
 
243
        </td>
 
244
        <td>
 
245
          <para style="terp_tblheader_General_Right"><b>Price</b></para>
 
246
        </td>
 
247
      </tr>
 
248
    </blockTable>
 
249
    <section>
 
250
      <para style="terp_default_2">[[ repeatIn(o.invoice_line,'l') ]]</para>
 
251
      <blockTable colWidths="185.0,70.0,80.0,60.0,50.0,85.0" style="Table8">
 
252
        <tr>
 
253
          <td>
 
254
            <para style="terp_default_9">[[ format(l.name) ]]</para>
 
255
          </td>
 
256
          <td>
 
257
            <para style="terp_default_Centre_9">[[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]]</para>
 
258
          </td>
 
259
          <td>
 
260
            <para style="terp_default_Right_9">[[ formatLang(l.quantity)]] [[ (l.uos_id and l.uos_id.name) or '' ]]</para>
 
261
          </td>
 
262
          <td>
 
263
            <para style="terp_default_Right_9">[[ formatLang(l.price_unit) ]]</para>
 
264
          </td>
 
265
          <td>
 
266
            <para style="terp_default_Centre_9">[[ formatLang(l.discount, dp='Account') ]] </para>
 
267
          </td>
 
268
          <td>
 
269
            <para style="terp_default_Right_9">[[ formatLang(l.price_subtotal, dp='Account', currency_obj=o.currency_id) ]]</para>
 
270
          </td>
 
271
        </tr>
 
272
      </blockTable>
 
273
    </section>
 
274
    </pto>
 
275
    <blockTable colWidths="385.0,60.0,85.0" style="Table10">
 
276
      <tr>
 
277
        <td>
 
278
          <para style="terp_default_8">
 
279
            <font color="white"> </font>
 
280
          </para>
 
281
        </td>
 
282
        <td>
 
283
          <para style="terp_default_9">Net Total:</para>
 
284
        </td>
 
285
        <td>
 
286
          <para style="terp_default_Right_9">[[ formatLang(o.amount_untaxed, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</para>
 
287
        </td>
 
288
      </tr>
 
289
      <tr>
 
290
        <td>
 
291
          <para style="terp_default_8">
 
292
            <font color="white"> </font>
 
293
          </para>
 
294
        </td>
 
295
        <td>
 
296
          <para style="terp_default_9">Taxes:</para>
 
297
        </td>
 
298
        <td>
 
299
          <para style="terp_default_Right_9">[[ formatLang(o.amount_tax, dp='Account', currency_obj=o.currency_id) ]]</para>
 
300
        </td>
 
301
      </tr>
 
302
      <tr>
 
303
        <td>
 
304
          <para style="terp_default_8">
 
305
            <font color="white"> </font>
 
306
          </para>
 
307
        </td>
 
308
        <td>
 
309
          <para style="terp_default_9"><b>Total:</b></para>
 
310
        </td>
 
311
        <td>
 
312
          <para style="terp_default_Bold_Right_9"><b>[[ formatLang(o.amount_total, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</b></para>
 
313
        </td>
 
314
      </tr>
 
315
    </blockTable>
 
316
    <para style="Text body">
 
317
      <font color="white"> </font>
 
318
    </para>
 
319
    <blockTable colWidths="205.0,71.0,71.0,183.0" style="Table9">
 
320
      <tr>
 
321
        <td>
 
322
          <para style="terp_tblheader_Details"><b>Tax [[ o.tax_line==[] and removeParentNode('blockTable') ]]</b></para>
 
323
        </td>
 
324
        <td>
 
325
          <para style="terp_tblheader_Details_Right"><b>Base </b></para>
 
326
        </td>
 
327
        <td>
 
328
          <para style="terp_tblheader_Details_Right"><b>Amount </b></para>
 
329
        </td>
 
330
        <td>
 
331
          <para style="terp_default_8">
 
332
            <font color="white"> </font>
 
333
          </para>
 
334
        </td>
 
335
      </tr>
 
336
    </blockTable>
 
337
    <section>
 
338
      <para style="terp_default_2">[[ repeatIn(o.tax_line,'t') ]]</para>
 
339
      <blockTable colWidths="205.0,71.0,71.0,184.0" style="Table2">
 
340
        <tr>
 
341
          <td>
 
342
            <para style="terp_default_8">[[ t.name ]]</para>
 
343
          </td>
 
344
          <td>
 
345
            <para style="terp_default_Right_8">[[ formatLang(t.base, dp='Account', currency_obj=o.currency_id) ]]</para>
 
346
          </td>
 
347
          <td>
 
348
            <para style="terp_default_Right_8">[[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]</para>
 
349
          </td>
 
350
          <td>
 
351
            <para style="terp_default_8">
 
352
              <font color="white"> </font>
 
353
            </para>
 
354
          </td>
 
355
        </tr>
 
356
      </blockTable>
 
357
    </section>
 
358
    <para style="terp_default_9">
 
359
      <font color="white"> </font>
 
360
    </para>
 
361
    <para style="terp_default_9">[[ (o.comment and format(o.comment )) or removeParentNode('para') ]]</para>
 
362
    <para style="terp_default_8">
 
363
      <font color="white"> </font>
 
364
    </para>
 
365
    <para style="terp_default_9">[[ (o.payment_term and o.payment_term.note and format(o.payment_term and o.payment_term.note)) or removeParentNode('para') ]]</para>
 
366
    <para style="terp_default_9">
 
367
      <font color="white"> </font>
 
368
    </para>
 
369
    <blockTable colWidths="120.0,410.0" style="Table1">
 
370
      <tr>
 
371
        <td>
 
372
          <para style="terp_default_Bold_9"><b>Fiscal Position Remark : </b></para>
 
373
        </td>
 
374
        <td>
 
375
          <para style="terp_default_9">[[ (o.fiscal_position and o.fiscal_position.note and format(o.fiscal_position.note)) or removeParentNode('blockTable') ]]</para>
 
376
        </td>
 
377
      </tr>
 
378
    </blockTable>
 
379
    <para style="terp_default_2">
 
380
      <font color="white"> </font>
 
381
    </para>
 
382
  </story>
 
383
</document>