~openerp-chinese-team/openerp-china/openerp-china

« back to all changes in this revision

Viewing changes to oecn_account_print/report/account_move.rml

  • Committer: JoshuaJan
  • Date: 2012-02-21 03:32:39 UTC
  • Revision ID: joshua@openerp.cn-20120221033239-0q1f281aswpku2zh
1.Add Threecolumns Ledger

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="test.pdf">
 
3
  <template pageSize="(595.0,369.0)" title="Test" author="Martin Simon" allowSplitting="20">
 
4
    <pageTemplate id="first">
 
5
      <frame id="first" x1="14.0" y1="14.0" width="567" height="341"/>
 
6
    </pageTemplate>
 
7
  </template>
 
8
  <stylesheet>
 
9
    <blockTableStyle id="Standard_Outline">
 
10
      <blockAlignment value="LEFT"/>
 
11
      <blockValign value="TOP"/>
 
12
    </blockTableStyle>
 
13
    <blockTableStyle id="&#x8868;&#x683C;1">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="0,0" stop="0,-1"/>
 
17
      <lineStyle kind="LINEABOVE" colorName="#008000" start="0,0" stop="0,0"/>
 
18
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="1,0" stop="1,-1"/>
 
19
      <lineStyle kind="LINEABOVE" colorName="#008000" start="1,0" stop="1,0"/>
 
20
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="2,0" stop="2,-1"/>
 
21
      <lineStyle kind="LINEABOVE" colorName="#008000" start="2,0" stop="2,0"/>
 
22
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="3,0" stop="3,-1"/>
 
23
      <lineStyle kind="LINEABOVE" colorName="#008000" start="3,0" stop="3,0"/>
 
24
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="4,0" stop="4,-1"/>
 
25
      <lineStyle kind="LINEABOVE" colorName="#008000" start="4,0" stop="4,0"/>
 
26
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="5,0" stop="5,-1"/>
 
27
      <lineStyle kind="LINEABOVE" colorName="#008000" start="5,0" stop="5,0"/>
 
28
      <lineStyle kind="LINEBELOW" colorName="#008000" start="5,-1" stop="5,-1"/>
 
29
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="6,0" stop="6,-1"/>
 
30
      <lineStyle kind="LINEAFTER" colorName="#008000" start="6,0" stop="6,-1"/>
 
31
      <lineStyle kind="LINEABOVE" colorName="#008000" start="6,0" stop="6,0"/>
 
32
      <lineStyle kind="LINEBELOW" colorName="#008000" start="6,-1" stop="6,-1"/>
 
33
    </blockTableStyle>
 
34
    <blockTableStyle id="&#x8868;&#x683C;2">
 
35
      <blockAlignment value="LEFT"/>
 
36
      <blockValign value="TOP"/>
 
37
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="0,0" stop="0,-1"/>
 
38
      <lineStyle kind="LINEBELOW" colorName="#008000" start="0,-1" stop="0,-1"/>
 
39
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="1,0" stop="1,-1"/>
 
40
      <lineStyle kind="LINEBELOW" colorName="#008000" start="1,-1" stop="1,-1"/>
 
41
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="2,0" stop="2,-1"/>
 
42
      <lineStyle kind="LINEABOVE" colorName="#008000" start="2,0" stop="2,0"/>
 
43
      <lineStyle kind="LINEBELOW" colorName="#008000" start="2,-1" stop="2,-1"/>
 
44
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="3,0" stop="3,-1"/>
 
45
      <lineStyle kind="LINEABOVE" colorName="#008000" start="3,0" stop="3,0"/>
 
46
      <lineStyle kind="LINEBELOW" colorName="#008000" start="3,-1" stop="3,-1"/>
 
47
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="4,0" stop="4,-1"/>
 
48
      <lineStyle kind="LINEABOVE" colorName="#008000" start="4,0" stop="4,0"/>
 
49
      <lineStyle kind="LINEBELOW" colorName="#008000" start="4,-1" stop="4,-1"/>
 
50
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="5,0" stop="5,-1"/>
 
51
      <lineStyle kind="LINEBELOW" colorName="#008000" start="5,-1" stop="5,-1"/>
 
52
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="6,0" stop="6,-1"/>
 
53
      <lineStyle kind="LINEBELOW" colorName="#008000" start="6,-1" stop="6,-1"/>
 
54
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="7,0" stop="7,-1"/>
 
