odoo-addon-account-financial-report 16.0.1.5.4.3__py3-none-any.whl → 17.0.1.0.0.10__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 (63) hide show
  1. odoo/addons/account_financial_report/README.rst +77 -77
  2. odoo/addons/account_financial_report/__manifest__.py +2 -2
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +15 -25
  4. odoo/addons/account_financial_report/i18n/ar.po +232 -241
  5. odoo/addons/account_financial_report/i18n/ca.po +81 -90
  6. odoo/addons/account_financial_report/i18n/de.po +72 -81
  7. odoo/addons/account_financial_report/i18n/es.po +67 -76
  8. odoo/addons/account_financial_report/i18n/es_AR.po +65 -74
  9. odoo/addons/account_financial_report/i18n/es_MX.po +9 -18
  10. odoo/addons/account_financial_report/i18n/fr.po +199 -208
  11. odoo/addons/account_financial_report/i18n/fr_CH.po +173 -182
  12. odoo/addons/account_financial_report/i18n/fr_FR.po +153 -162
  13. odoo/addons/account_financial_report/i18n/hr.po +76 -85
  14. odoo/addons/account_financial_report/i18n/hr_HR.po +18 -27
  15. odoo/addons/account_financial_report/i18n/it.po +130 -141
  16. odoo/addons/account_financial_report/i18n/ja.po +29 -38
  17. odoo/addons/account_financial_report/i18n/nl.po +29 -38
  18. odoo/addons/account_financial_report/i18n/nl_NL.po +8 -17
  19. odoo/addons/account_financial_report/i18n/pt.po +123 -132
  20. odoo/addons/account_financial_report/i18n/pt_BR.po +170 -179
  21. odoo/addons/account_financial_report/i18n/ro.po +123 -132
  22. odoo/addons/account_financial_report/i18n/sv.po +152 -142
  23. odoo/addons/account_financial_report/i18n/tr.po +127 -136
  24. odoo/addons/account_financial_report/models/account.py +1 -1
  25. odoo/addons/account_financial_report/models/account_group.py +2 -4
  26. odoo/addons/account_financial_report/readme/CONTRIBUTORS.md +34 -0
  27. odoo/addons/account_financial_report/readme/{DESCRIPTION.rst → DESCRIPTION.md} +6 -5
  28. odoo/addons/account_financial_report/readme/HISTORY.md +16 -0
  29. odoo/addons/account_financial_report/readme/ROADMAP.md +6 -0
  30. odoo/addons/account_financial_report/report/__init__.py +3 -3
  31. odoo/addons/account_financial_report/report/abstract_report_xlsx.py +3 -3
  32. odoo/addons/account_financial_report/report/aged_partner_balance.py +2 -2
  33. odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +10 -10
  34. odoo/addons/account_financial_report/report/general_ledger.py +3 -5
  35. odoo/addons/account_financial_report/report/general_ledger_xlsx.py +3 -3
  36. odoo/addons/account_financial_report/report/journal_ledger_xlsx.py +5 -7
  37. odoo/addons/account_financial_report/report/open_items.py +2 -2
  38. odoo/addons/account_financial_report/report/open_items_xlsx.py +3 -3
  39. odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +4 -4
  40. odoo/addons/account_financial_report/report/trial_balance.py +2 -2
  41. odoo/addons/account_financial_report/report/trial_balance_xlsx.py +3 -3
  42. odoo/addons/account_financial_report/report/vat_report_xlsx.py +2 -2
  43. odoo/addons/account_financial_report/static/description/index.html +25 -24
  44. odoo/addons/account_financial_report/static/src/js/report_action.esm.js +4 -4
  45. odoo/addons/account_financial_report/static/src/xml/report.xml +0 -1
  46. odoo/addons/account_financial_report/tests/__init__.py +1 -1
  47. odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +0 -30
  48. odoo/addons/account_financial_report/tests/test_general_ledger.py +0 -29
  49. odoo/addons/account_financial_report/tests/test_open_items.py +0 -27
  50. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +2 -2
  51. odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +16 -9
  52. odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +5 -16
  53. odoo/addons/account_financial_report/wizard/open_items_wizard.py +2 -2
  54. odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +14 -8
  55. odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml +11 -22
  56. {odoo_addon_account_financial_report-16.0.1.5.4.3.dist-info → odoo_addon_account_financial_report-17.0.1.0.0.10.dist-info}/METADATA +85 -88
  57. {odoo_addon_account_financial_report-16.0.1.5.4.3.dist-info → odoo_addon_account_financial_report-17.0.1.0.0.10.dist-info}/RECORD +59 -59
  58. {odoo_addon_account_financial_report-16.0.1.5.4.3.dist-info → odoo_addon_account_financial_report-17.0.1.0.0.10.dist-info}/WHEEL +1 -1
  59. odoo_addon_account_financial_report-17.0.1.0.0.10.dist-info/top_level.txt +1 -0
  60. odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +0 -38
  61. odoo/addons/account_financial_report/readme/HISTORY.rst +0 -19
  62. odoo/addons/account_financial_report/readme/ROADMAP.rst +0 -7
  63. odoo_addon_account_financial_report-16.0.1.5.4.3.dist-info/top_level.txt +0 -1
