odoo-addon-account-financial-report 15.0.3.3.0.1__py3-none-any.whl → 15.0.3.3.1__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:19c6a50b17dc525e27768d61a9be0e54bfde38f6cfcb359f3e72d5f7a69fbfc0
10
+ !! source digest: sha256:bc9def11be4487679cbaccfc573da59be91e3ef192612fee4dfd686b4d32cb76
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -7,7 +7,7 @@
7
7
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
8
8
  {
9
9
  "name": "Account Financial Reports",
10
- "version": "15.0.3.3.0",
10
+ "version": "15.0.3.3.1",
11
11
  "category": "Reporting",
12
12
  "summary": "OCA Financial Reports",
13
13
  "author": "Camptocamp,"
@@ -1848,6 +1848,14 @@ msgstr ""
1848
1848
  msgid "The hierarchy level to filter on must be greater than 0."
1849
1849
  msgstr ""
1850
1850
 
1851
+ #. module: account_financial_report
1852
+ #: code:addons/account_financial_report/report/trial_balance.py:0
1853
+ #, python-format
1854
+ msgid ""
1855
+ "There is a problem in the structure of the account groups. You may need to "
1856
+ "create some child group of %s."
1857
+ msgstr ""
1858
+
1851
1859
  #. module: account_financial_report
1852
1860
  #: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
1853
1861
  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
 
@@ -653,8 +654,26 @@ class TrialBalanceReport(models.AbstractModel):
653
654
  return trial_balance, total_amount_grouped
654
655
 
655
656
  def _get_hierarchy_groups(self, group_ids, groups_data, foreign_currency):
656
- for group_id in group_ids:
657
+ processed_groups = []
658
+ # Sort groups so that parent groups are processed before child groups
659
+ groups = (
660
+ self.env["account.group"]
661
+ .browse(group_ids)
662
+ .sorted(key=lambda x: x.complete_code)
663
+ )
664
+ for group in groups:
665
+ group_id = group.id
657
666
  parent_id = groups_data[group_id]["parent_id"]
667
+ if group_id in processed_groups:
668
+ raise UserError(
669
+ _(
670
+ "There is a problem in the structure of the account groups. "
671
+ "You may need to create some child group of %s."
672
+ )
673
+ % groups_data[group_id]["name"]
674
+ )
675
+ else:
676
+ processed_groups.append(parent_id)
658
677
  while parent_id:
659
678
  if parent_id not in groups_data.keys():
660
679
  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:19c6a50b17dc525e27768d61a9be0e54bfde38f6cfcb359f3e72d5f7a69fbfc0
370
+ !! source digest: sha256:bc9def11be4487679cbaccfc573da59be91e3ef192612fee4dfd686b4d32cb76
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/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 image-reference" 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 image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&amp;target_branch=15.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: 15.0.3.3.0.1
3
+ Version: 15.0.3.3.1
4
4
  Summary: OCA Financial Reports
5
5
  Home-page: https://github.com/OCA/account-financial-reporting
6
6
  Author: Camptocamp,initOS GmbH,redCOR AG,ForgeFlow,Tecnativa,Odoo Community Association (OCA)
@@ -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:19c6a50b17dc525e27768d61a9be0e54bfde38f6cfcb359f3e72d5f7a69fbfc0
27
+ !! source digest: sha256:bc9def11be4487679cbaccfc573da59be91e3ef192612fee4dfd686b4d32cb76
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,10 +1,10 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=jk2LXX6BzkKpkFcQCrYHFREN4tbsNyxeJ1hZLNf3Q5I,7368
1
+ odoo/addons/account_financial_report/README.rst,sha256=o1IoQWiIe2YsPmx-zetfH21nK2vqsSoq62ymqNoCGko,7368
2
2
  odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
3
- odoo/addons/account_financial_report/__manifest__.py,sha256=bv2AKOYgFgRw64VtoFUOPZcMK2gQxBsGOMXdiKuEOR4,2463
3
+ odoo/addons/account_financial_report/__manifest__.py,sha256=5Hkwpa4vx0-yVaNeHC7dg23x1F4q-YZyu7TM8nrJ358,2463
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
6
  odoo/addons/account_financial_report/data/report_column_data.xml,sha256=6AzEyI3_k76H_wCnr15RHw3lzx9xI8s2udoiPIBDMCA,14003
7
- odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=LNhhdPWKFn1WXMwKaU-8PhDmBetsy7gtfnv0zoMnStw,93407
7
+ odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=fI2nTVZpvUUDgAhx9LWmbB4MQmuM4hNSKJT2CwIHZcI,93657
8
8
  odoo/addons/account_financial_report/i18n/ar.po,sha256=xI73iIFyQb_nMRau227U47gjpSJeojihrRmoaiLQreo,101099
9
9
  odoo/addons/account_financial_report/i18n/ca.po,sha256=0mnyHSczfEAj4jYR5ZvGDni7SAyspfRNXwGAkX0qbBc,97970
10
10
  odoo/addons/account_financial_report/i18n/da.po,sha256=FtzgatuGLkrBqXjrQ3NnrAp_FQdFPBQrMlz14mGsPK0,97202
@@ -48,7 +48,7 @@ odoo/addons/account_financial_report/report/journal_ledger.py,sha256=zfA1t92b_cG
48
48
  odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=Pp7iDkBjSk0BqZkSPAiKI2hBHNcjKYjZoBxuL_ENz5E,10126
49
49
  odoo/addons/account_financial_report/report/open_items.py,sha256=I_qBL-k5g2oo46c70owOPbYN8PcdwYg2usXuvGBhFqI,14284
50
50
  odoo/addons/account_financial_report/report/open_items_xlsx.py,sha256=a4HMQ97VkwTO_8tnxyzFIIlLkawaG1HBXnujgYUI_Ug,15119
51
- odoo/addons/account_financial_report/report/trial_balance.py,sha256=xYf_BgPtYOoViI7UYmFIkaT7natO5yKMIST85xdK5c8,40981
51
+ odoo/addons/account_financial_report/report/trial_balance.py,sha256=HHHXFzT_LxxduTBhDG0Pc39qbPTYTYgCZ5z6ZN4CSlU,41723
52
52
  odoo/addons/account_financial_report/report/trial_balance_xlsx.py,sha256=iGn0bVz63eMNL6Xdnjk8r4JdZrX2ojnEm9E0BaOcDoY,13278
53
53
  odoo/addons/account_financial_report/report/vat_report.py,sha256=td57Fkdaz_feJ5hg6eFDVT2KV405svzkoAObFq2pGt0,10373
54
54
  odoo/addons/account_financial_report/report/vat_report_xlsx.py,sha256=aa0dLzYdywjmO63ONRYUBTpSGmsPfEjX60CkUbULuo8,2317
@@ -62,7 +62,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=F5hQ
62
62
  odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=KDi6ri7JCnLjbEM1u3mT5SNY2pRVEwTdHoScf8xn1Lw,1324
63
63
  odoo/addons/account_financial_report/security/security.xml,sha256=gpNJnzruXfeYskn26FqY9U04FiuTf8vgLCKEGY8PADM,422
64
64
  odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
65
- odoo/addons/account_financial_report/static/description/index.html,sha256=1eZMjVnKRC5M5L28DfYK-VMst6w6idYcOIs1F0CfDf8,20468
65
+ odoo/addons/account_financial_report/static/description/index.html,sha256=U-NZy1ykY_WO6LsEwM2FrKu2HYhQzMlbZt6tKWmPrtI,20468
66
66
  odoo/addons/account_financial_report/static/src/css/report.css,sha256=y0CysZUK3afkYSHgBaMi_qmh8da3XXEZwJDjRBg6HqQ,2335
67
67
  odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
68
68
  odoo/addons/account_financial_report/static/src/js/action_manager_report.js,sha256=g8aZkSRMgNcFzQ4f_3mmeKl7oNnoap_cDUxuyGxMT4M,1608
@@ -101,7 +101,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=yED2c
101
101
  odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=kzsselPX_jYDWQEbDSXIS5K2vKuyzjTZMdinH0976c0,7413
102
102
  odoo/addons/account_financial_report/wizard/vat_report_wizard.py,sha256=yKzow23QPvRLz7Fp1ZwyCiW1p64w7wFXZAtG-srRkpU,3489
103
103
  odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml,sha256=T3P81O4csDGP7Jmf7eAtmbIIldja3IoXbBmweMMt8vA,2330
104
- odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info/METADATA,sha256=RCHaX0CIWVhxzAiVII-_qxWt-wSSj2JBLKVwX-UQCFw,8056
105
- odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
106
- odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
107
- odoo_addon_account_financial_report-15.0.3.3.0.1.dist-info/RECORD,,
104
+ odoo_addon_account_financial_report-15.0.3.3.1.dist-info/METADATA,sha256=5Ch_GbDDzJ2n0A4RNiw9fTiosziCa-O-afSTqakguPM,8054
105
+ odoo_addon_account_financial_report-15.0.3.3.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
106
+ odoo_addon_account_financial_report-15.0.3.3.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
107
+ odoo_addon_account_financial_report-15.0.3.3.1.dist-info/RECORD,,