55
      <lineStyle kind="LINEBELOW" colorName="#008000" start="7,-1" stop="7,-1"/>
 
56
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="8,0" stop="8,-1"/>
 
57
      <lineStyle kind="LINEBELOW" colorName="#008000" start="8,-1" stop="8,-1"/>
 
58
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="9,0" stop="9,-1"/>
 
59
      <lineStyle kind="LINEBELOW" colorName="#008000" start="9,-1" stop="9,-1"/>
 
60
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="10,0" stop="10,-1"/>
 
61
      <lineStyle kind="LINEBELOW" colorName="#008000" start="10,-1" stop="10,-1"/>
 
62
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="11,0" stop="11,-1"/>
 
63
      <lineStyle kind="LINEBELOW" colorName="#008000" start="11,-1" stop="11,-1"/>
 
64
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="12,0" stop="12,-1"/>
 
65
      <lineStyle kind="LINEBELOW" colorName="#008000" start="12,-1" stop="12,-1"/>
 
66
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="13,0" stop="13,-1"/>
 
67
      <lineStyle kind="LINEBELOW" colorName="#008000" start="13,-1" stop="13,-1"/>
 
68
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="14,0" stop="14,-1"/>
 
69
      <lineStyle kind="LINEBELOW" colorName="#008000" start="14,-1" stop="14,-1"/>
 
70
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="15,0" stop="15,-1"/>
 
71
      <lineStyle kind="LINEBELOW" colorName="#008000" start="15,-1" stop="15,-1"/>
 
72
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="16,0" stop="16,-1"/>
 
73
      <lineStyle kind="LINEBELOW" colorName="#008000" start="16,-1" stop="16,-1"/>
 
74
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="17,0" stop="17,-1"/>
 
75
      <lineStyle kind="LINEBELOW" colorName="#008000" start="17,-1" stop="17,-1"/>
 
76
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="18,0" stop="18,-1"/>
 
77
      <lineStyle kind="LINEBELOW" colorName="#008000" start="18,-1" stop="18,-1"/>
 
78
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="19,0" stop="19,-1"/>
 
79
      <lineStyle kind="LINEBELOW" colorName="#008000" start="19,-1" stop="19,-1"/>
 
80
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="20,0" stop="20,-1"/>
 
81
      <lineStyle kind="LINEBELOW" colorName="#008000" start="20,-1" stop="20,-1"/>
 
82
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="21,0" stop="21,-1"/>
 
83
      <lineStyle kind="LINEBELOW" colorName="#008000" start="21,-1" stop="21,-1"/>
 
84
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="22,0" stop="22,-1"/>
 
85
      <lineStyle kind="LINEBELOW" colorName="#008000" start="22,-1" stop="22,-1"/>
 
86
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="23,0" stop="23,-1"/>
 
87
      <lineStyle kind="LINEBELOW" colorName="#008000" start="23,-1" stop="23,-1"/>
 
88
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="24,0" stop="24,-1"/>
 
89
      <lineStyle kind="LINEBELOW" colorName="#008000" start="24,-1" stop="24,-1"/>
 
90
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="25,0" stop="25,-1"/>
 
91
      <lineStyle kind="LINEBELOW" colorName="#008000" start="25,-1" stop="25,-1"/>
 
92
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="26,0" stop="26,-1"/>
 
93
      <lineStyle kind="LINEBELOW" colorName="#008000" start="26,-1" stop="26,-1"/>
 
94
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="27,0" stop="27,-1"/>
 
95
      <lineStyle kind="LINEBELOW" colorName="#008000" start="27,-1" stop="27,-1"/>
 
96
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="28,0" stop="28,-1"/>
 
97
      <lineStyle kind="LINEAFTER" colorName="#008000" start="28,0" stop="28,-1"/>
 
98
      <lineStyle kind="LINEBELOW" colorName="#008000" start="28,-1" stop="28,-1"/>
 
99
    </blockTableStyle>
 
100
    <blockTableStyle id="&#x8868;&#x683C;3">
 
101
      <blockAlignment value="LEFT"/>
 
102
      <blockValign value="TOP"/>
 
103
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="0,0" stop="0,-1"/>
 
104
      <lineStyle kind="LINEABOVE" colorName="#008000" start="0,0" stop="0,0"/>
 
105
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="1,0" stop="1,-1"/>
 