@@ -1,4 +1,4 @@
1
- # © 2011 Guewen Baconnier (Camptocamp)
1
+ # ?? 2011 Guewen Baconnier (Camptocamp)
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-
3
3
  from odoo import fields, models
4
4
 
@@ -1,4 +1,4 @@
1
- # © 2018 Forest and Biomass Romania SA
1
+ # ?? 2018 Forest and Biomass Romania SA
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
3
 
4
4
  from odoo import api, fields, models
@@ -33,9 +33,7 @@ class AccountGroup(models.Model):
33
33
  """Forms complete name of location from parent location to child location."""
34
34
  for group in self:
35
35
  if group.parent_id.complete_name:
36
- group.complete_name = "{}/{}".format(
37
- group.parent_id.complete_name, group.name
38
- )
36
+ group.complete_name = f"{group.parent_id.complete_name}/{group.name}"
39
37
  else:
40
38
  group.complete_name = group.name
41
39
 
@@ -0,0 +1,34 @@
1
+ - Jordi Ballester \<<jordi.ballester@forgeflow.com>\>
2
+ - Yannick Vaucher \<<yannick.vaucher@camptocamp.com>\>
3
+ - Simone Orsi \<<simone.orsi@abstract.com>\>
4
+ - Leonardo Pistone \<<leonardo.pistone@camptocamp.com>\>
5
+ - Damien Crier \<<damien.crier@camptocamp.com>\>
6
+ - Andrea Stirpe \<<a.stirpe@onestein.nl>\>
7
+ - Thomas Rehn \<<thomas.rehn@initos.com>\>
8
+ - Andrea Gallina \<<4everamd@gmail.com>\>
9
+ - Robert Rottermann \<<robert@redcor.ch>\>
10
+ - Ciro Urselli \<<c.urselli@apuliasoftware.it>\>
11
+ - Francesco Apruzzese \<<opencode@e-ware.org>\>
12
+ - Lorenzo Battistini \<<https://github.com/eLBati>\>
13
+ - Julien Coux \<<julien.coux@camptocamp.com>\>
14
+ - Akim Juillerat \<<akim.juillerat@camptocamp.com>\>
15
+ - Alexis de Lattre \<<alexis@via.ecp.fr>\>
16
+ - Mihai Fekete \<<feketemihai@gmail.com>\>
17
+ - Miquel Ra??ch \<<miquel.raich@forgeflow.com>\>
18
+ - Joan Sisquella \<<joan.sisquella@forgeflow.com>\>
19
+ - [Tecnativa](https://www.tecnativa.com):
20
+ - Pedro M. Baeza
21
+ - Sergio Teruel
22
+ - Ernesto Tejeda
23
+ - Jo??o Marques
24
+ - Alexandre D. D??az
25
+ - V??ctor Mart??nez
26
+ - [Sygel](https://www.sygel.es):
27
+ - Harald Panten
28
+ - Valentin Vinagre
29
+ - Lois Rilo \<<lois.rilo@forgeflow.com>\>
30
+ - Saran Lim. \<<saranl@ecosoft.co.th>\>
31
+ - Omar Casti??eira \<<omar@comunitea.com>\>
32
+
33
+ Much of the work in this module was done at a sprint in Sorrento, Italy
34
+ in April 2016.
@@ -8,9 +8,10 @@ Invoicing / Reporting / OCA accounting reports.
8
8
  - VAT Report
9
9
  - Journal Ledger
10
10
 
11
- Currently General ledger, Trial Balance and Open Items are fully compatible with a foreign
12
- currency set up in account in order to display balances. Moreover, any foreign
13
- currency used in account move lines is properly shown.
11
+ Currently General ledger, Trial Balance and Open Items are fully
12
+ compatible with a foreign currency set up in account in order to display
13
+ balances. Moreover, any foreign currency used in account move lines is
14
+ properly shown.
14
15
 
15
- In case that in an account has not been configured a second currency foreign
16
- currency balances are not available.
16
+ In case that in an account has not been configured a second currency
17
+ foreign currency balances are not available.
@@ -0,0 +1,16 @@
1
+ ## 11.0.2.5.0 (2019-04-26)
2
+
3
+ - In the Trial Balance you have an option to hide parent hierarchy
4
+ levels
5
+
6
+ ## 11.0.2.4.1 (2019-01-08)
7
+
8
+ - Handle better multicompany behaviour
9
+ - Improve how title appears in the reports
10
+ - Improve performance in General Ledger
11
+
12
+ ## 11.0.2.3.1 (2018-11-29)
13
+
14
+ - In the Trial Balance you can apply a filter by hierarchy levels
15
+ - In the General Ledger you can apply a filter by Analytic Tag
16
+ - In the Journal Ledger the field 'Journal' is now optional
@@ -0,0 +1,6 @@
1
+ - 'VAT Report' is valid only for cases where it's met that for each Tax
2
+ defined: all the "Account tags" of all the 'Repartition for Invoices'
3
+ or 'Repartition for Credit Notes' are different.
4
+ - It would be nice to have in reports a column indicating the state of
5
+ the entries when the option "All Entries" is selected in "Target
6
+ Moves" field in a wizard
@@ -1,6 +1,6 @@
1
- # © 2015 Yannick Vaucher (Camptocamp)
2
- # © 2016 Damien Crier (Camptocamp)
3
- # © 2016 Julien Coux (Camptocamp)
1
+ # ?? 2015 Yannick Vaucher (Camptocamp)
2
+ # ?? 2016 Damien Crier (Camptocamp)
3
+ # ?? 2016 Julien Coux (Camptocamp)
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-
5
5
 
6
6
  from . import abstract_report
@@ -1,6 +1,6 @@
1
1
  # Author: Julien Coux
2
2
  # Copyright 2016 Camptocamp SA
3
- # Copyright 2021 Tecnativa - João Marques
3
+ # Copyright 2021 Tecnativa - Jo??o Marques
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
  from odoo import models
6
6
 
@@ -536,7 +536,7 @@ class AbstractReportXslx(models.AbstractModel):
536
536
  currency = self.env["res.currency"].browse(line_object["currency_id"])
537
537
  else:
538
538
  currency = line_object["currency_id"]
539
- field_name = "{}_{}".format(field_prefix, currency.name)
539
+ field_name = f"{field_prefix}_{currency.name}"
540
540
  if hasattr(self, field_name):
541
541
  format_amt = getattr(self, field_name)
542
542
  else:
@@ -558,7 +558,7 @@ class AbstractReportXslx(models.AbstractModel):
558
558
  currency = self.env["res.currency"].browse(line_dict["currency_id"])
559
559
  else:
560
560
  currency = line_dict["currency_id"]
561
- field_name = "{}_{}".format(field_prefix, currency.name)
561
+ field_name = f"{field_prefix}_{currency.name}"
562
562
  if hasattr(self, field_name):
563
563
  format_amt = getattr(self, field_name)
564
564
  else:
@@ -1,4 +1,4 @@
1
- # © 2016 Julien Coux (Camptocamp)
1
+ # ?? 2016 Julien Coux (Camptocamp)
2
2
  # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
3
3
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
4
 
@@ -196,7 +196,7 @@ class AgedPartnerBalanceReport(models.AbstractModel):
196
196
  elif not move_line["name"]:
197
197
  ref_label = move_line["ref"]
198
198
  else:
199
- ref_label = move_line["ref"] + str(" - ") + move_line["name"]
199
+ ref_label = move_line["ref"] + " - " + move_line["name"]
200
200
  move_line_data.update(
201
201
  {
202
202
  "line_rec": line_model.browse(move_line["id"]),
@@ -1,6 +1,6 @@
1
1
  # Author: Julien Coux
2
2
  # Copyright 2016 Camptocamp SA
3
- # Copyright 2021 Tecnativa - João Marques
3
+ # Copyright 2021 Tecnativa - Jo??o Marques
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
 
6
6
  from odoo import _, models
@@ -16,7 +16,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
16
16
  report_name = _("Aged Partner Balance")
17
17
  if company_id:
18
18
  company = self.env["res.company"].browse(company_id)
19
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
19
+ suffix = f" - {company.name} - {company.currency_id.name}"
20
20
  report_name = report_name + suffix
21
21
  return report_name
22
22
 
@@ -40,7 +40,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
40
40
  "width": 14,
41
41
  },
42
42
  3: {
43
- "header": _("Age 30 d."),
43
+ "header": _("Age ??? 30 d."),
44
44
  "field": "30_days",
45
45
  "field_footer_total": "30_days",
46
46
  "field_footer_percent": "percent_30_days",
@@ -48,7 +48,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
48
48
  "width": 14,
49
49
  },
50
50
  4: {
51
- "header": _("Age 60 d."),
51
+ "header": _("Age ??? 60 d."),
52
52
  "field": "60_days",
53
53
  "field_footer_total": "60_days",
54
54
  "field_footer_percent": "percent_60_days",
@@ -56,7 +56,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
56
56
  "width": 14,
57
57
  },
58
58
  5: {
59
- "header": _("Age 90 d."),
59
+ "header": _("Age ??? 90 d."),
60
60
  "field": "90_days",
61
61
  "field_footer_total": "90_days",
62
62
  "field_footer_percent": "percent_90_days",
@@ -64,7 +64,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
64
64
  "width": 14,
65
65
  },
66
66
  6: {
67
- "header": _("Age 120 d."),
67
+ "header": _("Age ??? 120 d."),
68
68
  "field": "120_days",
69
69
  "field_footer_total": "120_days",
70
70
  "field_footer_percent": "percent_120_days",
@@ -106,7 +106,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
106
106
  "width": 14,
107
107
  },
108
108
  9: {
109
- "header": _("Age 30 d."),
109
+ "header": _("Age ??? 30 d."),
110
110
  "field": "30_days",
111
111
  "field_footer_total": "30_days",
112
112
  "field_footer_percent": "percent_30_days",
@@ -115,7 +115,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
115
115
  "width": 14,
116
116
  },
117
117
  10: {
118
- "header": _("Age 60 d."),
118
+ "header": _("Age ??? 60 d."),
119
119
  "field": "60_days",
120
120
  "field_footer_total": "60_days",
121
121
  "field_footer_percent": "percent_60_days",
@@ -124,7 +124,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
124
124
  "width": 14,
125
125
  },
126
126
  11: {
127
- "header": _("Age 90 d."),
127
+ "header": _("Age ??? 90 d."),
128
128
  "field": "90_days",
129
129
  "field_footer_total": "90_days",
130
130
  "field_footer_percent": "percent_90_days",
@@ -133,7 +133,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
133
133
  "width": 14,
134
134
  },
135
135
  12: {
136
- "header": _("Age 120 d."),
136
+ "header": _("Age ??? 120 d."),
137
137
  "field": "120_days",
138
138
  "field_footer_total": "120_days",
139
139
  "field_footer_percent": "percent_120_days",
@@ -1,6 +1,6 @@
1
- # © 2016 Julien Coux (Camptocamp)
1
+ # ?? 2016 Julien Coux (Camptocamp)
2
2
  # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
3
- # Copyright 2022 Tecnativa - Víctor Martínez
3
+ # Copyright 2022 Tecnativa - V??ctor Mart??nez
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
 
6
6
  import calendar
@@ -209,7 +209,6 @@ class GeneralLedgerReport(models.AbstractModel):
209
209
  else:
210
210
  prt_id = gl["partner_id"][0]
211
211
  prt_name = gl["partner_id"][1]
212
- prt_name = prt_name._value
213
212
  acc_id = gl["account_id"][0]
214
213
  data[acc_id][prt_id] = self._prepare_gen_ld_data_item(gl)
215
214
  data[acc_id][prt_id]["id"] = prt_id
@@ -236,7 +235,6 @@ class GeneralLedgerReport(models.AbstractModel):
236
235
  if "tax_line_id" in gl and gl["tax_line_id"]:
237
236
  tax_id = gl["tax_line_id"][0]
238
237
  tax_name = gl["tax_line_id"][1]
239
- tax_name = tax_name._value
240
238
  else:
241
239
  tax_id = 0
242
240
  tax_name = "Missing Tax"
@@ -347,7 +345,7 @@ class GeneralLedgerReport(models.AbstractModel):
347
345
  elif move_line_data["name"] == "":
348
346
  ref_label = move_line_data["ref"]
349
347
  else:
350
- ref_label = move_line_data["ref"] + str(" - ") + move_line_data["name"]
348
+ ref_label = move_line_data["ref"] + " - " + move_line_data["name"]
351
349
  move_line_data.update({"ref_label": ref_label})
352
350
  return move_line_data
353
351
 
@@ -1,8 +1,8 @@
1
1
  # Author: Damien Crier
2
2
  # Author: Julien Coux
3
3
  # Copyright 2016 Camptocamp SA
4
- # Copyright 2021 Tecnativa - João Marques
5
- # Copyright 2022 Tecnativa - Víctor Martínez
4
+ # Copyright 2021 Tecnativa - Jo??o Marques
5
+ # Copyright 2022 Tecnativa - V??ctor Mart??nez
6
6
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
7
7
 
8
8
  from odoo import _, models
@@ -18,7 +18,7 @@ class GeneralLedgerXslx(models.AbstractModel):
18
18
  report_name = _("General Ledger")
19
19
  if company_id:
20
20
  company = self.env["res.company"].browse(company_id)
21
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
21
+ suffix = f" - {company.name} - {company.currency_id.name}"
22
22
  report_name = report_name + suffix
23
23
  return report_name
24
24
 
@@ -1,7 +1,7 @@
1
1
  # Author: Damien Crier
2
2
  # Author: Julien Coux
3
3
  # Copyright 2016 Camptocamp SA
4
- # Copyright 2021 Tecnativa - João Marques
4
+ # Copyright 2021 Tecnativa - Jo??o Marques
5
5
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
6
6
 
7
7
  from odoo import _, models
@@ -17,7 +17,7 @@ class JournalLedgerXslx(models.AbstractModel):
17
17
  report_name = _("Journal Ledger")
18
18
  if company_id:
19
19
  company = self.env["res.company"].browse(company_id)
20
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
20
+ suffix = f" - {company.name} - {company.currency_id.name}"
21
21
  report_name = report_name + suffix
22
22
  return report_name
23
23
 
@@ -149,7 +149,7 @@ class JournalLedgerXslx(models.AbstractModel):
149
149
  _("Journals"),
150
150
  ", ".join(
151
151
  [
152
- "{} - {}".format(report_journal.code, report_journal.name)
152
+ f"{report_journal.code} - {report_journal.name}"
153
153
  for report_journal in report.journal_ids
154
154
  ]
155
155
  ),
@@ -184,7 +184,7 @@ class JournalLedgerXslx(models.AbstractModel):
184
184
  and journal.currency_id.name
185
185
  or journal.company_id.currency_id.name
186
186
  )
187
- sheet_name = "{} ({}) - {}".format(journal.code, currency_name, journal.name)
187
+ sheet_name = f"{journal.code} ({currency_name}) - {journal.name}"
188
188
  self._generate_moves_content(
189
189
  workbook, sheet_name, report, res_data, ledger["report_moves"], report_data
190
190
  )
@@ -202,9 +202,7 @@ class JournalLedgerXslx(models.AbstractModel):
202
202
  and journal.currency_id.name
203
203
  or journal.company_id.currency_id.name
204
204
  )
205
- sheet_name = "Tax - {} ({}) - {}".format(
206
- journal.code, currency_name, journal.name
207
- )
205
+ sheet_name = f"Tax - {journal.code} ({currency_name}) - {journal.name}"
208
206
  self._generate_taxes_summary(
209
207
  workbook, sheet_name, ledger["tax_lines"], report_data
210
208
  )
@@ -1,4 +1,4 @@
1
- # © 2016 Julien Coux (Camptocamp)
1
+ # ?? 2016 Julien Coux (Camptocamp)
2
2
  # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
3
3
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
4
 
@@ -147,7 +147,7 @@ class OpenItemsReport(models.AbstractModel):
147
147
  elif not move_line["name"]:
148
148
  ref_label = move_line["ref"]
149
149
  else:
150
- ref_label = move_line["ref"] + str(" - ") + move_line["name"]
150
+ ref_label = move_line["ref"] + " - " + move_line["name"]
151
151
 
152
152
  move_line.update(
153
153
  {
@@ -1,6 +1,6 @@
1
1
  # Author: Julien Coux
2
2
  # Copyright 2016 Camptocamp SA
3
- # Copyright 2021 Tecnativa - João Marques
3
+ # Copyright 2021 Tecnativa - Jo??o Marques
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
 
6
6
  from odoo import _, models
@@ -16,7 +16,7 @@ class OpenItemsXslx(models.AbstractModel):
16
16
  report_name = _("Open Items")
17
17
  if company_id:
18
18
  company = self.env["res.company"].browse(company_id)
19
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
19
+ suffix = f" - {company.name} - {company.currency_id.name}"
20
20
  report_name = report_name + suffix
21
21
  return report_name
22
22
 
@@ -211,6 +211,6 @@ class OpenItemsXslx(models.AbstractModel):
211
211
  name = my_object["code"] + " - " + my_object["name"]
212
212
  my_object["residual"] = total_amount[account_id]["residual"]
213
213
  label = _("Ending balance")
214
- return super(OpenItemsXslx, self).write_ending_balance_from_dict(
214
+ return super().write_ending_balance_from_dict(
215
215
  my_object, name, label, report_data
216
216
  )
@@ -220,22 +220,22 @@
220
220
  <div class="act_as_cell" style="width: 6.00%;">Current</div>
221
221
  <!--## age_30_days-->
222
222
  <div class="act_as_cell" style="width: 6.00%;">
223
- Age 30
223
+ Age ??? 30
224
224
  d.
225
225
  </div>
226
226
  <!--## age_60_days-->
227
227
  <div class="act_as_cell" style="width: 6.00%;">
228
- Age 60
228
+ Age ??? 60
229
229
  d.
230
230
  </div>
231
231
  <!--## age_90_days-->
232
232
  <div class="act_as_cell" style="width: 6.00%;">
233
- Age 90
233
+ Age ??? 90
234
234
  d.
235
235
  </div>
236
236
  <!--## age_120_days-->
237
237
  <div class="act_as_cell" style="width: 6.00%;">
238
- Age 120
238
+ Age ??? 120
239
239
  d.
240
240
  </div>
241
241
  <!--## older-->
@@ -1,5 +1,5 @@
1
- # © 2016 Julien Coux (Camptocamp)
2
- # © 2018 Forest and Biomass Romania SA
1
+ # ?? 2016 Julien Coux (Camptocamp)
2
+ # ?? 2018 Forest and Biomass Romania SA
3
3
  # Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
 
@@ -1,6 +1,6 @@
1
1
  # Author: Julien Coux
2
2
  # Copyright 2016 Camptocamp SA
3
- # Copyright 2021 Tecnativa - João Marques
3
+ # Copyright 2021 Tecnativa - Jo??o Marques
4
4
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5
5
 
6
6
 
@@ -17,7 +17,7 @@ class TrialBalanceXslx(models.AbstractModel):
17
17
  report_name = _("Trial Balance")
18
18
  if company_id:
19
19
  company = self.env["res.company"].browse(company_id)
20
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
20
+ suffix = f" - {company.name} - {company.currency_id.name}"
21
21
  report_name = report_name + suffix
22
22
  return report_name
23
23
 
@@ -257,7 +257,7 @@ class TrialBalanceXslx(models.AbstractModel):
257
257
  line_object.currency_id = line_object.report_account_id.currency_id
258
258
  elif type_object == "account":
259
259
  line_object.currency_id = line_object.currency_id
260
- return super(TrialBalanceXslx, self).write_line(line_object, report_data)
260
+ return super().write_line(line_object, report_data)
261
261
 
262
262
  def write_account_footer(self, account, name_value, report_data):
263
263
  """Specific function to write account footer for Trial Balance"""
@@ -1,5 +1,5 @@
1
1
  # Copyright 2018 Forest and Biomass Romania
2
- # Copyright 2021 Tecnativa - João Marques
2
+ # Copyright 2021 Tecnativa - Jo??o Marques
3
3
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
4
 
5
5
  from odoo import _, models
@@ -15,7 +15,7 @@ class VATReportXslx(models.AbstractModel):
15
15
  report_name = _("Vat Report")
16
16
  if company_id:
17
17
  company = self.env["res.company"].browse(company_id)
18
- suffix = " - {} - {}".format(company.name, company.currency_id.name)
18
+ suffix = f" - {company.name} - {company.currency_id.name}"
19
19
  report_name = report_name + suffix
20
20
  return report_name
21
21
 
@@ -366,9 +366,9 @@ ul.auto-toc {
366
366
  !! This file is generated by oca-gen-addon-readme !!
367
367
  !! changes will be overwritten. !!
368
368
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:cef68d51599f099ae394d2d6b98944bf45323ba4bf3e88483aafc1697ade7833
369
+ !! source digest: sha256:f5df69b312209c8040cdf53c7fe6e36b9defa60f8b8afcc8c4a2988cacea7b5b
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/16.0/account_financial_report"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/17.0/account_financial_report"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
372
  <p>This module adds a set of financial reports. They are accessible under
373
373
  Invoicing / Reporting / OCA accounting reports.</p>
374
374
  <ul class="simple">
@@ -379,11 +379,12 @@ Invoicing / Reporting / OCA accounting reports.</p>
379
379
  <li>VAT Report</li>
380
380
  <li>Journal Ledger</li>
381
381
  </ul>
382
- <p>Currently General ledger, Trial Balance and Open Items are fully compatible with a foreign
383
- currency set up in account in order to display balances. Moreover, any foreign
384
- currency used in account move lines is properly shown.</p>
385
- <p>In case that in an account has not been configured a second currency foreign
386
- currency balances are not available.</p>
382
+ <p>Currently General ledger, Trial Balance and Open Items are fully
383
+ compatible with a foreign currency set up in account in order to display
384
+ balances. Moreover, any foreign currency used in account move lines is
385
+ properly shown.</p>
386
+ <p>In case that in an account has not been configured a second currency
387
+ foreign currency balances are not available.</p>
387
388
  <p><strong>Table of contents</strong></p>
388
389
  <div class="contents local topic" id="contents">
389
390
  <ul class="simple">
@@ -406,13 +407,12 @@ currency balances are not available.</p>
406
407
  <div class="section" id="known-issues-roadmap">
407
408
  <h1><a class="toc-backref" href="#toc-entry-1">Known issues / Roadmap</a></h1>
408
409
  <ul class="simple">
409
- <li>‘VAT Report’ is valid only for cases where it’s met that for each
410
- Tax defined: all the “Account tags” of all the
411
- ‘Repartition for Invoices’ or ‘Repartition for Credit Notes’
412
- are different.</li>
413
- <li>It would be nice to have in reports a column indicating the
414
- state of the entries when the option “All Entries” is selected
415
- in “Target Moves” field in a wizard</li>
410
+ <li>‘VAT Report’ is valid only for cases where it’s met that for each Tax
411
+ defined: all the “Account tags” of all the ‘Repartition for Invoices’
412
+ or ‘Repartition for Credit Notes’ are different.</li>
413
+ <li>It would be nice to have in reports a column indicating the state of
414
+ the entries when the option “All Entries” is selected in “Target
415
+ Moves” field in a wizard</li>
416
416
  </ul>
417
417
  </div>
418
418
  <div class="section" id="changelog">
@@ -420,7 +420,8 @@ in “Target Moves” field in a wizard</li>
420
420
  <div class="section" id="section-1">
421
421
  <h2><a class="toc-backref" href="#toc-entry-3">11.0.2.5.0 (2019-04-26)</a></h2>
422
422
  <ul class="simple">
423
- <li>In the Trial Balance you have an option to hide parent hierarchy levels</li>
423
+ <li>In the Trial Balance you have an option to hide parent hierarchy
424
+ levels</li>
424
425
  </ul>
425
426
  </div>
426
427
  <div class="section" id="section-2">
@@ -445,7 +446,7 @@ in “Target Moves” field in a wizard</li>
445
446
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
446
447
  In case of trouble, please check there if your issue has already been reported.
447
448
  If you spotted it first, help us to smash it by providing a detailed and welcomed
448
- <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
449
+ <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
449
450
  <p>Do not contact contributors directly about support or help with technical issues.</p>
450
451
  </div>
451
452
  <div class="section" id="credits">
@@ -478,15 +479,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
478
479
  <li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li>
479
480
  <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis&#64;via.ecp.fr">alexis&#64;via.ecp.fr</a>&gt;</li>
480
481
  <li>Mihai Fekete &lt;<a class="reference external" href="mailto:feketemihai&#64;gmail.com">feketemihai&#64;gmail.com</a>&gt;</li>
481
- <li>Miquel Raïch &lt;<a class="reference external" href="mailto:miquel.raich&#64;forgeflow.com">miquel.raich&#64;forgeflow.com</a>&gt;</li>
482
+ <li>Miquel Ra??ch &lt;<a class="reference external" href="mailto:miquel.raich&#64;forgeflow.com">miquel.raich&#64;forgeflow.com</a>&gt;</li>
482
483
  <li>Joan Sisquella &lt;<a class="reference external" href="mailto:joan.sisquella&#64;forgeflow.com">joan.sisquella&#64;forgeflow.com</a>&gt;</li>
483
484
  <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
484
485
  <li>Pedro M. Baeza</li>
485
486
  <li>Sergio Teruel</li>
486
487
  <li>Ernesto Tejeda</li>
487
- <li>João Marques</li>
488
- <li>Alexandre D. Díaz</li>
489
- <li>Víctor Martínez</li>
488
+ <li>Jo??o Marques</li>
489
+ <li>Alexandre D. D??az</li>
490
+ <li>V??ctor Mart??nez</li>
490
491
  </ul>
491
492
  </li>
492
493
  <li><a class="reference external" href="https://www.sygel.es">Sygel</a>:<ul>
@@ -496,10 +497,10 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
496
497
  </li>
497
498
  <li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
498
499
  <li>Saran Lim. &lt;<a class="reference external" href="mailto:saranl&#64;ecosoft.co.th">saranl&#64;ecosoft.co.th</a>&gt;</li>
499
- <li>Omar Castiñeira &lt;<a class="reference external" href="mailto:omar&#64;comunitea.com">omar&#64;comunitea.com</a>&gt;</li>
500
+ <li>Omar Casti??eira &lt;<a class="reference external" href="mailto:omar&#64;comunitea.com">omar&#64;comunitea.com</a>&gt;</li>
500
501
  </ul>
501
- <p>Much of the work in this module was done at a sprint in Sorrento, Italy in
502
- April 2016.</p>
502
+ <p>Much of the work in this module was done at a sprint in Sorrento, Italy
503
+ in April 2016.</p>
503
504
  </div>
504
505
  <div class="section" id="maintainers">
505
506
  <h2><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h2>
@@ -508,7 +509,7 @@ April 2016.</p>
508
509
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
509
510
  mission is to support the collaborative development of Odoo features and
510
511
  promote its widespread use.</p>
511
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/16.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
512
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/17.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
512
513
  <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
513
514
  </div>
514
515
  </div>
@@ -1,13 +1,13 @@
1
- /** @odoo-module **/
1
+ // /** @odoo-module **/
2
2
  import {ReportAction} from "@web/webclient/actions/reports/report_action";
3
- import {patch} from "web.utils";
3
+ import {patch} from "@web/core/utils/patch";
4
4
  import {useEnrichWithActionLinks} from "./report.esm";
5
5
 
6
6
  const MODULE_NAME = "account_financial_report";
7
7
 
8
- patch(ReportAction.prototype, "account_financial_report.ReportAction", {
8
+ patch(ReportAction.prototype, {
9
9
  setup() {
10
- this._super.apply(this, arguments);
10
+ super.setup(...arguments);
11
11
  this.isAccountFinancialReport = this.props.report_name.startsWith(
12
12
  `${MODULE_NAME}.`
13
13
  );
@@ -4,7 +4,6 @@
4
4
  t-name="info.ReportAction"
5
5
  t-inherit="web.ReportAction"
6
6
  t-inherit-mode="extension"
7
- owl="1"
8
7
  >
9
8
  <xpath expr="//button" position="after">
10
9
  <button
@@ -1,4 +1,4 @@
1
- # © 2016 Julien Coux (Camptocamp)
1
+ # ?? 2016 Julien Coux (Camptocamp)
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-
3
3
 
4
4
  from . import test_aged_partner_balance