odoo-addon-account-financial-report 16.0.1.11.0.1__py3-none-any.whl → 16.0.1.12.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-account-financial-report might be problematic. Click here for more details.

Files changed (33) hide show
  1. odoo/addons/account_financial_report/README.rst +1 -1
  2. odoo/addons/account_financial_report/__manifest__.py +1 -1
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +27 -0
  4. odoo/addons/account_financial_report/i18n/ar.po +28 -0
  5. odoo/addons/account_financial_report/i18n/ca.po +28 -0
  6. odoo/addons/account_financial_report/i18n/de.po +28 -0
  7. odoo/addons/account_financial_report/i18n/es.po +28 -0
  8. odoo/addons/account_financial_report/i18n/es_AR.po +28 -0
  9. odoo/addons/account_financial_report/i18n/es_MX.po +28 -0
  10. odoo/addons/account_financial_report/i18n/fr.po +28 -0
  11. odoo/addons/account_financial_report/i18n/fr_CH.po +28 -0
  12. odoo/addons/account_financial_report/i18n/fr_FR.po +28 -0
  13. odoo/addons/account_financial_report/i18n/hr.po +28 -0
  14. odoo/addons/account_financial_report/i18n/hr_HR.po +28 -0
  15. odoo/addons/account_financial_report/i18n/it.po +33 -1
  16. odoo/addons/account_financial_report/i18n/ja.po +28 -0
  17. odoo/addons/account_financial_report/i18n/nl.po +28 -0
  18. odoo/addons/account_financial_report/i18n/nl_NL.po +28 -0
  19. odoo/addons/account_financial_report/i18n/pt.po +28 -0
  20. odoo/addons/account_financial_report/i18n/pt_BR.po +28 -0
  21. odoo/addons/account_financial_report/i18n/ro.po +28 -0
  22. odoo/addons/account_financial_report/i18n/sv.po +28 -0
  23. odoo/addons/account_financial_report/i18n/tr.po +28 -0
  24. odoo/addons/account_financial_report/report/templates/trial_balance.xml +181 -73
  25. odoo/addons/account_financial_report/report/trial_balance.py +190 -3
  26. odoo/addons/account_financial_report/report/trial_balance_xlsx.py +34 -14
  27. odoo/addons/account_financial_report/static/description/index.html +1 -1
  28. odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +11 -0
  29. odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml +18 -2
  30. {odoo_addon_account_financial_report-16.0.1.11.0.1.dist-info → odoo_addon_account_financial_report-16.0.1.12.0.2.dist-info}/METADATA +2 -2
  31. {odoo_addon_account_financial_report-16.0.1.11.0.1.dist-info → odoo_addon_account_financial_report-16.0.1.12.0.2.dist-info}/RECORD +33 -33
  32. {odoo_addon_account_financial_report-16.0.1.11.0.1.dist-info → odoo_addon_account_financial_report-16.0.1.12.0.2.dist-info}/WHEEL +1 -1
  33. {odoo_addon_account_financial_report-16.0.1.11.0.1.dist-info → odoo_addon_account_financial_report-16.0.1.12.0.2.dist-info}/top_level.txt +0 -0
@@ -56,6 +56,14 @@ msgstr "91 - 120 d."
56
56
  msgid "<b>Taxes summary</b>"
57
57
  msgstr "<b>Rezumat taxe</b>"
58
58
 
59
+ #. module: account_financial_report
60
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
61
+ msgid ""
62
+ "<i class=\"fa fa-exclamation-triangle mr-3\"/>\n"
63
+ " Duplicate amounts may be shown because more than one "
64
+ "analytical account may be defined in the journal items."
65
+ msgstr ""
66
+
59
67
  #. module: account_financial_report
60
68
  #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
61
69
  msgid "<span class=\"o_form_label\">Intervals configuration</span>"
@@ -340,6 +348,7 @@ msgstr ""
340
348
 
341
349
  #. module: account_financial_report
342
350
  #: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__analytic_account_ids
351
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__grouped_by__analytic_account
343
352
  msgid "Analytic Account"
344
353
  msgstr "Cont analitic"
345
354
 
@@ -951,6 +960,7 @@ msgstr "Intrări de grup după"
951
960
  #. module: account_financial_report
