~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-03-14 06:29:11 UTC
  • Revision ID: joshua@openerp.cn-20120314062911-oj55h9dodzca0b0s
修改报表的模版

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
      <blockAlignment value="LEFT"/>
11
11
      <blockValign value="TOP"/>
12
12
    </blockTableStyle>
 
13
    <blockTableStyle id="&#x8868;&#x683C;6">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
    </blockTableStyle>
13
17
    <blockTableStyle id="&#x8868;&#x683C;1">
14
18
      <blockAlignment value="LEFT"/>
15
19
      <blockValign value="TOP"/>
204
208
    <paraStyle name="P1" fontName="Helvetica" fontSize="6.0" leading="8" alignment="CENTER"/>
205
209
    <paraStyle name="P2" fontName="Helvetica" fontSize="2.0" leading="3"/>
206
210
    <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"/>
 
211
    <paraStyle name="P4" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER"/>
 
212
    <paraStyle name="P5" fontName="Helvetica" fontSize="2.0" leading="3"/>
209
213
    <paraStyle name="P6" fontName="Helvetica" fontSize="2.0" leading="3"/>
210
214
    <paraStyle name="P7" fontName="Helvetica" fontSize="6.0" leading="8" alignment="CENTER"/>
211
215
    <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"/>
 
216
    <paraStyle name="P9" fontName="Helvetica" fontSize="6.0" leading="8" alignment="RIGHT"/>
 
217
    <paraStyle name="P10" fontName="Helvetica" fontSize="5.0" leading="7" alignment="CENTER"/>
 
218
    <paraStyle name="P11" fontName="Helvetica" fontSize="11.0" leading="14" alignment="CENTER"/>
 
219
    <paraStyle name="P12" fontName="Helvetica" fontSize="11.0" leading="14" alignment="LEFT"/>
214
220
    <paraStyle name="Standard" fontName="Helvetica"/>
215
221
    <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
216
222
    <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
225
231
    <para style="P2">[[repeatIn(objects,'move')]]</para>
226
232
    <section>
227
233
      <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">
 
234
      <para style="P11">记账凭证</para>
 
235
      <para style="P7">
 
236
        <font color="white"> </font>
 
237
      </para>
 
238
      <blockTable colWidths="283.0,283.0" style="&#x8868;&#x683C;6">
 
239
        <tr>
 
240
          <td>
 
241
            <para style="P8">公司名称:[[user.company_id.name]]</para>
 
242
          </td>
 
243
          <td>
 
244
            <para style="P9">凭证编号: [[move.name]] [[page+1]]/[[paginate(move.line_id,5)]]</para>
 
245
          </td>
 
246
        </tr>
 
247
      </blockTable>
 
248
      <para style="P8"/>
 
249
      <blockTable colWidths="64.0,65.0,42.0,42.0,42.0,156.0,156.0" style="&#x8868;&#x683C;1">
235
250
        <tr>
236
251
          <td>
237
252
            <para style="P1">摘要</para>
256
271
          </td>
257
272
        </tr>
258
273
      </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">
 
274
      <blockTable colWidths="64.0,65.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
275
        <tr>
261
276
          <td>
262
277
            <para style="P1">
282
297
          </td>
283
298
          <td>
284
299
            <para style="P1">亿</para>
285
 
            <para style="P1">
286
 
              <font color="white"> </font>
287
 
            </para>
288
300
          </td>
289
301
          <td>
290
302
            <para style="P1">千</para>
291
 
            <para style="P1">
292
 
              <font color="white"> </font>
293
 
            </para>
294
303
          </td>
295
304
          <td>
296
305
            <para style="P1">佰</para>
297
 
            <para style="P1">
298
 
              <font color="white"> </font>
299
 
            </para>
300
306
          </td>
301
307
          <td>
302
308
            <para style="P1">十</para>
303
 
            <para style="P1">
304
 
              <font color="white"> </font>
305
 
            </para>
306
309
          </td>
307
310
          <td>
