odoo-addon-account-financial-report 15.0.1.1.0.1__py3-none-any.whl → 18.0.1.4.4.3__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.
Files changed (104) hide show
  1. odoo/addons/account_financial_report/README.rst +131 -74
  2. odoo/addons/account_financial_report/__manifest__.py +6 -9
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +313 -188
  4. odoo/addons/account_financial_report/i18n/ar.po +579 -433
  5. odoo/addons/account_financial_report/i18n/ca.po +474 -289
  6. odoo/addons/account_financial_report/i18n/{fr_FR.po → ca_AD.po} +539 -491
  7. odoo/addons/account_financial_report/i18n/ca_ES.po +1891 -0
  8. odoo/addons/account_financial_report/i18n/de.po +455 -295
  9. odoo/addons/account_financial_report/i18n/es.po +458 -394
  10. odoo/addons/account_financial_report/i18n/es_AR.po +464 -283
  11. odoo/addons/account_financial_report/i18n/es_MX.po +315 -220
  12. odoo/addons/account_financial_report/i18n/fr.po +620 -435
  13. odoo/addons/account_financial_report/i18n/fr_CH.po +616 -462
  14. odoo/addons/account_financial_report/i18n/hr.po +506 -355
  15. odoo/addons/account_financial_report/i18n/hr_HR.po +331 -232
  16. odoo/addons/account_financial_report/i18n/it.po +538 -356
  17. odoo/addons/account_financial_report/i18n/ja.po +339 -240
  18. odoo/addons/account_financial_report/i18n/nl.po +462 -324
  19. odoo/addons/account_financial_report/i18n/nl_NL.po +318 -220
  20. odoo/addons/account_financial_report/i18n/pt.po +429 -242
  21. odoo/addons/account_financial_report/i18n/pt_BR.po +588 -438
  22. odoo/addons/account_financial_report/i18n/ro.po +499 -342
  23. odoo/addons/account_financial_report/i18n/sl.po +1945 -0
  24. odoo/addons/account_financial_report/i18n/sv.po +1997 -0
  25. odoo/addons/account_financial_report/i18n/tr.po +1947 -0
  26. odoo/addons/account_financial_report/menuitems.xml +1 -1
  27. odoo/addons/account_financial_report/models/__init__.py +2 -0
  28. odoo/addons/account_financial_report/models/account_age_report_configuration.py +49 -0
  29. odoo/addons/account_financial_report/models/account_group.py +62 -23
  30. odoo/addons/account_financial_report/models/account_move_line.py +33 -3
  31. odoo/addons/account_financial_report/models/ir_actions_report.py +6 -4
  32. odoo/addons/account_financial_report/models/res_config_settings.py +36 -0
  33. odoo/addons/account_financial_report/readme/CONFIGURE.md +26 -0
  34. odoo/addons/account_financial_report/readme/CONTRIBUTORS.md +38 -0
  35. odoo/addons/account_financial_report/readme/CREDITS.md +1 -0
  36. odoo/addons/account_financial_report/readme/DESCRIPTION.md +21 -0
  37. odoo/addons/account_financial_report/readme/HISTORY.md +16 -0
  38. odoo/addons/account_financial_report/readme/ROADMAP.md +6 -0
  39. odoo/addons/account_financial_report/report/abstract_report.py +73 -23
  40. odoo/addons/account_financial_report/report/abstract_report_xlsx.py +28 -23
  41. odoo/addons/account_financial_report/report/aged_partner_balance.py +131 -30
  42. odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py +158 -118
  43. odoo/addons/account_financial_report/report/general_ledger.py +421 -340
  44. odoo/addons/account_financial_report/report/general_ledger_xlsx.py +127 -75
  45. odoo/addons/account_financial_report/report/journal_ledger.py +84 -68
  46. odoo/addons/account_financial_report/report/journal_ledger_xlsx.py +14 -8
  47. odoo/addons/account_financial_report/report/open_items.py +113 -70
  48. odoo/addons/account_financial_report/report/open_items_xlsx.py +152 -19
  49. odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml +408 -311
  50. odoo/addons/account_financial_report/report/templates/general_ledger.xml +273 -213
  51. odoo/addons/account_financial_report/report/templates/journal_ledger.xml +70 -76
  52. odoo/addons/account_financial_report/report/templates/layouts.xml +12 -1
  53. odoo/addons/account_financial_report/report/templates/open_items.xml +181 -55
  54. odoo/addons/account_financial_report/report/templates/trial_balance.xml +304 -195
  55. odoo/addons/account_financial_report/report/templates/vat_report.xml +10 -10
  56. odoo/addons/account_financial_report/report/trial_balance.py +463 -211
  57. odoo/addons/account_financial_report/report/trial_balance_xlsx.py +37 -38
  58. odoo/addons/account_financial_report/report/vat_report.py +36 -25
  59. odoo/addons/account_financial_report/report/vat_report_xlsx.py +1 -1
  60. odoo/addons/account_financial_report/security/ir.model.access.csv +2 -0
  61. odoo/addons/account_financial_report/security/security.xml +8 -0
  62. odoo/addons/account_financial_report/static/description/index.html +106 -55
  63. odoo/addons/account_financial_report/static/src/css/report.css +77 -42
  64. odoo/addons/account_financial_report/static/src/css/report_html.css +10 -0
  65. odoo/addons/account_financial_report/static/src/js/report.esm.js +72 -0
  66. odoo/addons/account_financial_report/static/src/js/report_action.esm.js +39 -0
  67. odoo/addons/account_financial_report/static/src/xml/report.xml +10 -9
  68. odoo/addons/account_financial_report/tests/__init__.py +1 -0
  69. odoo/addons/account_financial_report/tests/test_age_report_configuration.py +42 -0
  70. odoo/addons/account_financial_report/tests/test_aged_partner_balance.py +99 -9
  71. odoo/addons/account_financial_report/tests/test_general_ledger.py +19 -9
  72. odoo/addons/account_financial_report/tests/test_journal_ledger.py +18 -9
  73. odoo/addons/account_financial_report/tests/test_open_items.py +42 -2
  74. odoo/addons/account_financial_report/tests/test_trial_balance.py +114 -223
  75. odoo/addons/account_financial_report/tests/test_vat_report.py +17 -9
  76. odoo/addons/account_financial_report/view/account_age_report_configuration_views.xml +41 -0
  77. odoo/addons/account_financial_report/view/res_config_settings_views.xml +51 -0
  78. odoo/addons/account_financial_report/wizard/abstract_wizard.py +23 -0
  79. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py +22 -8
  80. odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +2 -3
  81. odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +42 -36
  82. odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml +26 -41
  83. odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py +19 -7
  84. odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml +15 -14
  85. odoo/addons/account_financial_report/wizard/open_items_wizard.py +34 -8
  86. odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +16 -14
  87. odoo/addons/account_financial_report/wizard/trial_balance_wizard.py +68 -45
  88. odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml +40 -39
  89. odoo/addons/account_financial_report/wizard/vat_report_wizard.py +9 -3
  90. odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml +14 -14
  91. odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/METADATA +234 -0
  92. odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/RECORD +107 -0
  93. {odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info → odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info}/WHEEL +1 -1
  94. odoo_addon_account_financial_report-18.0.1.4.4.3.dist-info/top_level.txt +1 -0
  95. odoo/addons/account_financial_report/readme/CONTRIBUTORS.rst +0 -35
  96. odoo/addons/account_financial_report/readme/DESCRIPTION.rst +0 -16
  97. odoo/addons/account_financial_report/readme/HISTORY.rst +0 -19
  98. odoo/addons/account_financial_report/readme/ROADMAP.rst +0 -7
  99. odoo/addons/account_financial_report/static/src/js/action_manager_report.js +0 -37
  100. odoo/addons/account_financial_report/static/src/js/client_action.js +0 -58
  101. odoo/addons/account_financial_report/static/src/js/report.js +0 -58
  102. odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/METADATA +0 -179
  103. odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/RECORD +0 -95
  104. odoo_addon_account_financial_report-15.0.1.1.0.1.dist-info/top_level.txt +0 -1