952
961
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
953
962
  #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
963
+ #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__grouped_by
954
964
  msgid "Grouped By"
955
965
  msgstr ""
956
966
 
@@ -1613,6 +1623,14 @@ msgstr "Dată start"
1613
1623
  msgid "Starting account in a range"
1614
1624
  msgstr "Contul de pornire într-un interval"
1615
1625
 
1626
+ #. module: account_financial_report
1627
+ #. odoo-python
1628
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1629
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1630
+ #, python-format
1631
+ msgid "TOTAL"
1632
+ msgstr ""
1633
+
1616
1634
  #. module: account_financial_report
1617
1635
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1618
1636
  msgid "Tags"
@@ -1775,7 +1793,10 @@ msgid "To:"
1775
1793
  msgstr "La:"
1776
1794
 
1777
1795
  #. module: account_financial_report
1796
+ #. odoo-python
1797
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1778
1798
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_account_ending_cumul
1799
+ #, python-format
1779
1800
  msgid "Total"
1780
1801
  msgstr "Total"
1781
1802
 
@@ -1918,6 +1939,13 @@ msgstr ""
1918
1939
  msgid "With Account Name"
1919
1940
  msgstr "Cu numele contului"
1920
1941
 
1942
+ #. module: account_financial_report
1943
+ #. odoo-python
1944
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1945
+ #, python-format
1946
+ msgid "Without analytic account"
1947
+ msgstr ""
1948
+
1921
1949
  #. module: account_financial_report
1922
1950
  #. odoo-python
1923
1951
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -52,6 +52,14 @@ msgstr "91 - 120 d."
52
52
  msgid "<b>Taxes summary</b>"
53
53
  msgstr "<b>Skatter sammanfattning</b>"
54
54
 
55
+ #. module: account_financial_report
56
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
57
+ msgid ""
58
+ "<i class=\"fa fa-exclamation-triangle mr-3\"/>\n"
59
+ " Duplicate amounts may be shown because more than one "
60
+ "analytical account may be defined in the journal items."
61
+ msgstr ""
62
+
55
63
  #. module: account_financial_report
56
64
  #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
57
65
  msgid "<span class=\"o_form_label\">Intervals configuration</span>"
@@ -343,6 +351,7 @@ msgstr "Belopp val."
343
351
 
344
352
  #. module: account_financial_report
345
353
  #: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__analytic_account_ids
354
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__grouped_by__analytic_account
346
355
  msgid "Analytic Account"
347
356
  msgstr "Objekt konto"
348
357
 
@@ -959,6 +968,7 @@ msgstr "Gruppinlägg efter"
959
968
  #. module: account_financial_report
960
969
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
961
970
  #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
971
+ #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__grouped_by
962
972
  msgid "Grouped By"
963
973
  msgstr "Grupperad efter"
964
974
 
@@ -1629,6 +1639,14 @@ msgstr "Startdatum"
1629
1639
  msgid "Starting account in a range"
1630
1640
  msgstr "Påbörjar ett konto inom ett intervall"
1631
1641
 
1642
+ #. module: account_financial_report
1643
+ #. odoo-python
1644
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1645
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1646
+ #, python-format
1647
+ msgid "TOTAL"
1648
+ msgstr ""
1649
+
1632
1650
  #. module: account_financial_report
1633
1651
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1634
1652
  msgid "Tags"
@@ -1796,7 +1814,10 @@ msgid "To:"
1796
1814
  msgstr "Till:"
1797
1815
 
1798
1816
  #. module: account_financial_report
1817
+ #. odoo-python
1818
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1799
1819
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_account_ending_cumul
1820
+ #, python-format
1800
1821
  msgid "Total"
1801
1822
  msgstr "Total"
1802
1823
 
@@ -1937,6 +1958,13 @@ msgstr ""
1937
1958
  msgid "With Account Name"
1938
1959
  msgstr "Med kontonamn"
1939
1960
 
1961
+ #. module: account_financial_report
1962
+ #. odoo-python
1963
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1964
+ #, python-format
1965
+ msgid "Without analytic account"
1966
+ msgstr ""
1967
+
1940
1968
  #. module: account_financial_report
1941
1969
  #. odoo-python