106
      <lineStyle kind="LINEABOVE" colorName="#008000" start="1,0" stop="1,0"/>
 
107
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="2,0" stop="2,-1"/>
 
108
      <lineStyle kind="LINEABOVE" colorName="#008000" start="2,0" stop="2,0"/>
 
109
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="3,0" stop="3,-1"/>
 
110
      <lineStyle kind="LINEABOVE" colorName="#008000" start="3,0" stop="3,0"/>
 
111
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="4,0" stop="4,-1"/>
 
112
      <lineStyle kind="LINEABOVE" colorName="#008000" start="4,0" stop="4,0"/>
 
113
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="5,0" stop="5,-1"/>
 
114
      <lineStyle kind="LINEABOVE" colorName="#008000" start="5,0" stop="5,0"/>
 
115
      <lineStyle kind="LINEBELOW" colorName="#008000" start="5,-1" stop="5,-1"/>
 
116
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="6,0" stop="6,-1"/>
 
117
      <lineStyle kind="LINEAFTER" colorName="#008000" start="6,0" stop="6,-1"/>
 
118
      <lineStyle kind="LINEABOVE" colorName="#008000" start="6,0" stop="6,0"/>
 
119
      <lineStyle kind="LINEBELOW" colorName="#008000" start="6,-1" stop="6,-1"/>
 
120
    </blockTableStyle>
 
121
    <blockTableStyle id="&#x8868;&#x683C;4">
 
122
      <blockAlignment value="LEFT"/>
 
123
      <blockValign value="TOP"/>
 
124
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="0,0" stop="0,-1"/>
 
125
      <lineStyle kind="LINEBELOW" colorName="#008000" start="0,-1" stop="0,-1"/>
 
126
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="1,0" stop="1,-1"/>
 
127
      <lineStyle kind="LINEBELOW" colorName="#008000" start="1,-1" stop="1,-1"/>
 
128
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="2,0" stop="2,-1"/>
 
129
      <lineStyle kind="LINEABOVE" colorName="#008000" start="2,0" stop="2,0"/>
 
130
      <lineStyle kind="LINEBELOW" colorName="#008000" start="2,-1" stop="2,-1"/>
 
131
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="3,0" stop="3,-1"/>
 
132
      <lineStyle kind="LINEABOVE" colorName="#008000" start="3,0" stop="3,0"/>
 
133
      <lineStyle kind="LINEBELOW" colorName="#008000" start="3,-1" stop="3,-1"/>
 
134
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="4,0" stop="4,-1"/>
 
135
      <lineStyle kind="LINEABOVE" colorName="#008000" start="4,0" stop="4,0"/>
 
136
      <lineStyle kind="LINEBELOW" colorName="#008000" start="4,-1" stop="4,-1"/>
 
137
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="5,0" stop="5,-1"/>
 
138
      <lineStyle kind="LINEBELOW" colorName="#008000" start="5,-1" stop="5,-1"/>
 
139
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="6,0" stop="6,-1"/>
 
140
      <lineStyle kind="LINEBELOW" colorName="#008000" start="6,-1" stop="6,-1"/>
 
141
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="7,0" stop="7,-1"/>
 
142
      <lineStyle kind="LINEBELOW" colorName="#008000" start="7,-1" stop="7,-1"/>
 
143
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="8,0" stop="8,-1"/>
 
144
      <lineStyle kind="LINEBELOW" colorName="#008000" start="8,-1" stop="8,-1"/>
 
145
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="9,0" stop="9,-1"/>
 
146
      <lineStyle kind="LINEBELOW" colorName="#008000" start="9,-1" stop="9,-1"/>
 
147
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="10,0" stop="10,-1"/>
 
148
      <lineStyle kind="LINEBELOW" colorName="#008000" start="10,-1" stop="10,-1"/>
 
149
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="11,0" stop="11,-1"/>
 
150
      <lineStyle kind="LINEBELOW" colorName="#008000" start="11,-1" stop="11,-1"/>
 
151
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="12,0" stop="12,-1"/>
 
152
      <lineStyle kind="LINEBELOW" colorName="#008000" start="12,-1" stop="12,-1"/>
 
153
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="13,0" stop="13,-1"/>
 
154
      <lineStyle kind="LINEBELOW" colorName="#008000" start="13,-1" stop="13,-1"/>
 
155
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="14,0" stop="14,-1"/>
 
