odoo-addon-account-financial-report 17.0.1.6.8__py3-none-any.whl → 17.0.1.6.9__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.

@@ -7,7 +7,7 @@ Account Financial Reports
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:7983a6a081357cca806fed7fb508c599bd9f281f66387c402dced6d083684c9f
10
+ !! source digest: sha256:e6b3efa0ecbe33313b21d0cdc8226f1c37c3c94d8bbc7ef0dc95dcd5d02e3592
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -6,7 +6,7 @@
6
6
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
7
7
  {
8
8
  "name": "Account Financial Reports",
9
- "version": "17.0.1.6.8",
9
+ "version": "17.0.1.6.9",
10
10
  "category": "Reporting",
11
11
  "summary": "OCA Financial Reports",
12
12
  "author": "Camptocamp,"
@@ -1747,6 +1747,15 @@ msgstr ""
1747
1747
  msgid "The hierarchy level to filter on must be greater than 0."
1748
1748
  msgstr ""
1749
1749
 
1750
+ #. module: account_financial_report
1751
+ #. odoo-python
1752
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1753
+ #, python-format
1754
+ msgid ""
1755
+ "There is a problem in the structure of the account groups. You may need to "
1756
+ "create some child group of %s."
1757
+ msgstr ""
1758
+
1750
1759
  #. module: account_financial_report
1751
1760
  #: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
1752
1761
  msgid "This domain will be used to select specific domain for Journal Items"
@@ -5,6 +5,7 @@
5
5
 
6
6
 
7
7
  from odoo import _, api, models
8
+ from odoo.exceptions import UserError
8
9
  from odoo.tools.float_utils import float_is_zero
9
10
 
10
11
 
@@ -687,8 +688,26 @@ class TrialBalanceReport(models.AbstractModel):
687
688
  return trial_balance, total_amount_grouped
688
689
 
689
690
  def _get_hierarchy_groups(self, group_ids, groups_data, foreign_currency):
690
- for group_id in group_ids:
691
+ processed_groups = []
692
+ # Sort groups so that parent groups are processed before child groups
693
+ groups = (
694
+ self.env["account.group"]
695
+ .browse(group_ids)
696
+ .sorted(key=lambda x: x.complete_code)
697
+ )
698
+ for group in groups:
699
+ group_id = group.id
691
700
  parent_id = groups_data[group_id]["parent_id"]
701
+ if group_id in processed_groups:
702
+ raise UserError(
703
+ _(
704
+ "There is a problem in the structure of the account groups. "
705
+ "You may need to create some child group of %s."
706
+ )
707
+ % groups_data[group_id]["name"]
708
+ )
709
+ else:
710
+ processed_groups.append(parent_id)
692
711
  while parent_id:
693
712
  if parent_id not in groups_data.keys():
694
713
  group = self.env["account.group"].browse(parent_id)
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:7983a6a081357cca806fed7fb508c599bd9f281f66387c402dced6d083684c9f
370
+ !! source digest: sha256:e6b3efa0ecbe33313b21d0cdc8226f1c37c3c94d8bbc7ef0dc95dcd5d02e3592
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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>
373
373
  <p>This module adds a set of financial reports. They are accessible under
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_financial_report
3
- Version: 17.0.1.6.8
3
+ Version: 17.0.1.6.9
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-date_range>=17.0dev,<17.1dev
6
6
  Requires-Dist: odoo-addon-report_xlsx>=17.0dev,<17.1dev
@@ -24,7 +24,7 @@ Account Financial Reports
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:7983a6a081357cca806fed7fb508c599bd9f281f66387c402dced6d083684c9f
27
+ !! source digest: sha256:e6b3efa0ecbe33313b21d0cdc8226f1c37c3c94d8bbc7ef0dc95dcd5d02e3592
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,9 +1,9 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=HYgZodMVi5otWwXOycqEXKzs5OXUoJCx453cOHv9hA0,6888
1
+ odoo/addons/account_financial_report/README.rst,sha256=BroW5aS5vSNhj2PVnP4G4QzNDcq2af0P_9QHuhvQq6g,6888
2
2
  odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
3
- odoo/addons/account_financial_report/__manifest__.py,sha256=QHZJY93GIUosfCliXnBJY2rRqIW1z5vnsK5_fkhHJR4,2061
3
+ odoo/addons/account_financial_report/__manifest__.py,sha256=fof2bxuMcD0zpnc6vTcdIUCYeTIW13NAtnmzTwQYwyI,2061
4
4
  odoo/addons/account_financial_report/menuitems.xml,sha256=k20N6cNRlDsnPhc378MVs7jwzJhbbJQ2k-P3WdsmF_M,1206
5
5
  odoo/addons/account_financial_report/reports.xml,sha256=c2KamS250rNzHUInjNwC0G2dhwiIqtYgbked51PtmVw,9254
6
- odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=937vhbW5GlT13iSsN4_5r6S5601H3s8di7Yy1s2O558,83068
6
+ odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=zWjSZ5Iba8EvJs2JcpwAAVB-DmTisWnFOVIPBaacUqI,83333
7
7
  odoo/addons/account_financial_report/i18n/ar.po,sha256=6n7f1_VIGOQLcdIHfCOzK4MpUM3rQ3Az39bLPTxkrpA,91319
8
8
  odoo/addons/account_financial_report/i18n/ca.po,sha256=wjMKEWqjCReZOL2lGbcfWCGVU175lSH3OWTKHACK-zY,88146
9
9
  odoo/addons/account_financial_report/i18n/de.po,sha256=co4Yg585f5YvtnRyxY_wdF3mNUWC6kBv5DNjobPSKU4,94006
@@ -47,7 +47,7 @@ odoo/addons/account_financial_report/report/journal_ledger.py,sha256=7pVowtuVNyx
47
47
  odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=kY6c-56HHauIyHAc7q5iNerz0gJQrp4ahI4OB1XeCT8,10060
48
48
  odoo/addons/account_financial_report/report/open_items.py,sha256=kRM1kI17LI_LUj3zDFf4zxMtrqDXZAO9fbBAczr04PA,12218
49
49
  odoo/addons/account_financial_report/report/open_items_xlsx.py,sha256=ERlxxsY2ERTimVEpskyp_XdsNuRW0XcFih7pJ2VF914,8366
50
- odoo/addons/account_financial_report/report/trial_balance.py,sha256=uprKjuKc6qa2ku1CCSSSETrASJB2tGbmvjtHMdd5pg8,41724
50
+ odoo/addons/account_financial_report/report/trial_balance.py,sha256=Ry_AUYreaxfXAZtdAqq1Z5f2Ju0KB4tEsiDTBO3RAug,42466
51
51
  odoo/addons/account_financial_report/report/trial_balance_xlsx.py,sha256=3wpHQ5JEM9g1pZpS9V7yo5Bed1JEKdMcfxzoq6I55_0,13246
52
52
  odoo/addons/account_financial_report/report/vat_report.py,sha256=eLWr9mk1bOQUPH4FEGDssfhqEfAeZUJV5ryCf8YYea0,10117
53
53
  odoo/addons/account_financial_report/report/vat_report_xlsx.py,sha256=ksdmiHDQZBBtk8fqkxSAS6-nFIyhT-wue4OTSV6xW9c,2307
@@ -61,7 +61,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=2WeL
61
61
  odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=S1VQLLwLeaOeAMYGqtoOqHUaZVrvDUVE4Z-0-SRjSGQ,1134
62
62
  odoo/addons/account_financial_report/security/security.xml,sha256=YQCXbOuTGHCWGYwGnXMie_0tnWG5zYJGdoeey3o1xaw,382
63
63
  odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
64
- odoo/addons/account_financial_report/static/description/index.html,sha256=r5ui6b-UHiJTa-54ZS0G2dwHLL0S6mYvCqENohL7KzM,19748
64
+ odoo/addons/account_financial_report/static/description/index.html,sha256=1PP5w2HLjsf2bCCNaRmxFB9iqrER0JXu2LvHNnzlKsM,19748
65
65
  odoo/addons/account_financial_report/static/src/css/report.css,sha256=Cu4VmyY5tVXIddaojFDsg0Ute2qPCvKbLiimak_X9ik,2361
66
66
  odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
67
67
  odoo/addons/account_financial_report/static/src/js/report.esm.js,sha256=He488vLRaLv6IIuVaNSnNl8kJMIwJmMIv7GkmXyPJZs,2475
@@ -98,7 +98,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=YdJr9
98
98
  odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=io5d8plYx9YktR79IJMoENQU1CV1HPwdBVamAN4zt7Y,7277
99
99
  odoo/addons/account_financial_report/wizard/vat_report_wizard.py,sha256=pJATDNWLcEWvctby5e5yvv4Kz7YDfCTi7YZP7slA8a4,3424
100
100
  odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml,sha256=T3P81O4csDGP7Jmf7eAtmbIIldja3IoXbBmweMMt8vA,2330
101
- odoo_addon_account_financial_report-17.0.1.6.8.dist-info/METADATA,sha256=0OrsiMVBjDVbBRTp2VZ8Jjldve2dakCulF9RtCkbMS4,7565
102
- odoo_addon_account_financial_report-17.0.1.6.8.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
103
- odoo_addon_account_financial_report-17.0.1.6.8.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
104
- odoo_addon_account_financial_report-17.0.1.6.8.dist-info/RECORD,,
101
+ odoo_addon_account_financial_report-17.0.1.6.9.dist-info/METADATA,sha256=3pgIMQbRIDW_FYBqzR8_iHIy2kAPZuUha0Wk0IoHAwE,7565
102
+ odoo_addon_account_financial_report-17.0.1.6.9.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
103
+ odoo_addon_account_financial_report-17.0.1.6.9.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
104
+ odoo_addon_account_financial_report-17.0.1.6.9.dist-info/RECORD,,