1942
1970
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -52,6 +52,14 @@ msgstr ""
52
52
  msgid "<b>Taxes summary</b>"
53
53
  msgstr "<b>Vergi Özeti</b>"
54
54
 
55
+ #. module: account_financial_report
56
+ #: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
57
+ msgid ""
58
+ "<i class=\"fa fa-exclamation-triangle mr-3\"/>\n"
59
+ " Duplicate amounts may be shown because more than one "
60
+ "analytical account may be defined in the journal items."
61
+ msgstr ""
62
+
55
63
  #. module: account_financial_report
56
64
  #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
57
65
  msgid "<span class=\"o_form_label\">Intervals configuration</span>"
@@ -335,6 +343,7 @@ msgstr ""
335
343
 
336
344
  #. module: account_financial_report
337
345
  #: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__analytic_account_ids
346
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__trial_balance_report_wizard__grouped_by__analytic_account
338
347
  msgid "Analytic Account"
339
348
  msgstr "Analitik Hesap"
340
349
 
@@ -950,6 +959,7 @@ msgstr ""
950
959
  #. module: account_financial_report
951
960
  #: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
952
961
  #: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
962
+ #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__grouped_by
953
963
  msgid "Grouped By"
954
964
  msgstr "Gruplanma"
955
965
 
@@ -1612,6 +1622,14 @@ msgstr "Başlama Tarihi"
1612
1622
  msgid "Starting account in a range"
1613
1623
  msgstr ""
1614
1624
 
1625
+ #. module: account_financial_report
1626
+ #. odoo-python
1627
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1628
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1629
+ #, python-format
1630
+ msgid "TOTAL"
1631
+ msgstr ""
1632
+
1615
1633
  #. module: account_financial_report
1616
1634
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
1617
1635
  msgid "Tags"
@@ -1772,7 +1790,10 @@ msgid "To:"
1772
1790
  msgstr ""
1773
1791
 
1774
1792
  #. module: account_financial_report
1793
+ #. odoo-python
1794
+ #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1775
1795
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_account_ending_cumul
1796
+ #, python-format
1776
1797
  msgid "Total"
1777
1798
  msgstr "Toplam"
1778
1799
 
@@ -1908,6 +1929,13 @@ msgstr ""
1908
1929
  msgid "With Account Name"
1909
1930
  msgstr "Hesap Adıyla"
1910
1931
 
1932
+ #. module: account_financial_report
1933
+ #. odoo-python
1934
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1935
+ #, python-format
1936
+ msgid "Without analytic account"
1937
+ msgstr ""
1938
+
1911
1939
  #. module: account_financial_report
1912
1940
  #. odoo-python
1913
1941
  #: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@@ -28,7 +28,7 @@
28
28
  <div class="row">
29
29
  <h4
30
30
  class="mt0"
31
- t-esc="title or 'Odoo Report'"
31
+ t-out="title or 'Odoo Report'"
32
32
  style="text-align: center;"
33
33
  />
34
34
  </div>
@@ -36,43 +36,94 @@
36
36
  <t t-call="account_financial_report.report_trial_balance_filters" />
37
37
  <div class="act_as_table list_table" style="margin-top: 10px;" />
38
38
  <!-- Display account lines -->
39
+ <t t-set="aml_domain_extra" t-value="[]" />
39
40
  <t t-if="not show_partner_details">
40
- <div class="act_as_table data_table" style="width: 100%;">
41
- <!-- Display account header -->
42
- <t
43
- t-call="account_financial_report.report_trial_balance_lines_header"
44
- />
45
- <!-- Display each lines -->
46
- <t t-foreach="trial_balance" t-as="balance">
47
- <!-- Adapt -->
48
- <t t-set="style" t-value="'font-size:12px;'" />
49
- <!-- Different style for account group -->
50
- <t t-if="show_hierarchy">
51
- <t
52
- t-if="balance['type'] == 'group_type'"
53
- >
41
+ <t t-if="trial_balance_grouped">
42
+ <t t-foreach="trial_balance_grouped" t-as="grouped_item">
43
+ <div class="act_as_table data_table" style="width: 100%;">
44
+ <div class="act_as_thead">
45
+ <div class="act_as_row labels">
46
+ <div class="act_as_cell" style="width: 100%;">
47
+ <t t-esc="grouped_item['name']" />
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <t
53
+ t-set="aml_domain_extra"
54
+ t-if="grouped_item['id'] > 0"
55
+ t-value="[('analytic_account_id', '=', grouped_item['id'])]"
56
+ />
57
+ <t
58
+ t-set="aml_domain_extra"
59
+ t-else=""
60
+ t-value="[('analytic_account_id', '=', False)]"
61
+ />
62
+ <div class="act_as_table data_table" style="width: 100%;">
63
+ <t
64
+ t-call="account_financial_report.report_trial_balance_lines_header"
65
+ />
66
+ <!-- Display each lines -->
67
+ <t t-foreach="grouped_item['account_data']" t-as="balance">
68
+ <!-- Adapt -->
69
+ <t t-set="style" t-value="'font-size:12px;'" />
54
70
  <t