156
      <lineStyle kind="LINEBELOW" colorName="#008000" start="14,-1" stop="14,-1"/>
 
157
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="15,0" stop="15,-1"/>
 
158
      <lineStyle kind="LINEBELOW" colorName="#008000" start="15,-1" stop="15,-1"/>
 
159
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="16,0" stop="16,-1"/>
 
160
      <lineStyle kind="LINEBELOW" colorName="#008000" start="16,-1" stop="16,-1"/>
 
161
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="17,0" stop="17,-1"/>
 
162
      <lineStyle kind="LINEBELOW" colorName="#008000" start="17,-1" stop="17,-1"/>
 
163
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="18,0" stop="18,-1"/>
 
164
      <lineStyle kind="LINEBELOW" colorName="#008000" start="18,-1" stop="18,-1"/>
 
165
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="19,0" stop="19,-1"/>
 
166
      <lineStyle kind="LINEBELOW" colorName="#008000" start="19,-1" stop="19,-1"/>
 
167
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="20,0" stop="20,-1"/>
 
168
      <lineStyle kind="LINEBELOW" colorName="#008000" start="20,-1" stop="20,-1"/>
 
169
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="21,0" stop="21,-1"/>
 
170
      <lineStyle kind="LINEBELOW" colorName="#008000" start="21,-1" stop="21,-1"/>
 
171
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="22,0" stop="22,-1"/>
 
172
      <lineStyle kind="LINEBELOW" colorName="#008000" start="22,-1" stop="22,-1"/>
 
173
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="23,0" stop="23,-1"/>
 
174
      <lineStyle kind="LINEBELOW" colorName="#008000" start="23,-1" stop="23,-1"/>
 
175
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="24,0" stop="24,-1"/>
 
176
      <lineStyle kind="LINEBELOW" colorName="#008000" start="24,-1" stop="24,-1"/>
 
177
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="25,0" stop="25,-1"/>
 
178
      <lineStyle kind="LINEBELOW" colorName="#008000" start="25,-1" stop="25,-1"/>
 
179
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="26,0" stop="26,-1"/>
 
180
      <lineStyle kind="LINEBELOW" colorName="#008000" start="26,-1" stop="26,-1"/>
 
181
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="27,0" stop="27,-1"/>
 
182
      <lineStyle kind="LINEBELOW" colorName="#008000" start="27,-1" stop="27,-1"/>
 
183
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="28,0" stop="28,-1"/>
 
184
      <lineStyle kind="LINEAFTER" colorName="#008000" start="28,0" stop="28,-1"/>
 
185
      <lineStyle kind="LINEBELOW" colorName="#008000" start="28,-1" stop="28,-1"/>
 
186
    </blockTableStyle>
 
187
    <blockTableStyle id="&#x8868;&#x683C;5">
 
188
      <blockAlignment value="LEFT"/>
 
189
      <blockValign value="TOP"/>
 
190
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="0,0" stop="0,-1"/>
 
191
      <lineStyle kind="LINEABOVE" colorName="#008000" start="0,0" stop="0,0"/>
 
192
      <lineStyle kind="LINEBELOW" colorName="#008000" start="0,-1" stop="0,-1"/>
 
193
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="1,0" stop="1,-1"/>
 
194
      <lineStyle kind="LINEABOVE" colorName="#008000" start="1,0" stop="1,0"/>
 
195
      <lineStyle kind="LINEBELOW" colorName="#008000" start="1,-1" stop="1,-1"/>
 
196
      <lineStyle kind="LINEBEFORE" colorName="#008000" start="2,0" stop="2,-1"/>
 
197
      <lineStyle kind="LINEAFTER" colorName="#008000" start="2,0" stop="2,-1"/>
 
198
      <lineStyle kind="LINEABOVE" colorName="#008000" start="2,0" stop="2,0"/>
 
199
      <lineStyle kind="LINEBELOW" colorName="#008000" start="2,-1" stop="2,-1"/>
 
200
    </blockTableStyle>
 
201
    <initialize>
 
202
      <paraStyle name="all" alignment="justify"/>
 
203
    </initialize>
 
204
    <paraStyle name="P1" fontName="Helvetica" fontSize="6.0" leading="8" alignment="CENTER"/>
 
205
    <paraStyle name="P2" fontName="Helvetica" fontSize="2.0" leading="3"/>
 
206
    <paraStyle name="P3" fontName="Helvetica" fontSize="5.0" leading="7" alignment="CENTER"/>
 