@@ -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
 
@@ -60,19 +60,12 @@ class TrialBalanceXslx(models.AbstractModel):
60
60
  if report.foreign_currency:
61
61
  foreign_currency = {
62
62
  7: {
63
- "header": _("Cur."),
64
- "field": "currency_id",
65
- "field_currency_balance": "currency_id",
66
- "type": "many2one",
67
- "width": 7,
68
- },
69
- 8: {
70
63
  "header": _("Initial balance"),
71
64
  "field": "initial_currency_balance",
72
65
  "type": "amount_currency",
73
66
  "width": 14,
74
67
  },
75
- 9: {
68
+ 8: {
76
69
  "header": _("Ending balance"),
77
70
  "field": "ending_currency_balance",
78
71
  "type": "amount_currency",
@@ -118,19 +111,12 @@ class TrialBalanceXslx(models.AbstractModel):
118
111
  if report.foreign_currency:
119
112
  foreign_currency = {
120
113
  6: {
121
- "header": _("Cur."),
122
- "field": "currency_id",
123
- "field_currency_balance": "currency_id",
124
- "type": "many2one",
125
- "width": 7,
126
- },
127
- 7: {
128
114
  "header": _("Initial balance"),
129
115
  "field": "initial_currency_balance",
130
116
  "type": "amount_currency",
131
117
  "width": 14,
132
118
  },
133
- 8: {
119
+ 7: {
134
120
  "header": _("Ending balance"),
135
121
  "field": "ending_currency_balance",
136
122
  "type": "amount_currency",
@@ -180,38 +166,51 @@ class TrialBalanceXslx(models.AbstractModel):
180
166
  "report.account_financial_report.trial_balance"
181
167
  ]._get_report_values(report, data)
182
168
  trial_balance = res_data["trial_balance"]
169
+ trial_balance_grouped = res_data["trial_balance_grouped"]
183
170
  total_amount = res_data["total_amount"]
171
+ total_amount_grouped = res_data["total_amount_grouped"]
184
172
  partners_data = res_data["partners_data"]
185
173
  accounts_data = res_data["accounts_data"]
186
- hierarchy_on = res_data["hierarchy_on"]
174
+ show_hierarchy = res_data["show_hierarchy"]
187
175
  show_partner_details = res_data["show_partner_details"]
188
176
  show_hierarchy_level = res_data["show_hierarchy_level"]
189
177
  foreign_currency = res_data["foreign_currency"]
190
178
  limit_hierarchy_level = res_data["limit_hierarchy_level"]
179
+ hide_parent_hierarchy_level = res_data["hide_parent_hierarchy_level"]
180
+ grouped_by = res_data["grouped_by"]
191
181
  if not show_partner_details:
192
- # Display array header for account lines
193
- self.write_array_header(report_data)
194
-
195
- # For each account
196
- if not show_partner_details:
197
- for balance in trial_balance:
198
- if hierarchy_on == "relation":
199
- if limit_hierarchy_level:
200
- if show_hierarchy_level > balance["level"]:
182
+ if grouped_by:
183
+ # For each grouped
184
+ for grouped_item in trial_balance_grouped:
185
+ self.write_array_title(grouped_item["name"], report_data)
186
+ # Display array header for account lines
187
+ self.write_array_header(report_data)
188
+ # For each account
189
+ for balance in grouped_item["account_data"]:
190
+ self.write_line_from_dict(balance, report_data)
191
+ # Footer with totals
192
+ grouped_item["code"] = ""
193
+ grouped_item["currency_id"] = False
194
+ self.write_account_footer(grouped_item, _("Total"), report_data)
195
+ report_data["row_pos"] += 1
196
+ # Last line with totals
197
+ total_amount_grouped["currency_id"] = False
198
+ total_amount_grouped["code"] = ""
199
+ self.write_account_footer(total_amount_grouped, _("TOTAL"), report_data)
200
+ else:
201
+ # Display array header for account lines
202
+ self.write_array_header(report_data)
203
+ # For each account
204
+ for balance in trial_balance:
205
+ if show_hierarchy and limit_hierarchy_level:
206
+ if show_hierarchy_level > balance["level"] and (
207
+ not hide_parent_hierarchy_level
208
+ or (show_hierarchy_level - 1) == balance["level"]
209
+ ):
201
210
  # Display account lines
202
211
  self.write_line_from_dict(balance, report_data)
203
212
  else:
204
213
  self.write_line_from_dict(balance, report_data)
205
- elif hierarchy_on == "computed":
206
- if balance["type"] == "account_type":
207
- if limit_hierarchy_level:
208
- if show_hierarchy_level > balance["level"]:
209
- # Display account lines
210
- self.write_line_from_dict(balance, report_data)
211
- else:
212
- self.write_line_from_dict(balance, report_data)
213
- else:
214
- self.write_line_from_dict(balance, report_data)
215
214
  else:
216
215
  for account_id in total_amount:
217
216
  # Write account title
@@ -278,7 +277,7 @@ class TrialBalanceXslx(models.AbstractModel):
278
277
  line_object.currency_id = line_object.report_account_id.currency_id
279
278
  elif type_object == "account":
280
279
  line_object.currency_id = line_object.currency_id
281
- return super(TrialBalanceXslx, self).write_line(line_object, report_data)
280
+ return super().write_line(line_object, report_data)
282
281
 
283
282
  def write_account_footer(self, account, name_value, report_data):
284
283
  """Specific function to write account footer for Trial Balance"""
@@ -8,11 +8,12 @@ from odoo import api, models
8
8
 
9
9
 
10
10
  class VATReport(models.AbstractModel):
11
+ _inherit = "report.account_financial_report.abstract_report"
11
12
  _name = "report.account_financial_report.vat_report"
12
13
  _description = "Vat Report Report"
13
14
 
14
15
  def _get_tax_data(self, tax_ids):
15
- taxes = self.env["account.tax"].browse(tax_ids)
16
+ taxes = self.env["account.tax"].with_context(active_test=False).browse(tax_ids)
16
17
  tax_data = {}
17
18
  for tax in taxes:
18
19
  tax_data.update(
@@ -60,14 +61,7 @@ class VATReport(models.AbstractModel):
60
61
  tax_domain = self._get_tax_report_domain(
61
62
  company_id, date_from, date_to, only_posted_moves
62
63
  )
63
- ml_fields = [
64
- "id",
65
- "tax_base_amount",
66
- "balance",
67
- "tax_line_id",
68
- "tax_ids",
69
- "analytic_tag_ids",
70
- ]
64
+ ml_fields = self._get_ml_fields_vat_report()
71
65
  tax_move_lines = self.env["account.move.line"].search_read(
72
66
  domain=tax_domain,
73
67
  fields=ml_fields,
@@ -104,7 +98,9 @@ class VATReport(models.AbstractModel):
104
98
  return vat_data, tax_data
105
99
 
106
100
  def _get_tax_group_data(self, tax_group_ids):
107
- tax_groups = self.env["account.tax.group"].browse(tax_group_ids)
101
+ tax_groups = self.env["account.tax.group"].search_fetch(
102
+ [("id", "in", tax_group_ids)], ["name", "sequence"]
103
+ )
108
104
  tax_group_data = {}
109
105
  for tax_group in tax_groups:
110
106
  tax_group_data.update(
@@ -142,7 +138,7 @@ class VATReport(models.AbstractModel):
142
138
  vat_report[tax_group_id]["tax"] += tax_move_line["tax"]
143
139
  vat_report[tax_group_id][tax_id]["net"] += tax_move_line["net"]
144
140
  vat_report[tax_group_id][tax_id]["tax"] += tax_move_line["tax"]
145
- tax_group_data = self._get_tax_group_data(vat_report.keys())
141
+ tax_group_data = self._get_tax_group_data(list(vat_report.keys()))
146
142
  vat_report_list = []
147
143
  for tax_group_id in vat_report.keys():
148
144
  vat_report[tax_group_id]["name"] = tax_group_data[tax_group_id]["name"]
@@ -158,7 +154,9 @@ class VATReport(models.AbstractModel):
158
154
  return vat_report_list
159
155
 
160
156
  def _get_tags_data(self, tags_ids):
161
- tags = self.env["account.account.tag"].browse(tags_ids)
157
+ tags = self.env["account.account.tag"].search_fetch(
158
+ [("id", "in", tags_ids)], ["name"]
159
+ )
162
160
  tags_data = {}
163
161
  for tag in tags:
164
162
  tags_data.update({tag.id: {"code": "", "name": tag.name}})
@@ -190,7 +188,7 @@ class VATReport(models.AbstractModel):
190
188
  vat_report[tag_id][tax_id]["tax"] += tax_move_line["tax"]
191
189
  vat_report[tag_id]["net"] += tax_move_line["net"]
192
190
  vat_report[tag_id]["tax"] += tax_move_line["tax"]
193
- tags_data = self._get_tags_data(vat_report.keys())
191
+ tags_data = self._get_tags_data(list(vat_report.keys()))
194
192
  vat_report_list = []
195
193
  for tag_id in vat_report.keys():
196
194
  vat_report[tag_id]["name"] = tags_data[tag_id]["name"]
@@ -204,6 +202,7 @@ class VATReport(models.AbstractModel):
204
202
  return vat_report_list
205
203
 
206
204
  def _get_report_values(self, docids, data):
205
+ res = super()._get_report_values(docids, data)
207
206
  wizard_id = data["wizard_id"]
208
207
  company = self.env["res.company"].browse(data["company_id"])
209
208
  company_id = data["company_id"]
@@ -223,15 +222,27 @@ class VATReport(models.AbstractModel):
223
222
  vat_report = self._get_vat_report_tag_data(
224
223
  vat_report_data, tax_data, tax_detail
225
224
  )
226
- return {
227
- "doc_ids": [wizard_id],
228
- "doc_model": "open.items.report.wizard",
229
- "docs": self.env["open.items.report.wizard"].browse(wizard_id),
230
- "company_name": company.display_name,
231
- "currency_name": company.currency_id.name,
232
- "date_to": data["date_to"],
233
- "date_from": data["date_from"],
234
- "based_on": data["based_on"],
235
- "tax_detail": data["tax_detail"],
236
- "vat_report": vat_report,
237
- }
225
+ res.update(
226
+ {
227
+ "doc_ids": [wizard_id],
228
+ "doc_model": "vat.report.wizard",
229
+ "docs": self.env["vat.report.wizard"].browse(wizard_id),
230
+ "company_name": company.display_name,
231
+ "currency_name": company.currency_id.name,
232
+ "date_to": data["date_to"],
233
+ "date_from": data["date_from"],
234
+ "based_on": data["based_on"],
235
+ "tax_detail": data["tax_detail"],
236
+ "vat_report": vat_report,
237
+ }
238
+ )
239
+ return res
240
+
241
+ def _get_ml_fields_vat_report(self):
242
+ return [
243
+ "id",
244
+ "tax_base_amount",
245
+ "balance",
246
+ "tax_line_id",
247
+ "tax_ids",
248
+ ]
@@ -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
 
@@ -5,3 +5,5 @@ access_journal_ledger_report_wizard,access_journal_ledger_report_wizard,model_jo
5
5
  access_open_items_report_wizard,access_open_items_report_wizard,model_open_items_report_wizard,base.group_user,1,1,1,1
6
6
  access_trial_balance_report_wizard,access_trial_balance_report_wizard,model_trial_balance_report_wizard,base.group_user,1,1,1,1
7
7
  access_vat_report_wizard,access_vat_report_wizard,model_vat_report_wizard,base.group_user,1,1,1,1
8
+ access_account_age_report_configuration,access_account_age_report_configuration,model_account_age_report_configuration,base.group_user,1,1,1,1
9
+ access_account_age_report_configuration_line,access_account_age_report_configuration_line,model_account_age_report_configuration_line,base.group_user,1,1,1,1
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <odoo>
3
+ <record model="ir.rule" id="account_age_report_configuration_rule">
4
+ <field name="name">Account age report configuration rule</field>
5
+ <field name="model_id" ref="model_account_age_report_configuration" />
6
+ <field name="domain_force">[('company_id', 'in', company_ids + [False])]</field>
7
+ </record>
8
+ </odoo>
@@ -1,20 +1,20 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
3
  <head>
5
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
7
- <title>Account Financial Reports</title>
5
+ <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
+ <title>README.rst</title>
8
7
  <style type="text/css">
9
8
 
10
9
  /*
11
10
  :Author: David Goodger (goodger@python.org)
12
- :Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
13
12
  :Copyright: This stylesheet has been placed in the public domain.
14
13
 
15
14
  Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
16
16
 
17
- See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
17
+ See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
18
18
  customize this style sheet.
19
19
  */
20
20
 
@@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
275
275
  margin-left: 2em ;
276
276
  margin-right: 2em }
277
277
 
278
- pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code .ln { color: gray; } /* line numbers */
279
279
  pre.code, code { background-color: #eeeeee }
280
280
  pre.code .comment, code .comment { color: #5C6576 }
281
281
  pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@ span.option {
301
301
  span.pre {
302
302
  white-space: pre }
303
303
 
304
- span.problematic {
304
+ span.problematic, pre.problematic {
305
305
  color: red }
306
306
 
307
307
  span.section-subtitle {
@@ -360,14 +360,21 @@ ul.auto-toc {
360
360
  </style>
361
361
  </head>
362
362
  <body>
363
- <div class="document" id="account-financial-reports">
364
- <h1 class="title">Account Financial Reports</h1>
363
+ <div class="document">
365
364
 
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="account-financial-reports">
370
+ <h1>Account Financial Reports</h1>
366
371
  <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
372
  !! This file is generated by oca-gen-addon-readme !!
368
373
  !! changes will be overwritten. !!
374
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
+ !! source digest: sha256:e8f692c4f6ca372a1ce2bf979057b1e422845bba22841d0f2ffd8f71bc7d9b01
369
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370
- <p><a class="reference external" 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" 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" href="https://github.com/OCA/account-financial-reporting/tree/15.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" href="https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-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" href="https://runbot.odoo-community.org/runbot/91/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
377
+ <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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/18.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-18-0/account-financial-reporting-18-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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371
378
  <p>This module adds a set of financial reports. They are accessible under
372
379
  Invoicing / Reporting / OCA accounting reports.</p>
373
380
  <ul class="simple">
@@ -378,60 +385,87 @@ Invoicing / Reporting / OCA accounting reports.</p>
378
385
  <li>VAT Report</li>
379
386
  <li>Journal Ledger</li>
380
387
  </ul>
381
- <p>Currently General ledger, Trial Balance and Open Items are fully compatible with a foreign
382
- currency set up in account in order to display balances. Moreover, any foreign
383
- currency used in account move lines is properly shown.</p>
384
- <p>In case that in an account has not been configured a second currency foreign
385
- currency balances are not available.</p>
388
+ <p>Currently General ledger, Trial Balance and Open Items are fully
389
+ compatible with a foreign currency set up in account in order to display
390
+ balances. Moreover, any foreign currency used in account move lines is
391
+ properly shown.</p>
392
+ <p>In case that in an account has not been configured a second currency
393
+ foreign currency balances are not available.</p>
394
+ <p>Invoicing / Settings / Invoicing / OCA Aged Report Configuration you
395
+ will be able to set dynamic intervals that will appear on the Aged
396
+ Partner Balance. For further information, check CONFIGURE.rst</p>
386
397
  <p><strong>Table of contents</strong></p>
387
398
  <div class="contents local topic" id="contents">
388
399
  <ul class="simple">
389
- <li><a class="reference internal" href="#known-issues-roadmap" id="id4">Known issues / Roadmap</a></li>
390
- <li><a class="reference internal" href="#changelog" id="id5">Changelog</a><ul>
391
- <li><a class="reference internal" href="#id1" id="id6">11.0.2.5.0 (2019-04-26)</a></li>
392
- <li><a class="reference internal" href="#id2" id="id7">11.0.2.4.1 (2019-01-08)</a></li>
393
- <li><a class="reference internal" href="#id3" id="id8">11.0.2.3.1 (2018-11-29)</a></li>
400
+ <li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
401
+ <li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
402
+ <li><a class="reference internal" href="#changelog" id="toc-entry-3">Changelog</a><ul>
403
+ <li><a class="reference internal" href="#section-1" id="toc-entry-4">11.0.2.5.0 (2019-04-26)</a></li>
404
+ <li><a class="reference internal" href="#section-2" id="toc-entry-5">11.0.2.4.1 (2019-01-08)</a></li>
405
+ <li><a class="reference internal" href="#section-3" id="toc-entry-6">11.0.2.3.1 (2018-11-29)</a></li>
394
406
  </ul>
395
407
  </li>
396
- <li><a class="reference internal" href="#bug-tracker" id="id9">Bug Tracker</a></li>
397
- <li><a class="reference internal" href="#credits" id="id10">Credits</a><ul>
398
- <li><a class="reference internal" href="#authors" id="id11">Authors</a></li>
399
- <li><a class="reference internal" href="#contributors" id="id12">Contributors</a></li>
400
- <li><a class="reference internal" href="#maintainers" id="id13">Maintainers</a></li>
408
+ <li><a class="reference internal" href="#bug-tracker" id="toc-entry-7">Bug Tracker</a></li>
409
+ <li><a class="reference internal" href="#credits" id="toc-entry-8">Credits</a><ul>
410
+ <li><a class="reference internal" href="#authors" id="toc-entry-9">Authors</a></li>
411
+ <li><a class="reference internal" href="#contributors" id="toc-entry-10">Contributors</a></li>
412
+ <li><a class="reference internal" href="#other-credits" id="toc-entry-11">Other credits</a></li>
413
+ <li><a class="reference internal" href="#maintainers" id="toc-entry-12">Maintainers</a></li>
401
414
  </ul>
402
415
  </li>
403
416
  </ul>
404
417
  </div>
418
+ <div class="section" id="configuration">
419
+ <h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
420
+ <p>To configure dynamic intervals for Aged Partner Balance you need to:</p>
421
+ <p>Go on ‘Settings’ -&gt; ‘Invoicing’ -&gt; ‘OCA Aged Report Configuration’.</p>
422
+ <p>Click on option ‘Configurations’ and create new record.</p>
423
+ <p>Create new interval. The name established on line will be the column to
424
+ display in Aged Partner Balance. Inferior limit established on line is
425
+ the interval</p>
426
+ <p>Example of configuration inferior limit:</p>
427
+ <p>-&gt; 15 -&gt; 30 -&gt; 60</p>
428
+ <p>It means the first interval is from 0 to 15, the second from 16 to 30,
429
+ and the third is 61+.</p>
430
+ <p>Go on ‘Invoicing’ -&gt; ‘Reporting’ -&gt; ‘OCA accounting reports’ -&gt; ‘Aged
431
+ Partner Balance’</p>
432
+ <p>When wizard is open, you need to select your interval configuration and
433
+ print report.</p>
434
+ <p>If you want to get default interval configuration any time you wish to
435
+ print Aged Partner Report, you can set default interval configuration
436
+ per company in:</p>
437
+ <p>‘Settings’ -&gt; ‘Invoicing’ -&gt; ‘OCA Aged Report Configuration’.</p>
438
+ </div>
405
439
  <div class="section" id="known-issues-roadmap">
406
- <h1><a class="toc-backref" href="#id4">Known issues / Roadmap</a></h1>
440
+ <h2><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h2>
407
441
  <ul class="simple">
408
- <li>‘VAT Report’ is valid only for cases where it’s met that for each
409
- Tax defined: all the “Account tags” of all the
410
- ‘Repartition for Invoices’ or ‘Repartition for Credit Notes’
411
- are different.</li>
412
- <li>It would be nice to have in reports a column indicating the
413
- state of the entries when the option “All Entries” is selected
414
- in “Target Moves” field in a wizard</li>
442
+ <li>‘VAT Report’ is valid only for cases where it’s met that for each Tax
443
+ defined: all the “Account tags” of all the ‘Repartition for Invoices’
444
+ or ‘Repartition for Credit Notes’ are different.</li>
445
+ <li>It would be nice to have in reports a column indicating the state of
446
+ the entries when the option “All Entries” is selected in “Target
447
+ Moves” field in a wizard</li>
415
448
  </ul>
416
449
  </div>
417
450
  <div class="section" id="changelog">
418
- <h1><a class="toc-backref" href="#id5">Changelog</a></h1>
419
- <div class="section" id="id1">
420
- <h2><a class="toc-backref" href="#id6">11.0.2.5.0 (2019-04-26)</a></h2>
451
+ <h2><a class="toc-backref" href="#toc-entry-3">Changelog</a></h2>
452
+ <div class="section" id="section-1">
453
+ <h3><a class="toc-backref" href="#toc-entry-4">11.0.2.5.0 (2019-04-26)</a></h3>
421
454
  <ul class="simple">
422
- <li>In the Trial Balance you have an option to hide parent hierarchy levels</li>
455
+ <li>In the Trial Balance you have an option to hide parent hierarchy
456
+ levels</li>
423
457
  </ul>
424
458
  </div>
425
- <div class="section" id="id2">
426
- <h2><a class="toc-backref" href="#id7">11.0.2.4.1 (2019-01-08)</a></h2>
459
+ <div class="section" id="section-2">
460
+ <h3><a class="toc-backref" href="#toc-entry-5">11.0.2.4.1 (2019-01-08)</a></h3>
427
461
  <ul class="simple">
428
462
  <li>Handle better multicompany behaviour</li>
429
463
  <li>Improve how title appears in the reports</li>
430
464
  <li>Improve performance in General Ledger</li>
431
465
  </ul>
432
466
  </div>
433
- <div class="section" id="id3">
434
- <h2><a class="toc-backref" href="#id8">11.0.2.3.1 (2018-11-29)</a></h2>
467
+ <div class="section" id="section-3">
468
+ <h3><a class="toc-backref" href="#toc-entry-6">11.0.2.3.1 (2018-11-29)</a></h3>
435
469
  <ul class="simple">
436
470
  <li>In the Trial Balance you can apply a filter by hierarchy levels</li>
437
471
  <li>In the General Ledger you can apply a filter by Analytic Tag</li>
@@ -440,26 +474,26 @@ in “Target Moves” field in a wizard</li>
440
474
  </div>
441
475
  </div>
442
476
  <div class="section" id="bug-tracker">
443
- <h1><a class="toc-backref" href="#id9">Bug Tracker</a></h1>
477
+ <h2><a class="toc-backref" href="#toc-entry-7">Bug Tracker</a></h2>
444
478
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
445
479
  In case of trouble, please check there if your issue has already been reported.
446
- If you spotted it first, help us smashing it by providing a detailed and welcomed
447
- <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
480
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
481
+ <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
448
482
  <p>Do not contact contributors directly about support or help with technical issues.</p>
449
483
  </div>
450
484
  <div class="section" id="credits">
451
- <h1><a class="toc-backref" href="#id10">Credits</a></h1>
485
+ <h2><a class="toc-backref" href="#toc-entry-8">Credits</a></h2>
452
486
  <div class="section" id="authors">
453
- <h2><a class="toc-backref" href="#id11">Authors</a></h2>
487
+ <h3><a class="toc-backref" href="#toc-entry-9">Authors</a></h3>
454
488
  <ul class="simple">
455
- <li>Camptocamp SA</li>
489
+ <li>Camptocamp</li>
456
490
  <li>initOS GmbH</li>
457
491
  <li>redCOR AG</li>
458
492
  <li>ForgeFlow</li>
459
493
  </ul>
460
494
  </div>
461
495
  <div class="section" id="contributors">
462
- <h2><a class="toc-backref" href="#id12">Contributors</a></h2>
496
+ <h3><a class="toc-backref" href="#toc-entry-10">Contributors</a></h3>
463
497
  <ul class="simple">
464
498
  <li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
465
499
  <li>Yannick Vaucher &lt;<a class="reference external" href="mailto:yannick.vaucher&#64;camptocamp.com">yannick.vaucher&#64;camptocamp.com</a>&gt;</li>
@@ -477,14 +511,16 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
477
511
  <li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li>
478
512
  <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis&#64;via.ecp.fr">alexis&#64;via.ecp.fr</a>&gt;</li>
479
513
  <li>Mihai Fekete &lt;<a class="reference external" href="mailto:feketemihai&#64;gmail.com">feketemihai&#64;gmail.com</a>&gt;</li>
480
- <li>Miquel Raïch &lt;<a class="reference external" href="mailto:miquel.raich&#64;forgeflow.com">miquel.raich&#64;forgeflow.com</a>&gt;</li>
514
+ <li>Miquel Ra??ch &lt;<a class="reference external" href="mailto:miquel.raich&#64;forgeflow.com">miquel.raich&#64;forgeflow.com</a>&gt;</li>
481
515
  <li>Joan Sisquella &lt;<a class="reference external" href="mailto:joan.sisquella&#64;forgeflow.com">joan.sisquella&#64;forgeflow.com</a>&gt;</li>
482
516
  <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
483
517
  <li>Pedro M. Baeza</li>
484
518
  <li>Sergio Teruel</li>
485
519
  <li>Ernesto Tejeda</li>
486
520
  <li>João Marques</li>
487
- <li>Alexandre D. Díaz</li>
521
+ <li>Alexandre D. D??az</li>
522
+ <li>V??ctor Mart??nez</li>
523
+ <li>Carolina Fernandez</li>
488
524
  </ul>
489
525
  </li>
490
526
  <li><a class="reference external" href="https://www.sygel.es">Sygel</a>:<ul>
@@ -493,21 +529,36 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
493
529
  </ul>
494
530
  </li>
495
531
  <li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
532
+ <li>Saran Lim. &lt;<a class="reference external" href="mailto:saranl&#64;ecosoft.co.th">saranl&#64;ecosoft.co.th</a>&gt;</li>
533
+ <li>Omar Casti??eira &lt;<a class="reference external" href="mailto:omar&#64;comunitea.com">omar&#64;comunitea.com</a>&gt;</li>
534
+ <li>Chau Le &lt;<a class="reference external" href="mailto:chaulb&#64;trobz.com">chaulb&#64;trobz.com</a>&gt;</li>
535
+ <li><a class="reference external" href="https://www.stesi.consulting">Stesi Consulting</a>:<ul>
536
+ <li>Michele Di Croce &lt;<a class="reference external" href="mailto:dicroce.m&#64;stesi.consulting">dicroce.m&#64;stesi.consulting</a>&gt;</li>
537
+ </ul>
538
+ </li>
496
539
  </ul>
497
- <p>Much of the work in this module was done at a sprint in Sorrento, Italy in
498
- April 2016.</p>
540
+ <p>Much of the work in this module was done at a sprint in Sorrento, Italy
541
+ in April 2016.</p>
542
+ </div>
543
+ <div class="section" id="other-credits">
544
+ <h3><a class="toc-backref" href="#toc-entry-11">Other credits</a></h3>
545
+ <p>The migration of this module from 17.0 to 18.0 was financially supported
546
+ by Camptocamp.</p>
499
547
  </div>
500
548
  <div class="section" id="maintainers">
501
- <h2><a class="toc-backref" href="#id13">Maintainers</a></h2>
549
+ <h3><a class="toc-backref" href="#toc-entry-12">Maintainers</a></h3>
502
550
  <p>This module is maintained by the OCA.</p>
503
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
551
+ <a class="reference external image-reference" href="https://odoo-community.org">
552
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
553
+ </a>
504
554
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
505
555
  mission is to support the collaborative development of Odoo features and
506
556
  promote its widespread use.</p>
507
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/15.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
557
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/18.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
508
558
  <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>
509
559
  </div>
510
560
  </div>
511
561
  </div>
562
+ </div>
512
563
  </body>
513
564
  </html>