55
- t-set="style"
56
- t-value="style + 'font-weight: bold; color: blue;'"
71
+ t-call="account_financial_report.report_trial_balance_line"
57
72
  />
58
73
  </t>
59
- </t>
60
- <t t-if="show_hierarchy and limit_hierarchy_level">
61
- <t
62
- t-if="show_hierarchy_level > balance['level'] and (not hide_parent_hierarchy_level or (show_hierarchy_level - 1) == balance['level'])"
63
- >
74
+ </div>
75
+ <!-- Display footer with totals !-->
76
+ <t t-set="balance" t-value="grouped_item" />
77
+ <t
78
+ t-call="account_financial_report.report_trial_balance_account_footer"
79
+ />
80
+ </t>
81
+ <!-- TOTAL !-->
82
+ <t t-if="grouped_by">
83
+ <t t-set="balance" t-value="total_amount_grouped" />
84
+ <t
85
+ t-call="account_financial_report.report_trial_balance_account_footer"
86
+ />
87
+ </t>
88
+ </t>
89
+ <t t-else="">
90
+ <div class="act_as_table data_table" style="width: 100%;">
91
+ <!-- Display account header -->
92
+ <t
93
+ t-call="account_financial_report.report_trial_balance_lines_header"
94
+ />
95
+ <!-- Display each lines -->
96
+ <t t-foreach="trial_balance" t-as="balance">
97
+ <!-- Adapt -->
98
+ <t t-set="style" t-value="'font-size:12px;'" />
99
+ <!-- Different style for account group -->
100
+ <t t-if="show_hierarchy">
101
+ <t
102
+ t-if="balance['type'] == 'group_type'"
103
+ >
104
+ <t
105
+ t-set="style"
106
+ t-value="style + 'font-weight: bold; color: blue;'"
107
+ />
108
+ </t>
109
+ </t>
110
+ <t t-if="show_hierarchy and limit_hierarchy_level">
111
+ <t
112
+ t-if="show_hierarchy_level > balance['level'] and (not hide_parent_hierarchy_level or (show_hierarchy_level - 1) == balance['level'])"
113
+ >
114
+ <t
115
+ t-call="account_financial_report.report_trial_balance_line"
116
+ />
117
+ </t>
118
+ </t>
119
+ <t t-else="">
64
120
  <t
65
121
  t-call="account_financial_report.report_trial_balance_line"
66
122
  />
67
123
  </t>
68
124
  </t>
69
- <t t-else="">
70
- <t
71
- t-call="account_financial_report.report_trial_balance_line"
72
- />
73
- </t>
74
- </t>
75
- </div>
125
+ </div>
126
+ </t>
76
127
  </t>
77
128
  <!-- Display partner lines -->
78
129
  <t t-if="show_partner_details">
@@ -139,9 +190,9 @@
139
190
  <div class="act_as_row">
140
191
  <div class="act_as_cell">
141
192
  From:
142
- <span t-esc="date_from" t-options="{'widget': 'date'}" />
193
+ <span t-out="date_from" t-options="{'widget': 'date'}" />
143
194
  To
144
- <span t-esc="date_to" t-options="{'widget': 'date'}" />
195
+ <span t-out="date_to" t-options="{'widget': 'date'}" />
145
196
  </div>
146
197
  <div class="act_as_cell">
147
198
  <t t-if="only_posted_moves">All posted entries</t>
@@ -154,7 +205,7 @@
154
205
  <div class="act_as_cell">