207
    <paraStyle name="P4" fontName="Helvetica" fontSize="5.0" leading="7" alignment="LEFT"/>
 
208
    <paraStyle name="P5" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/>
 
209
    <paraStyle name="P6" fontName="Helvetica" fontSize="2.0" leading="3"/>
 
210
    <paraStyle name="P7" fontName="Helvetica" fontSize="6.0" leading="8" alignment="CENTER"/>
 
211
    <paraStyle name="P8" fontName="Helvetica" fontSize="6.0" leading="8" alignment="JUSTIFY"/>
 
212
    <paraStyle name="P9" fontName="Helvetica" fontSize="2.0" leading="3"/>
 
213
    <paraStyle name="P10" fontName="Helvetica" fontSize="2.0" leading="3"/>
 
214
    <paraStyle name="Standard" fontName="Helvetica"/>
 
215
    <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
 
216
    <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
217
    <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
 
218
    <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
 
219
    <paraStyle name="Index" fontName="Helvetica"/>
 
220
    <paraStyle name="Table Contents" fontName="Helvetica"/>
 
221
    <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
 
222
    <images/>
 
223
  </stylesheet>
 
224
  <story>
 
225
    <para style="P2">[[repeatIn(objects,'move')]]</para>
 
226
    <section>
 
227
      <para style="P2">[[repeatIn(range(paginate(move.line_id,5)),'page')]]</para>
 
228
      <para style="P1">
 
229
        <font face="Helvetica">记账凭证</font>
 
230
      </para>
 
231
      <para style="P8">
 
232
        <font face="Helvetica">公司名称:[[user.company_id.name]] 凭证编号: [[move.name]] [[page+1]]/[[paginate(move.line_id,5)]]</font>
 
233
      </para>
 
234
      <blockTable colWidths="64.0,64.0,42.0,42.0,42.0,156.0,156.0" style="&#x8868;&#x683C;1">
 
235
        <tr>
 
236
          <td>
 
237
            <para style="P1">摘要</para>
 
238
          </td>
 
239
          <td>
 
240
            <para style="P1">会计科目</para>
 
241
          </td>
 
242
          <td>
 
243
            <para style="P1">币别</para>
 
244
          </td>
 
245
          <td>
 
246
            <para style="P1">汇率</para>
 
247
          </td>
 
248
          <td>
 
249
            <para style="P1">原始金额</para>
 
250
          </td>
 
251
          <td>
 
252
            <para style="P1">借方</para>
 
253
          </td>
 
254
          <td>
 
255
            <para style="P1">贷方</para>
 
256
          </td>
 
257
        </tr>
 
258
      </blockTable>
 
259
      <blockTable colWidths="64.0,64.0,42.0,42.0,42.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0" style="&#x8868;&#x683C;2">
 
260
        <tr>
 
261
          <td>
 
262
            <para style="P1">
 
263
              <font color="white"> </font>
 
264
            </para>
 
265
          </td>
 
266
          <td>
 
267
            <para style="P1">
 
268
              <font color="white"> </font>
 
269
            </para>
 
270
          </td>
 
271
          <td>
 
272
            <para style="P1">单位</para>
 
273
          </td>
 
274
          <td>
 
275
            <para style="P1">单位</para>
 
276
          </td>
 
277
          <td>
 
278
            <para style="P1">单位</para>
 
279
          </td>
 
280
          <td>
 
281
            <para style="P1">十</para>
 
282
          </td>
 
283
          <td>
 
284
            <para style="P1">亿</para>
 
285
            <para style="P1">
 
286
              <font color="white"> </font>
 
287
            </para>
 
288
          </td>
 
289
          <td>
 
290
            <para style="P1">千</para>
 
291
            <para style="P1">
 
292
              <font color="white"> </font>
 
293
            </para>
 
294
          </td>
 
295
          <td>
 
296
            <para style="P1">佰</para>
 
297
            <para style="P1">
 
298
              <font color="white"> </font>
 
299
            </para>
 
300
          </td>
 
301
          <td>
 
302
            <para style="P1">十</para>
 
303
            <para style="P1">
 
304
              <font color="white"> </font>
 
305
            </para>
 
306
          </td>
 
307
          <td>
 
308
            <para style="P1">万</para>
 
309
            <para style="P1">
 
310
              <font color="white"> </font>
 
311
            </para>
 