308
311
            <para style="P1">万</para>
309
 
            <para style="P1">
310
 
              <font color="white"> </font>
311
 
            </para>
312
312
          </td>
313
313
          <td>
314
314
            <para style="P1">千</para>
315
 
            <para style="P1">
316
 
              <font color="white"> </font>
317
 
            </para>
318
315
          </td>
319
316
          <td>
320
317
            <para style="P1">佰</para>
336
333
          </td>
337
334
          <td>
338
335
            <para style="P1">亿</para>
339
 
            <para style="P1">
340
 
              <font color="white"> </font>
341
 
            </para>
342
336
          </td>
343
337
          <td>
344
338
            <para style="P1">千</para>
345
 
            <para style="P1">
346
 
              <font color="white"> </font>
347
 
            </para>
348
339
          </td>
349
340
          <td>
350
341
            <para style="P1">佰</para>
351
 
            <para style="P1">
352
 
              <font color="white"> </font>
353
 
            </para>
354
342
          </td>
355
343
          <td>
356
344
            <para style="P1">十</para>
357
 
            <para style="P1">
358
 
              <font color="white"> </font>
359
 
            </para>
360
345
          </td>
361
346
          <td>
362
347
            <para style="P1">万</para>
363
 
            <para style="P1">
364
 
              <font color="white"> </font>
365
 
            </para>
366
348
          </td>
367
349
          <td>
368
350
            <para style="P1">千</para>
369
 
            <para style="P1">
370
 
              <font color="white"> </font>
371
 
            </para>
372
351
          </td>
373
352
          <td>
374
353
            <para style="P1">佰</para>
389
368
      </blockTable>
390
369
      <section>
391
370
        <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">
 
371
        <blockTable colWidths="64.0,65.0,42.0,42.0,42.0,156.0,156.0" style="&#x8868;&#x683C;3">
393
372
          <tr>
394
373
            <td>
395
 
              <para style="P3">[[line.name]]</para>
 
374
              <para style="P3">
 
375
                <font color="white"> </font>
 
376
              </para>
396
377
            </td>
397
378
            <td>
398
 
              <para style="P3">[[account_name(line.account_id.id)]]</para>
 
379
              <para style="P3">
 
380
                <font color="white"> </font>
 
381
              </para>
399
382
            </td>
400
383
            <td>
401
384
              <para style="P3">[[exchange_rate(line) and line.currency_id.name or '']]</para>
418
401
            </td>
419
402
          </tr>
420
403
        </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">
 
404
        <blockTable colWidths="64.0,65.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
405
          <tr>
423
406
            <td>
424
 
              <para style="P3">
425
 
                <font color="white"> </font>
426
 
              </para>
 
407
              <para style="P3">[[line.name]]</para>
427
408
            </td>
428
409
            <td>
429
 
              <para style="P3">[[line.product_id.name or (account_partner(line.account_id.id, line.partner_id.name) or '')]]</para>
 
410
              <para style="P3">[[account_name(line.account_id.id)]] [[line.product_id.name or (account_partner(line.account_id.id, line.partner_id.name) or '')]]</para>
430
411
            </td>
431
412
            <td>
432
413
              <para style="P3">[[line.product_uom_id .name or '']]</para>
433
414
            </td>
434
415
            <td>
435
416
              <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
417
            </td>
440
418
            <td>
441
419
              <para style="P3">[[line.product_uom_id and line.quantity or '' ]]</para>
442
420
            </td>
443
421
            <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>
 
422
              <para style="P4">[[rmb_format(line.debit)[0] ]]</para>
 
423
            </td>
 
424
            <td>
 
425
              <para style="P4">[[rmb_format(line.debit)[1] ]]</para>
 
426
            </td>
 
427
            <td>
 
428
              <para style="P4">[[rmb_format(line.debit)[2] ]]</para>
 
429
            </td>
 
430
            <td>
 
431
              <para style="P4">[[rmb_format(line.debit)[3] ]]</para>
 