155
206
  <t t-if="limit_hierarchy_level">
156
207
  Level
157
- <span t-esc="show_hierarchy_level" />
208
+ <span t-out="show_hierarchy_level" />
158
209
  </t>
159
210
  <t t-if="not limit_hierarchy_level">No limit</t>
160
211
  </div>
@@ -220,7 +271,7 @@
220
271
  res-model="account.account"
221
272
  view-type="form"
222
273
  >
223
- <t t-esc="balance['code']" />
274
+ <t t-out="balance['code']" />
224
275
  </span>
225
276
  </div>
226
277
  <!-- ## Account/Partner-->
@@ -230,7 +281,7 @@
230
281
  res-model="account.account"
231
282
  view-type="form"
232
283
  >
233
- <t t-esc="balance['name']" />
284
+ <t t-out="balance['name']" />
234
285
  </span>
235
286
  </div>
236
287
  </t>
@@ -252,7 +303,7 @@
252
303
  res-model="account.group"
253
304
  view-type="form"
254
305
  >
255
- <t t-esc="balance['name']" />
306
+ <t t-out="balance['name']" />
256
307
  </span>
257
308
  </div>
258
309
  </t>
@@ -265,7 +316,7 @@
265
316
  res-model="res.partner"
266
317
  view-type="form"
267
318
  >
268
- <t t-esc="partners_data[partner_id]['name']" />
319
+ <t t-out="partners_data[partner_id]['name']" />
269
320
  </span>
270
321
  </div>
271
322
  </t>
@@ -279,11 +330,11 @@
279
330
  ('date', '&lt;', date_from)]"
280
331
  />
281
332
  <span
282
- t-att-domain="domain+aml_domain_common"
333
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
283
334
  res-model="account.move.line"
284
335
  >
285
336
  <t
286
- t-esc="balance['initial_balance']"
337
+ t-out="balance['initial_balance']"
287
338
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
288
339
  />
289
340
  </span>
@@ -335,11 +386,11 @@
335
386
  ('debit', '&lt;&gt;', 0)]"
336
387
  />
337
388
  <span
338
- t-att-domain="domain+aml_domain_common"
389
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
339
390
  res-model="account.move.line"
340
391
  >
341
392
  <t
342
- t-esc="balance['debit']"
393
+ t-out="balance['debit']"
343
394
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
344
395
  />
345
396
  </span>
@@ -395,11 +446,11 @@
395
446
  ('credit', '&lt;&gt;', 0)]"
396
447
  />
397
448
  <span
398
- t-att-domain="domain+aml_domain_common"
449
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
399
450
  res-model="account.move.line"
400
451
  >
401
452
  <t
402
- t-esc="balance['credit']"
453
+ t-out="balance['credit']"
403
454
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
404
455
  />
405
456
  </span>
@@ -455,11 +506,11 @@
455
506
  ('balance', '&lt;&gt;', 0)]"
456
507
  />
457
508
  <span
458
- t-att-domain="domain+aml_domain_common"
509
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
459
510
  res-model="account.move.line"
460
511
  >
461
512
  <t
462
- t-esc="balance['balance']"
513
+ t-out="balance['balance']"
463
514
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
464
515
  />
465
516
  </span>
@@ -512,11 +563,11 @@
512
563
  ('date', '&lt;=', date_to)]"
513
564
  />
514
565
  <span
515
- t-att-domain="domain+aml_domain_common"
566
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
516
567
  res-model="account.move.line"
517
568
  >
518
569
  <t
519
- t-esc="balance['ending_balance']"
570
+ t-out="balance['ending_balance']"
520
571
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
521
572
  />
522
573
  </span>
@@ -549,7 +600,7 @@
549
600
  res-model="account.move.line"
550
601
  >
551
602
  <t
552
- t-esc="total_amount[account_id][partner_id]['ending_balance']"
603
+ t-out="total_amount[account_id][partner_id]['ending_balance']"
553
604
  t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
554
605
  />
555
606
  </span>
@@ -570,11 +621,11 @@
570
621
  t-value="[('account_id', '=', balance['id'])]"
571
622
  />
572
623
  <span
573
- t-att-domain="domain+aml_domain_common"
624
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
574
625
  res-model="account.move.line"