312
          </td>
 
313
          <td>
 
314
            <para style="P1">千</para>
 
315
            <para style="P1">
 
316
              <font color="white"> </font>
 
317
            </para>
 
318
          </td>
 
319
          <td>
 
320
            <para style="P1">佰</para>
 
321
          </td>
 
322
          <td>
 
323
            <para style="P1">十</para>
 
324
          </td>
 
325
          <td>
 
326
            <para style="P1">元</para>
 
327
          </td>
 
328
          <td>
 
329
            <para style="P1">角</para>
 
330
          </td>
 
331
          <td>
 
332
            <para style="P1">分</para>
 
333
          </td>
 
334
          <td>
 
335
            <para style="P1">十</para>
 
336
          </td>
 
337
          <td>
 
338
            <para style="P1">亿</para>
 
339
            <para style="P1">
 
340
              <font color="white"> </font>
 
341
            </para>
 
342
          </td>
 
343
          <td>
 
344
            <para style="P1">千</para>
 
345
            <para style="P1">
 
346
              <font color="white"> </font>
 
347
            </para>
 
348
          </td>
 
349
          <td>
 
350
            <para style="P1">佰</para>
 
351
            <para style="P1">
 
352
              <font color="white"> </font>
 
353
            </para>
 
354
          </td>
 
355
          <td>
 
356
            <para style="P1">十</para>
 
357
            <para style="P1">
 
358
              <font color="white"> </font>
 
359
            </para>
 
360
          </td>
 
361
          <td>
 
362
            <para style="P1">万</para>
 
363
            <para style="P1">
 
364
              <font color="white"> </font>
 
365
            </para>
 
366
          </td>
 
367
          <td>
 
368
            <para style="P1">千</para>
 
369
            <para style="P1">
 
370
              <font color="white"> </font>
 
371
            </para>
 
372
          </td>
 
373
          <td>
 
374
            <para style="P1">佰</para>
 
375
          </td>
 
376
          <td>
 
377
            <para style="P1">十</para>
 
378
          </td>
 
379
          <td>
 
380
            <para style="P1">元</para>
 
381
          </td>
 
382
          <td>
 
383
            <para style="P1">角</para>
 
384
          </td>
 
385
          <td>
 
386
            <para style="P1">分</para>
 
387
          </td>
 
388
        </tr>
 
389
      </blockTable>
 
390
      <section>
 
391
        <para style="P2">[[repeatIn(move.line_id[page*5:page*5+5],'line')]]</para>
 
392
        <blockTable colWidths="64.0,64.0,42.0,42.0,42.0,156.0,156.0" style="&#x8868;&#x683C;3">
 
393
          <tr>
 
394
            <td>
 
395
              <para style="P3">[[line.name]]</para>
 
396
            </td>
 
397
            <td>
 
398
              <para style="P3">[[account_name(line.account_id.id)]]</para>
 
399
            </td>
 
400
            <td>
 
401
              <para style="P3">[[exchange_rate(line) and line.currency_id.name or '']]</para>
 
402
            </td>
 
403
            <td>
 
404
              <para style="P3">[[formatLang(exchange_rate(line) or '')]]</para>
 
405
            </td>
 
406
            <td>
 
407
              <para style="P3">[[formatLang(line.amount_currency or '')]]</para>
 
408
            </td>
 
409
            <td>
 
410
              <para style="P3">
 
411
                <font color="white"> </font>
 
412
              </para>
 
413
            </td>
 
414
            <td>
 
415
              <para style="P3">
 
416
                <font color="white"> </font>
 
417
              </para>
 
418
            </td>
 
419
          </tr>
 
420
        </blockTable>
 
421
        <blockTable colWidths="64.0,64.0,42.0,42.0,42.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0" style="&#x8868;&#x683C;4">
 
422
          <tr>
 
423
            <td>
 
424
              <para style="P3">
 
425
                <font color="white"> </font>
 
426
              </para>
 
427
            </td>
 
428
            <td>
 
429
              <para style="P3">[[line.product_id.name or (account_partner(line.account_id.id, line.partner_id.name) or '')]]</para>
 
430
            </td>
 
431
            <td>
 
432
              <para style="P3">[[line.product_uom_id .name or '']]</para>
 
433
            </td>
 
434
            <td>
 
435
              <para style="P3">[[formatLang(line.product_uom_id and unit_price(line) or '')]]</para>
 
