|
24 | 24 | <div class="row">
|
25 | 25 | <h4
|
26 | 26 | class="mt0"
|
27 |
| - t-esc="title or 'Odoo Report'" |
| 27 | + t-out="title or 'Odoo Report'" |
28 | 28 | style="text-align: center;"
|
29 | 29 | />
|
30 | 30 | </div>
|
|
35 | 35 | <!-- Display account header -->
|
36 | 36 | <div class="act_as_table list_table" style="margin-top: 10px;" />
|
37 | 37 | <div class="act_as_caption account_title" style="width: 100%">
|
38 |
| - <span t-esc="account['code']" /> |
| 38 | + <span t-out="account['code']" /> |
39 | 39 | -
|
40 |
| - <span t-esc="account['name']" /> |
| 40 | + <span t-out="account['name']" /> |
41 | 41 | </div>
|
42 | 42 | <t t-if="'list_grouped' not in account">
|
43 | 43 | <!-- Display account move lines without partner regroup -->
|
|
62 | 62 | <div class="page_break">
|
63 | 63 | <!-- Display partner header -->
|
64 | 64 | <div class="act_as_caption account_title">
|
65 |
| - <span t-esc="group_item['name']" /> |
| 65 | + <span t-out="group_item['name']" /> |
66 | 66 | </div>
|
67 | 67 | <!-- Display partner move lines -->
|
68 | 68 | <t
|
|
113 | 113 | <div class="act_as_row">
|
114 | 114 | <div class="act_as_cell">
|
115 | 115 | From:
|
116 |
| - <span t-esc="date_from" /> |
| 116 | + <span t-out="date_from" /> |
117 | 117 | To:
|
118 |
| - <span t-esc="date_to" /> |
| 118 | + <span t-out="date_to" /> |
119 | 119 | </div>
|
120 | 120 | <div class="act_as_cell">
|
121 | 121 | <t t-if="only_posted_moves">All posted entries</t>
|
|
381 | 381 | view-type="form"
|
382 | 382 | >
|
383 | 383 | <t
|
384 |
| - t-esc="line['date']" |
| 384 | + t-out="line['date']" |
385 | 385 | t-options="{'widget': 'date'}"
|
386 | 386 | />
|
387 | 387 | </span>
|
|
390 | 390 | <span>
|
391 | 391 | <!--## We don't use t-field because it throws an error on click -->
|
392 | 392 | <t
|
393 |
| - t-esc="line['date']" |
| 393 | + t-out="line['date']" |
394 | 394 | t-options="{'widget': 'date'}"
|
395 | 395 | />
|
396 | 396 | </span>
|
|
435 | 435 | <t t-if="taxes_data and line['tax_ids']">
|
436 | 436 | <t t-foreach="line['tax_ids']" t-as="tax_id">
|
437 | 437 | <span
|
438 |
| - t-esc="o._get_atr_from_dict(tax_id, taxes_data, 'tax_name')" |
| 438 | + t-out="o._get_atr_from_dict(tax_id, taxes_data, 'tax_name')" |
439 | 439 | />
|
440 | 440 | </t>
|
441 | 441 | </t>
|
442 | 442 | <t t-if="line['tax_line_id']">
|
443 |
| - <span t-esc="line['tax_line_id'][1]" /> |
| 443 | + <span t-out="line['tax_line_id'][1]" /> |
444 | 444 | </t>
|
445 | 445 | </div>
|
446 | 446 | <!--## partner-->
|
|
486 | 486 | view-type="form"
|
487 | 487 | >
|
488 | 488 | <t
|
489 |
| - t-esc="o._get_atr_from_dict(int(analytic_id), analytic_data, 'name')" |
| 489 | + t-out="o._get_atr_from_dict(int(analytic_id), analytic_data, 'name')" |
490 | 490 | />
|
491 | 491 | <t
|
492 | 492 | t-if="int(line['analytic_distribution'][analytic_id]) < 100"
|
493 | 493 | >
|
494 | 494 | <t
|
495 |
| - t-esc="int(line['analytic_distribution'][analytic_id])" |
| 495 | + t-out="int(line['analytic_distribution'][analytic_id])" |
496 | 496 | />%
|
497 | 497 | </t>
|
498 | 498 | </span>
|
|
506 | 506 | <t t-if="line['tag_ids']">
|
507 | 507 | <t t-foreach="line['tag_ids']" t-as="tag_id">
|
508 | 508 | <span
|
509 |
| - t-esc="o._get_atr_from_dict(tag_id, tags_data, 'name')" |
| 509 | + t-out="o._get_atr_from_dict(tag_id, tags_data, 'name')" |
510 | 510 | />
|
511 | 511 | </t>
|
512 | 512 | </t>
|
|
645 | 645 | <!--## date-->
|
646 | 646 | <t t-if='type == "account_type"'>
|
647 | 647 | <div class="act_as_cell first_column" style="width: 41.32%;">
|
648 |
| - <span t-esc="account['code']" /> |
| 648 | + <span t-out="account['code']" /> |
649 | 649 | -
|
650 |
| - <span t-esc="account['name']" /> |
| 650 | + <span t-out="account['name']" /> |
651 | 651 | </div>
|
652 | 652 | <div class="act_as_cell right" style="width: 16.9%;">Ending balance
|
653 | 653 | </div>
|
|
672 | 672 | <!--## debit-->
|
673 | 673 | <div class="act_as_cell amount" style="width: 8.02%;">
|
674 | 674 | <span
|
675 |
| - t-esc="account_or_group_item_object['fin_bal']['debit']" |
| 675 | + t-out="account_or_group_item_object['fin_bal']['debit']" |
676 | 676 | t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
677 | 677 | />
|
678 | 678 | </div>
|
679 | 679 | <!--## credit-->
|
680 | 680 | <div class="act_as_cell amount" style="width: 8.02%;">
|
681 | 681 | <span
|
682 |
| - t-esc="account_or_group_item_object['fin_bal']['credit']" |
| 682 | + t-out="account_or_group_item_object['fin_bal']['credit']" |
683 | 683 | t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
684 | 684 | />
|
685 | 685 | </div>
|
686 | 686 | <!--## balance cumulated-->
|
687 | 687 | <div class="act_as_cell amount" style="width: 8.02%;">
|
688 | 688 | <span
|
689 |
| - t-esc="account_or_group_item_object['fin_bal']['balance']" |
| 689 | + t-out="account_or_group_item_object['fin_bal']['balance']" |
690 | 690 | t-options="{'widget': 'monetary', 'display_currency': company_currency}"
|
691 | 691 | />
|
692 | 692 | </div>
|
|
702 | 702 | />
|
703 | 703 | <t t-set="misc_grouped_domain" t-value="[]" t-else="" />
|
704 | 704 | <t t-if="foreign_currency">
|
705 |
| - <t t-if="account['currency_id']"> |
| 705 | + <t t-if="account['fin_bal_currency_id']"> |
706 | 706 | <t
|
707 | 707 | t-set="account_currency"
|
708 |
| - t-value="currency_model.browse(account['currency_id'])" |
| 708 | + t-value="currency_model.browse(account['fin_bal_currency_id'])" |
709 | 709 | />
|
710 | 710 | <div class="act_as_cell amount" style="width: 3.63%;">
|
711 | 711 | <t t-if="type == 'account_type'">
|
|
0 commit comments