575
626
  >
576
627
  <t
577
- t-esc="balance['initial_currency_balance']"
628
+ t-out="balance['initial_currency_balance']"
578
629
  t-options="{'widget': 'monetary', 'display_currency': balance_currency}"
579
630
  />
580
631
  </span>
@@ -629,7 +680,7 @@
629
680
  t-value="[('account_id', '=', balance['id'])]"
630
681
  />
631
682
  <span
632
- t-att-domain="domain+aml_domain_common"
683
+ t-att-domain="domain+aml_domain_common+aml_domain_extra"
633
684
  res-model="account.move.line"
634
685
  >
635
686
  <t
@@ -835,44 +886,101 @@
835
886
  <div class="act_as_row labels" style="font-weight: bold;">
836
887
  <!--## date-->
837
888
  <div class="act_as_cell first_column" style="width: 33%;">
838
- <span t-esc="accounts_data[account_id]['code']" />
839
- -
840
- <span t-esc="accounts_data[account_id]['name']" />
889
+ <t
890
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
891
+ >
892
+ <span t-out="balance['name']" />
893
+ </t>
894
+ <t t-else="">
895
+ <span t-out="accounts_data[account_id]['code']" />
896
+ -
897
+ <span t-out="accounts_data[account_id]['name']" />
898
+ </t>
841
899
  </div>
842
900
  <!--## Initial Balance-->
843
901
  <div class="act_as_cell amount" style="width: 9%;">
844
- <span
845
- t-esc="total_amount[account_id]['initial_balance']"
846
- t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
847
- />
902
+ <t
903
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
904
+ >
905
+ <span
906
+ t-out="balance['initial_balance']"
907
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
908
+ />
909
+ </t>
910
+ <t t-else="">
911
+ <span
912
+ t-out="total_amount[account_id]['initial_balance']"
913
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
914
+ />
915
+ </t>
848
916
  </div>
849
917
  <!--## Debit-->
850
918
  <div class="act_as_cell amount" style="width: 9%;">
851
- <span
852
- t-esc="total_amount[account_id]['debit']"
853
- t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
854
- />
919
+ <t
920
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
921
+ >
922
+ <span
923
+ t-out="balance['debit']"
924
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
925
+ />
926
+ </t>
927
+ <t t-else="">
928
+ <span
929
+ t-out="total_amount[account_id]['debit']"
930
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
931
+ />
932
+ </t>
855
933
  </div>
856
934
  <!--## Credit-->
857
935
  <div class="act_as_cell amount" style="width: 9%;">
858
- <span
859
- t-esc="total_amount[account_id]['credit']"
860
- t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
861
- />
936
+ <t
937
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
938
+ >
939
+ <span
940
+ t-out="balance['credit']"
941
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
942
+ />
943
+ </t>
944
+ <t t-else="">
945
+ <span
946
+ t-out="total_amount[account_id]['credit']"
947
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
948
+ />
949
+ </t>
862
950
  </div>
863
951
  <!--## Period balance-->
864
952
  <div class="act_as_cell amount" style="width: 9%;">
865
- <span
866
- t-esc="total_amount[account_id]['balance']"
867
- t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
868
- />
953
+ <t
954
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
955
+ >
956
+ <span
957
+ t-out="balance['balance']"
958
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
959
+ />
960
+ </t>
961
+ <t t-else="">
962
+ <span
963
+ t-out="total_amount[account_id]['balance']"
964
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
965
+ />
966
+ </t>
869
967
  </div>
870
968
  <!--## Ending balance-->
871
969
  <div class="act_as_cell amount" style="width: 9%;">
872
- <span
873
- t-esc="total_amount[account_id]['ending_balance']"
874
- t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
875
- />
970
+ <t
971
+ t-if="grouped_by and balance['type'] in ('analytic_account_type', 'total')"
972
+ >
973
+ <span
974
+ t-out="balance['ending_balance']"
975
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
976
+ />
977
+ </t>
978
+ <t t-else="">
979
+ <span
980
+ t-out="total_amount[account_id]['ending_balance']"
981
+ t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
982
+ />
983
+ </t>
876
984
  </div>
877
985
  <t t-if="foreign_currency">
878
986
  <!--## amount_total_due_currency-->