432
            </td>
 
433
            <td>
 
434
              <para style="P4">[[rmb_format(line.debit)[4] ]]</para>
 
435
            </td>
 
436
            <td>
 
437
              <para style="P4">[[rmb_format(line.debit)[5] ]]</para>
 
438
            </td>
 
439
            <td>
 
440
              <para style="P4">[[rmb_format(line.debit)[6] ]]</para>
 
441
            </td>
 
442
            <td>
 
443
              <para style="P4">[[rmb_format(line.debit)[7] ]]</para>
 
444
            </td>
 
445
            <td>
 
446
              <para style="P4">[[rmb_format(line.debit)[8] ]]</para>
 
447
            </td>
 
448
            <td>
 
449
              <para style="P4">[[rmb_format(line.debit)[9] ]]</para>
 
450
            </td>
 
451
            <td>
 
452
              <para style="P4">[[rmb_format(line.debit)[10] ]]</para>
 
453
            </td>
 
454
            <td>
 
455
              <para style="P4">[[rmb_format(line.debit)[11] ]]</para>
 
456
            </td>
 
457
            <td>
 
458
              <para style="P4">[[rmb_format(line.credit)[0] ]]</para>
 
459
            </td>
 
460
            <td>
 
461
              <para style="P4">[[rmb_format(line.credit)[1] ]]</para>
 
462
            </td>
 
463
            <td>
 
464
              <para style="P4">[[rmb_format(line.credit)[2] ]]</para>
 
465
            </td>
 
466
            <td>
 
467
              <para style="P4">[[rmb_format(line.credit)[3] ]]</para>
 
468
            </td>
 
469
            <td>
 
470
              <para style="P4">[[rmb_format(line.credit)[4] ]]</para>
 
471
            </td>
 
472
            <td>
 
473
              <para style="P4">[[rmb_format(line.credit)[5] ]]</para>
 
474
            </td>
 
475
            <td>
 
476
              <para style="P4">[[rmb_format(line.credit)[6] ]]</para>
 
477
            </td>
 
478
            <td>
 
479
              <para style="P4">[[rmb_format(line.credit)[7] ]]</para>
 
480
            </td>
 
481
            <td>
 
482
              <para style="P4">[[rmb_format(line.credit)[8] ]]</para>
 
483
            </td>
 
484
            <td>
 
485
              <para style="P4">[[rmb_format(line.credit)[9] ]]</para>
 
486
            </td>
 
487
            <td>
 
488
              <para style="P4">[[rmb_format(line.credit)[10] ]]</para>
 
489
            </td>
 
490
            <td>
 
491
              <para style="P4">[[rmb_format(line.credit)[11] ]]</para>
514
492
            </td>
515
493
          </tr>
516
494
        </blockTable>
517
495
      </section>
518
 
      <blockTable colWidths="65.0,189.0,311.0" style="&#x8868;&#x683C;5">
 
496
      <blockTable colWidths="64.0,191.0,312.0" style="&#x8868;&#x683C;5">
519
497
        <tr>
520
498
          <td>
521
 
            <para style="P4">附件:[[move.attachment_count]] 张</para>
 
499
            <para style="P12">附件:[[move.attachment_count or '0' ]] 张</para>
522
500
          </td>
523
501
          <td>
524
 
            <para style="P4">合计: </para>
 
502
            <para style="P12">合计: [[rmb_upper(move.amount)]]</para>
525
503
          </td>
526
504
          <td>
527
505
            <para style="P1">
530
508
          </td>
531
509
        </tr>
532
510
      </blockTable>
 
511
      <para style="P5">
 
512
        <font color="white"> </font>
 
513
      </para>
 
514
      <pageBreak/>
533
515
      <para style="P6">
534
516
        <font color="white"> </font>
535
517
      </para>
536
 
      <pageBreak/>
537
 
      <para style="P10">
538
 
        <font color="white"> </font>
539
 
      </para>
540
518
    </section>
541
519
  </story>
542
520
</document>