436
              <para style="P3">
 
437
                <font color="white"> </font>
 
438
              </para>
 
439
            </td>
 
440
            <td>
 
441
              <para style="P3">[[line.product_uom_id and line.quantity or '' ]]</para>
 
442
            </td>
 
443
            <td>
 
444
              <para style="P5">[[rmb_format(line.debit)[0] ]]</para>
 
445
            </td>
 
446
            <td>
 
447
              <para style="P5">[[rmb_format(line.debit)[1] ]]</para>
 
448
            </td>
 
449
            <td>
 
450
              <para style="P5">[[rmb_format(line.debit)[2] ]]</para>
 
451
            </td>
 
452
            <td>
 
453
              <para style="P5">[[rmb_format(line.debit)[3] ]]</para>
 
454
            </td>
 
455
            <td>
 
456
              <para style="P5">[[rmb_format(line.debit)[4] ]]</para>
 
457
            </td>
 
458
            <td>
 
459
              <para style="P5">[[rmb_format(line.debit)[5] ]]</para>
 
460
            </td>
 
461
            <td>
 
462
              <para style="P5">[[rmb_format(line.debit)[6] ]]</para>
 
463
            </td>
 
464
            <td>
 
465
              <para style="P5">[[rmb_format(line.debit)[7] ]]</para>
 
466
            </td>
 
467
            <td>
 
468
              <para style="P5">[[rmb_format(line.debit)[8] ]]</para>
 
469
            </td>
 
470
            <td>
 
471
              <para style="P5">[[rmb_format(line.debit)[9] ]]</para>
 
472
            </td>
 
473
            <td>
 
474
              <para style="P5">[[rmb_format(line.debit)[10] ]]</para>
 
475
            </td>
 
476
            <td>
 
477
              <para style="P5">[[rmb_format(line.debit)[11] ]]</para>
 
478
            </td>
 
479
            <td>
 
480
              <para style="P5">[[rmb_format(line.credit)[0] ]]</para>
 
481
            </td>
 
482
            <td>
 
483
              <para style="P5">[[rmb_format(line.credit)[1] ]]</para>
 
484
            </td>
 
485
            <td>
 
486
              <para style="P5">[[rmb_format(line.credit)[2] ]]</para>
 
487
            </td>
 
488
            <td>
 
489
              <para style="P5">[[rmb_format(line.credit)[3] ]]</para>
 
490
            </td>
 
491
            <td>
 
492
              <para style="P5">[[rmb_format(line.credit)[4] ]]</para>
 
493
            </td>
 
494
            <td>
 
495
              <para style="P5">[[rmb_format(line.credit)[5] ]]</para>
 
496
            </td>
 
497
            <td>
 
498
              <para style="P5">[[rmb_format(line.credit)[6] ]]</para>
 
499
            </td>
 
500
            <td>
 
501
              <para style="P5">[[rmb_format(line.credit)[7] ]]</para>
 
502
            </td>
 
503
            <td>
 
504
              <para style="P5">[[rmb_format(line.credit)[8] ]]</para>
 
505
            </td>
 
506
            <td>
 
507
              <para style="P5">[[rmb_format(line.credit)[9] ]]</para>
 
508
            </td>
 
509
            <td>
 
510
              <para style="P5">[[rmb_format(line.credit)[10] ]]</para>
 
511
            </td>
 
512
            <td>
 
513
              <para style="P5">[[rmb_format(line.credit)[11] ]]</para>
 
514
            </td>
 
515
          </tr>
 
516
        </blockTable>
 
517
      </section>
 
518
      <blockTable colWidths="65.0,189.0,311.0" style="&#x8868;&#x683C;5">
 
519
        <tr>
 
520
          <td>
 
521
            <para style="P4">附件:[[move.attachment_count]] 张</para>
 
522
          </td>
 
523
          <td>
 
524
            <para style="P4">合计: </para>
 
525
          </td>
 
526
          <td>
 
527
            <para style="P1">
 
528
              <font color="white"> </font>
 
529
            </para>
 
530
          </td>
 
531
        </tr>
 
532
      </blockTable>
 
533
      <para style="P6">
 
534
        <font color="white"> </font>
 
535
      </para>
 
536
      <pageBreak/>
 
537
      <para style="P10">
 
538
        <font color="white"> </font>
 
539
      </para>
 
540
    </section>
 
541
  </story>
 
542
</document>
 
543