odoo-addon-account-financial-report 17.0.1.6.11__py3-none-any.whl → 17.0.1.6.12.2__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (29) hide show
  1. odoo/addons/account_financial_report/README.rst +1 -1
  2. odoo/addons/account_financial_report/__manifest__.py +1 -1
  3. odoo/addons/account_financial_report/i18n/account_financial_report.pot +1 -1
  4. odoo/addons/account_financial_report/i18n/ar.po +1 -1
  5. odoo/addons/account_financial_report/i18n/ca.po +1 -1
  6. odoo/addons/account_financial_report/i18n/de.po +1 -1
  7. odoo/addons/account_financial_report/i18n/es.po +11 -7
  8. odoo/addons/account_financial_report/i18n/es_AR.po +1 -1
  9. odoo/addons/account_financial_report/i18n/es_MX.po +1 -1
  10. odoo/addons/account_financial_report/i18n/fr.po +15 -16
  11. odoo/addons/account_financial_report/i18n/fr_CH.po +6 -7
  12. odoo/addons/account_financial_report/i18n/hr.po +1 -1
  13. odoo/addons/account_financial_report/i18n/hr_HR.po +1 -1
  14. odoo/addons/account_financial_report/i18n/it.po +1 -1
  15. odoo/addons/account_financial_report/i18n/ja.po +1 -1
  16. odoo/addons/account_financial_report/i18n/nl.po +1 -1
  17. odoo/addons/account_financial_report/i18n/nl_NL.po +1 -1
  18. odoo/addons/account_financial_report/i18n/pt.po +1 -1
  19. odoo/addons/account_financial_report/i18n/pt_BR.po +1 -1
  20. odoo/addons/account_financial_report/i18n/ro.po +1 -1
  21. odoo/addons/account_financial_report/i18n/sv.po +1 -1
  22. odoo/addons/account_financial_report/i18n/tr.po +1 -1
  23. odoo/addons/account_financial_report/report/general_ledger.py +22 -39
  24. odoo/addons/account_financial_report/static/description/index.html +1 -1
  25. odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +2 -1
  26. {odoo_addon_account_financial_report-17.0.1.6.11.dist-info → odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info}/METADATA +2 -2
  27. {odoo_addon_account_financial_report-17.0.1.6.11.dist-info → odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info}/RECORD +29 -29
  28. {odoo_addon_account_financial_report-17.0.1.6.11.dist-info → odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info}/WHEEL +1 -1
  29. {odoo_addon_account_financial_report-17.0.1.6.11.dist-info → odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info}/top_level.txt +0 -0
@@ -11,7 +11,7 @@ Account Financial Reports
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:b0850fb4f896eac1e1e60fa52a00955716208ec033c4b34f889df4333a5af3b5
14
+ !! source digest: sha256:9a1c3ae053c7fc73842b096646fcf93f131762e400d8f9a1b7695c75bc0acdf5
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |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.11",
9
+ "version": "17.0.1.6.12",
10
10
  "category": "Reporting",
11
11
  "summary": "OCA Financial Reports",
12
12
  "author": "Camptocamp,"
@@ -1268,7 +1268,7 @@ msgid "No limit"
1268
1268
  msgstr ""
1269
1269
 
1270
1270
  #. module: account_financial_report
1271
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1271
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1272
1272
  msgid "None"
1273
1273
  msgstr ""
1274
1274
 
@@ -1277,7 +1277,7 @@ msgid "No limit"
1277
1277
  msgstr ""
1278
1278
 
1279
1279
  #. module: account_financial_report
1280
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1280
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1281
1281
  msgid "None"
1282
1282
  msgstr ""
1283
1283
 
@@ -1275,7 +1275,7 @@ msgid "No limit"
1275
1275
  msgstr "Sense l??mit"
1276
1276
 
1277
1277
  #. module: account_financial_report
1278
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1278
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1279
1279
  msgid "None"
1280
1280
  msgstr ""
1281
1281
 
@@ -1289,7 +1289,7 @@ msgid "No limit"
1289
1289
  msgstr "Keine Einschr??nkung"
1290
1290
 
1291
1291
  #. module: account_financial_report
1292
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1292
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1293
1293
  msgid "None"
1294
1294
  msgstr ""
1295
1295
 
@@ -7,16 +7,15 @@ msgstr ""
7
7
  "Project-Id-Version: Odoo Server 12.0+e\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "POT-Creation-Date: 2022-09-21 15:05+0000\n"
10
- "PO-Revision-Date: 2024-08-08 14:58+0000\n"
11
- "Last-Translator: carolinafernandez-tecnativa <carolina.fernandez@tecnativa."
12
- "com>\n"
10
+ "PO-Revision-Date: 2025-08-11 18:35+0000\n"
11
+ "Last-Translator: \"Pedro M. Baeza\" <pedro.baeza@tecnativa.com>\n"
13
12
  "Language-Team: \n"
14
13
  "Language: es\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
17
16
  "Content-Transfer-Encoding: 8bit\n"
18
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
- "X-Generator: Weblate 5.6.2\n"
18
+ "X-Generator: Weblate 5.10.4\n"
20
19
 
21
20
  #. module: account_financial_report
22
21
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_lines_header
@@ -61,6 +60,9 @@ msgid ""
61
60
  " Duplicate amounts may be shown because more than one "
62
61
  "analytical account may be defined in the journal items."
63
62
  msgstr ""
63
+ "<i class=\"fa fa-exclamation-triangle mr-3\"/>\n"
64
+ " Puede que se muestren importes duplicados porque estén "
65
+ "definidas más de una cuenta en los apuntes contables."
64
66
 
65
67
  #. module: account_financial_report
66
68
  #: model_terms:ir.ui.view,arch_db:account_financial_report.res_config_settings_view_form
@@ -1288,7 +1290,7 @@ msgid "No limit"
1288
1290
  msgstr "Sin límite"
1289
1291
 
1290
1292
  #. module: account_financial_report
1291
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1293
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1292
1294
  msgid "None"
1293
1295
  msgstr "Ninguna"
1294
1296
 
@@ -1623,7 +1625,7 @@ msgstr "Cuenta inicial en un rango"
1623
1625
  #: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
1624
1626
  #, python-format
1625
1627
  msgid "TOTAL"
1626
- msgstr ""
1628
+ msgstr "TOTAL"
1627
1629
 
1628
1630
  #. module: account_financial_report
1629
1631
  #: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
@@ -1783,6 +1785,8 @@ msgid ""
1783
1785
  "There is a problem in the structure of the account groups. You may need to "
1784
1786
  "create some child group of %s."
1785
1787
  msgstr ""
1788
+ "Hay un problema en la estructura de los grupos de cuentas. Puede que "
1789
+ "necesite crear algunos grupos hijos de %s."
1786
1790
 
1787
1791
  #. module: account_financial_report
1788
1792
  #: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
@@ -1953,7 +1957,7 @@ msgstr "Cuenta con Nombre"
1953
1957
  #: code:addons/account_financial_report/report/trial_balance.py:0
1954
1958
  #, python-format
1955
1959
  msgid "Without analytic account"
1956
- msgstr ""
1960
+ msgstr "Sin cuenta analítica"
1957
1961
 
1958
1962
  #. module: account_financial_report
1959
1963
  #. odoo-python
@@ -1273,7 +1273,7 @@ msgid "No limit"
1273
1273
  msgstr "Sin l??mite"
1274
1274
 
1275
1275
  #. module: account_financial_report
1276
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1276
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1277
1277
  msgid "None"
1278
1278
  msgstr "Ninguno"
1279
1279
 
@@ -1260,7 +1260,7 @@ msgid "No limit"
1260
1260
  msgstr ""
1261
1261
 
1262
1262
  #. module: account_financial_report
1263
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1263
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1264
1264
  msgid "None"
1265
1265
  msgstr ""
1266
1266
 
@@ -695,9 +695,9 @@ msgid ""
695
695
  "setup through chart of accounts will display initial and final balance in "
696
696
  "that currency."
697
697
  msgstr ""
698
- "Afficher les devises étrangères pour les écritures comptables, à moins "
699
- "que la devise du compte comptable ne soit pas définie dans le plan "
700
- "comptable affichera les balances initiale et finale dans cette monnaie."
698
+ "Afficher les devises étrangères pour les écritures comptables, à moins que "
699
+ "la devise du compte comptable ne soit pas définie dans le plan comptable "
700
+ "affichera les balances initiale et finale dans cette monnaie."
701
701
 
702
702
  #. module: account_financial_report
703
703
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hide_parent_hierarchy_level
@@ -953,8 +953,8 @@ msgid ""
953
953
  " only one unaffected earnings account."
954
954
  msgstr ""
955
955
  "Le grand livre ne peut être généré que si la société sélectionnée a\n"
956
- " un seul compte de type bénéfice de "
957
- "l'année en cours."
956
+ " un seul compte de type bénéfice de l'année "
957
+ "en cours."
958
958
 
959
959
  #. module: account_financial_report
960
960
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@@ -1277,7 +1277,7 @@ msgid "No limit"
1277
1277
  msgstr "Sans limite"
1278
1278
 
1279
1279
  #. module: account_financial_report
1280
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1280
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1281
1281
  msgid "None"
1282
1282
  msgstr "Aucun"
1283
1283
 
@@ -1733,8 +1733,7 @@ msgid ""
1733
1733
  "The Company in the General Ledger Report Wizard and in Date Range must be "
1734
1734
  "the same."
1735
1735
  msgstr ""
1736
- "La société dans le grand livre et dans la plage de dates doit être la "
1737
- "me."
1736
+ "La société dans le grand livre et dans la plage de dates doit être la même."
1738
1737
 
1739
1738
  #. module: account_financial_report
1740
1739
  #. odoo-python
@@ -1744,8 +1743,8 @@ msgid ""
1744
1743
  "The Company in the Trial Balance Report Wizard and in Date Range must be the "
1745
1744
  "same."
1746
1745
  msgstr ""
1747
- "La société dans la balance générale et dans la plage de dates doit être "
1748
- "l même."
1746
+ "La société dans la balance générale et dans la plage de dates doit être l "
1747
+ "même."
1749
1748
 
1750
1749
  #. module: account_financial_report
1751
1750
  #. odoo-python
@@ -1754,8 +1753,8 @@ msgstr ""
1754
1753
  msgid ""
1755
1754
  "The Company in the Vat Report Wizard and in Date Range must be the same."
1756
1755
  msgstr ""
1757
- "La société dans le rapport des taxes et dans la plage de dates doit être "
1758
- "la même."
1756
+ "La société dans le rapport des taxes et dans la plage de dates doit être la "
1757
+ "même."
1759
1758
 
1760
1759
  #. module: account_financial_report
1761
1760
  #. odoo-python
@@ -1838,8 +1837,8 @@ msgid ""
1838
1837
  "Trial Balance can be computed only if selected company have only\n"
1839
1838
  " one unaffected earnings account."
1840
1839
  msgstr ""
1841
- "La balance générale ne peut être générée que si la société "
1842
- "lectionnée a un seul\n"
1840
+ "La balance générale ne peut être générée que si la société sélectionnée a un "
1841
+ "seul\n"
1843
1842
  " compte de type bénéfice de l'année en "
1844
1843
  "cours."
1845
1844
 
@@ -1858,8 +1857,8 @@ msgid ""
1858
1857
  "balance."
1859
1858
  msgstr ""
1860
1859
  "Utiliser ce filtre pour masquer un compte ou un partenaire avec un solde "
1861
- "final à 0. Si un ou plusieurs partenaires sont filtrés, les totaux des "
1862
- "bits et crédits ne correspondront pas à la balance générale."
1860
+ "final à 0. Si un ou plusieurs partenaires sont filtrés, les totaux des "
1861
+ "débits et crédits ne correspondront pas à la balance générale."
1863
1862
 
1864
1863
  #. module: account_financial_report
1865
1864
  #: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__show_hierarchy
@@ -697,9 +697,9 @@ msgid ""
697
697
  "setup through chart of accounts will display initial and final balance in "
698
698
  "that currency."
699
699
  msgstr ""
700
- "Afficher les devises étrangères pour les écritures comptables, à moins "
701
- "que la monnaie du compte comptable ne soit pas définie dans le plan "
702
- "comptable affichera les balances initiale et finale dans cette monnaie."
700
+ "Afficher les devises étrangères pour les écritures comptables, à moins que "
701
+ "la monnaie du compte comptable ne soit pas définie dans le plan comptable "
702
+ "affichera les balances initiale et finale dans cette monnaie."
703
703
 
704
704
  #. module: account_financial_report
705
705
  #: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hide_parent_hierarchy_level
@@ -1287,7 +1287,7 @@ msgid "No limit"
1287
1287
  msgstr "Sans limite"
1288
1288
 
1289
1289
  #. module: account_financial_report
1290
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1290
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1291
1291
  msgid "None"
1292
1292
  msgstr ""
1293
1293
 
@@ -1942,9 +1942,8 @@ msgid ""
1942
1942
  "When this option is enabled, the trial balance will not display accounts "
1943
1943
  "that have initial balance = debit = credit = end balance = 0"
1944
1944
  msgstr ""
1945
- "Lorsque cette option est activée, la balance générale n'affichera pas "
1946
- "les comptes qui ont balance initiale = débit = crédit = solde de clôture "
1947
- "= 0"
1945
+ "Lorsque cette option est activée, la balance générale n'affichera pas les "
1946
+ "comptes qui ont balance initiale = débit = crédit = solde de clôture = 0"
1948
1947
 
1949
1948
  #. module: account_financial_report
1950
1949
  #: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__with_account_name
@@ -1268,7 +1268,7 @@ msgid "No limit"
1268
1268
  msgstr ""
1269
1269
 
1270
1270
  #. module: account_financial_report
1271
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1271
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1272
1272
  msgid "None"
1273
1273
  msgstr ""
1274
1274
 
@@ -1265,7 +1265,7 @@ msgid "No limit"
1265
1265
  msgstr ""
1266
1266
 
1267
1267
  #. module: account_financial_report
1268
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1268
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1269
1269
  msgid "None"
1270
1270
  msgstr ""
1271
1271
 
@@ -1289,7 +1289,7 @@ msgid "No limit"
1289
1289
  msgstr "Nessun limite"
1290
1290
 
1291
1291
  #. module: account_financial_report
1292
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1292
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1293
1293
  msgid "None"
1294
1294
  msgstr "Nessuna"
1295
1295
 
@@ -1258,7 +1258,7 @@ msgid "No limit"
1258
1258
  msgstr ""
1259
1259
 
1260
1260
  #. module: account_financial_report
1261
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1261
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1262
1262
  msgid "None"
1263
1263
  msgstr ""
1264
1264
 
@@ -1276,7 +1276,7 @@ msgid "No limit"
1276
1276
  msgstr "geen limiet"
1277
1277
 
1278
1278
  #. module: account_financial_report
1279
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1279
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1280
1280
  msgid "None"
1281
1281
  msgstr "Geen"
1282
1282
 
@@ -1264,7 +1264,7 @@ msgid "No limit"
1264
1264
  msgstr ""
1265
1265
 
1266
1266
  #. module: account_financial_report
1267
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1267
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1268
1268
  msgid "None"
1269
1269
  msgstr ""
1270
1270
 
@@ -1279,7 +1279,7 @@ msgid "No limit"
1279
1279
  msgstr "Sem limite"
1280
1280
 
1281
1281
  #. module: account_financial_report
1282
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1282
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1283
1283
  msgid "None"
1284
1284
  msgstr "Nenhum"
1285
1285
 
@@ -1273,7 +1273,7 @@ msgid "No limit"
1273
1273
  msgstr "Sem limite"
1274
1274
 
1275
1275
  #. module: account_financial_report
1276
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1276
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1277
1277
  msgid "None"
1278
1278
  msgstr "N??o"
1279
1279
 
@@ -1273,7 +1273,7 @@ msgid "No limit"
1273
1273
  msgstr "Nicio limit??"
1274
1274
 
1275
1275
  #. module: account_financial_report
1276
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1276
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1277
1277
  msgid "None"
1278
1278
  msgstr ""
1279
1279
 
@@ -1282,7 +1282,7 @@ msgid "No limit"
1282
1282
  msgstr "Utan begränsning"
1283
1283
 
1284
1284
  #. module: account_financial_report
1285
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1285
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1286
1286
  msgid "None"
1287
1287
  msgstr "Ingen"
1288
1288
 
@@ -1268,7 +1268,7 @@ msgid "No limit"
1268
1268
  msgstr "Limitsiz"
1269
1269
 
1270
1270
  #. module: account_financial_report
1271
- #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__
1271
+ #: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
1272
1272
  msgid "None"
1273
1273
  msgstr "Hiçbiri"
1274
1274
 
@@ -181,8 +181,7 @@ class GeneralLedgerReport(models.AbstractModel):
181
181
  acc_id = gl["account_id"][0]
182
182
  data[acc_id] = self._prepare_gen_ld_data_item(gl)
183
183
  data[acc_id]["id"] = acc_id
184
- if grouped_by:
185
- data[acc_id][grouped_by] = False
184
+ data[acc_id][grouped_by] = False
186
185
  method = "_prepare_gen_ld_data_group_%s" % grouped_by
187
186
  if not hasattr(self, method):
188
187
  return data
@@ -491,15 +490,13 @@ class GeneralLedgerReport(models.AbstractModel):
491
490
  gen_ld_data[acc_id] = self._initialize_data(foreign_currency)
492
491
  gen_ld_data[acc_id]["id"] = acc_id
493
492
  gen_ld_data[acc_id]["mame"] = move_line["account_id"][1]
494
- if grouped_by:
495
- gen_ld_data[acc_id][grouped_by] = False
493
+ gen_ld_data[acc_id][grouped_by] = False
496
494
  if acc_id in acc_prt_account_ids:
497
495
  item_ids = self._prepare_ml_items(move_line, grouped_by)
498
496
  for item in item_ids:
499
497
  item_id = item["id"]
500
498
  if item_id not in gen_ld_data[acc_id]:
501
- if grouped_by:
502
- gen_ld_data[acc_id][grouped_by] = True
499
+ gen_ld_data[acc_id][grouped_by] = True
503
500
  gen_ld_data[acc_id][item_id] = self._initialize_data(
504
501
  foreign_currency
505
502
  )
@@ -650,7 +647,7 @@ class GeneralLedgerReport(models.AbstractModel):
650
647
  "grouped_by": grouped_by,
651
648
  }
652
649
  )
653
- if grouped_by and not gen_led_data[acc_id][grouped_by]:
650
+ if not gen_led_data[acc_id][grouped_by]:
654
651
  account = self._create_account(
655
652
  account, acc_id, gen_led_data, rec_after_date_to_ids
656
653
  )
@@ -664,37 +661,23 @@ class GeneralLedgerReport(models.AbstractModel):
664
661
  ):
665
662
  continue
666
663
  else:
667
- if grouped_by:
668
- account, list_grouped = self._get_list_grouped_item(
669
- gen_led_data[acc_id],
670
- account,
671
- rec_after_date_to_ids,
672
- hide_account_at_0,
673
- rounding,
674
- )
675
- account.update({"list_grouped": list_grouped})
676
- if (
677
- hide_account_at_0
678
- and float_is_zero(
679
- gen_led_data[acc_id]["init_bal"]["balance"],
680
- precision_rounding=rounding,
681
- )
682
- and account["list_grouped"] == []
683
- ):
684
- continue
685
- else:
686
- account = self._create_account_not_show_item(
687
- account, acc_id, gen_led_data, rec_after_date_to_ids, grouped_by
664
+ account, list_grouped = self._get_list_grouped_item(
665
+ gen_led_data[acc_id],
666
+ account,
667
+ rec_after_date_to_ids,
668
+ hide_account_at_0,
669
+ rounding,
670
+ )
671
+ account.update({"list_grouped": list_grouped})
672
+ if (
673
+ hide_account_at_0
674
+ and float_is_zero(
675
+ gen_led_data[acc_id]["init_bal"]["balance"],
676
+ precision_rounding=rounding,
688
677
  )
689
- if (
690
- hide_account_at_0
691
- and float_is_zero(
692
- gen_led_data[acc_id]["init_bal"]["balance"],
693
- precision_rounding=rounding,
694
- )
695
- and account["move_lines"] == []
696
- ):
697
- continue
678
+ and account["list_grouped"] == []
679
+ ):
680
+ continue
698
681
  general_ledger += [account]
699
682
  return general_ledger
700
683
 
@@ -743,7 +726,7 @@ class GeneralLedgerReport(models.AbstractModel):
743
726
  centralized_ml = {}
744
727
  if isinstance(date_to, str):
745
728
  date_to = datetime.datetime.strptime(date_to, "%Y-%m-%d").date()
746
- if grouped_by and account[grouped_by]:
729
+ if account[grouped_by]:
747
730
  for item in account["list_grouped"]:
748
731
  for move_line in item["move_lines"]:
749
732
  centralized_ml = self._calculate_centralization(
@@ -834,7 +817,7 @@ class GeneralLedgerReport(models.AbstractModel):
834
817
  gen_ld_data[account["id"]]["init_bal"]["balance"],
835
818
  rec_after_date_to_ids,
836
819
  )
837
- if grouped_by and account[grouped_by]:
820
+ if account[grouped_by]:
838
821
  account[grouped_by] = False
839
822
  del account["list_grouped"]
840
823
  general_ledger = sorted(general_ledger, key=lambda k: k["code"])
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:b0850fb4f896eac1e1e60fa52a00955716208ec033c4b34f889df4333a5af3b5
375
+ !! source digest: sha256:9a1c3ae053c7fc73842b096646fcf93f131762e400d8f9a1b7695c75bc0acdf5
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
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/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>
378
378
  <p>This module adds a set of financial reports. They are accessible under
@@ -76,8 +76,9 @@ class GeneralLedgerReportWizard(models.TransientModel):
76
76
  help="Ending account in a range",
77
77
  )
78
78
  grouped_by = fields.Selection(
79
- selection=[("", "None"), ("partners", "Partners"), ("taxes", "Taxes")],
79
+ selection=[("none", "None"), ("partners", "Partners"), ("taxes", "Taxes")],
80
80
  default="partners",
81
+ required=True,
81
82
  )
82
83
  show_cost_center = fields.Boolean(
83
84
  string="Show Analytic Account",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_financial_report
3
- Version: 17.0.1.6.11
3
+ Version: 17.0.1.6.12.2
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
@@ -29,7 +29,7 @@ Account Financial Reports
29
29
  !! This file is generated by oca-gen-addon-readme !!
30
30
  !! changes will be overwritten. !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
- !! source digest: sha256:b0850fb4f896eac1e1e60fa52a00955716208ec033c4b34f889df4333a5af3b5
32
+ !! source digest: sha256:9a1c3ae053c7fc73842b096646fcf93f131762e400d8f9a1b7695c75bc0acdf5
33
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
34
 
35
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,28 +1,28 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=VZkAn3G87RBTAD_zPyIQPEYlOkGVUNsPjzfs2XiPHPg,7053
1
+ odoo/addons/account_financial_report/README.rst,sha256=-HWZGZpmiV_WegdRPjCy_pGuEjuZLjj2sbEy_Yfo_KU,7053
2
2
  odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
3
- odoo/addons/account_financial_report/__manifest__.py,sha256=CKKIZUe5cETp3JYn0qHX3iT6wWFd_KD0LtvBbhf2yG4,2062
3
+ odoo/addons/account_financial_report/__manifest__.py,sha256=AoQHpXeOzMh9kHs8oMbaQQNQp_8hA9YZ8WY15WgMk1Q,2062
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=zWjSZ5Iba8EvJs2JcpwAAVB-DmTisWnFOVIPBaacUqI,83333
7
- odoo/addons/account_financial_report/i18n/ar.po,sha256=ynz-AmKlXF5tWwbAHPyRObvx5RNdjyJjkERQGUpK02c,91584
8
- odoo/addons/account_financial_report/i18n/ca.po,sha256=m4LO6EO2l5dqaw1z_9Ibph4eU6Grg8YTkV8nPV2UCk0,88411
9
- odoo/addons/account_financial_report/i18n/de.po,sha256=sk0PM2SY--8wo79yq2WwVoMhLfoTSTciOtiE0o7K7ZQ,94271
10
- odoo/addons/account_financial_report/i18n/es.po,sha256=KNDsyp7drREKtUtBwli1HKbjven3xF81w9-zCWTUAD0,90868
11
- odoo/addons/account_financial_report/i18n/es_AR.po,sha256=E7f4nB6uvGnXWOYRYY6EAlPEPfBt701ZzzkVDNHaQZ0,91237
12
- odoo/addons/account_financial_report/i18n/es_MX.po,sha256=7bAB5c9PPteK5MyGIDfE5u8xnEx3T33Z-W5XipFXboc,81948
13
- odoo/addons/account_financial_report/i18n/fr.po,sha256=I0-SnbIwWD8tAK4tJx3hZs59pKzlQMMeqA0BuR3Ikv8,87730
14
- odoo/addons/account_financial_report/i18n/fr_CH.po,sha256=i8eU5jGr5Cum4oB1hPcSJgTO2uxq8tIe5AbL2um-UpI,86701
15
- odoo/addons/account_financial_report/i18n/hr.po,sha256=bhVgp177kCM4rYqJzRnIWCkxVqsXbno3PscdDzL5F5Y,85278
16
- odoo/addons/account_financial_report/i18n/hr_HR.po,sha256=7My1vI4pruF4djqpnEVvcifwKB9zhClpAFgb8yH7wPk,82800
17
- odoo/addons/account_financial_report/i18n/it.po,sha256=chpwDY12vZ1ZvXafsYCwLWFnd7OhWypz2zmIFSAvazg,92962
18
- odoo/addons/account_financial_report/i18n/ja.po,sha256=lZvnWL-FLAe8KdNq3gfJIypZvXSGiH4vRy0leCbwDHA,82561
19
- odoo/addons/account_financial_report/i18n/nl.po,sha256=d4rN2YW6SxL29RuvYwdhol4VT6bBWciD4uDxnKBJqWo,94935
20
- odoo/addons/account_financial_report/i18n/nl_NL.po,sha256=TpkZhW7pFUClmfYPHY5a_RLzSHAznzF94YX-TYwFV-g,82466
21
- odoo/addons/account_financial_report/i18n/pt.po,sha256=GIcecY-yoJDDUjwNr-iw9QHofhdETpwg3bI2fkNAS_w,90813
22
- odoo/addons/account_financial_report/i18n/pt_BR.po,sha256=wqKF34dByaQwf4111m7JpNkOxfLy6lIMdQBClMLjo_A,98115
23
- odoo/addons/account_financial_report/i18n/ro.po,sha256=3P0ZUdscPTfyTMg9z3ckRJJvGeSkX_gt9KvJZjxLDzE,90296
24
- odoo/addons/account_financial_report/i18n/sv.po,sha256=HvtFVLA6nDobY_D2h-0q-icNxOtv4wB2C3EYOjp_tuU,88844
25
- odoo/addons/account_financial_report/i18n/tr.po,sha256=PTxrB5ejHHx2lpUjPotpftjcrIiOMufMvyrTmFDxA0s,85803
6
+ odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=23tA4S4VICIZ-dSjLlUUDkuUEfECh8D9qHVJhD-nBHY,83337
7
+ odoo/addons/account_financial_report/i18n/ar.po,sha256=qimQyvMKcAaTwoX761Yf6OXXzOdr16G_-GPO-qwu5wE,91588
8
+ odoo/addons/account_financial_report/i18n/ca.po,sha256=QICB31OUV8Ox0gYsRnRpQTuL6ALMyIGd4wnAnC0pt7Y,88415
9
+ odoo/addons/account_financial_report/i18n/de.po,sha256=YWC2taDWfIt1wiwg8VVpa5JczfeeF1m8ZT0reo9BLDE,94275
10
+ odoo/addons/account_financial_report/i18n/es.po,sha256=_Trq0z52CNy9LAMbCHdI8guiQ1ph8Ou9_7RzT_5MXco,91184
11
+ odoo/addons/account_financial_report/i18n/es_AR.po,sha256=IgR3RwAT9EGibxfan-Eaj_eA9BydksgdZwIjY8Z8BLk,91241
12
+ odoo/addons/account_financial_report/i18n/es_MX.po,sha256=poJgVu78nGrtz0NBs8Tztu6wR6Jbi9_OrgKI9aKb7sE,81952
13
+ odoo/addons/account_financial_report/i18n/fr.po,sha256=HdE4TCR1SmNGgbzOpPGxCVW_ZcoCbPuzoiuAw3j0FH8,87731
14
+ odoo/addons/account_financial_report/i18n/fr_CH.po,sha256=-0NdDunHgQFOmpsbkuXLCLtkYV2dPxXsUyKB0JEaxUM,86702
15
+ odoo/addons/account_financial_report/i18n/hr.po,sha256=GNimgJC40j4TRl4XBoD38md_2dhc2xxfSEoG9oQXbbc,85282
16
+ odoo/addons/account_financial_report/i18n/hr_HR.po,sha256=5tsY0geFY2OqS0K8kKSrU51q9dVq7UVT_tjK7GL9vm8,82804
17
+ odoo/addons/account_financial_report/i18n/it.po,sha256=5PstzVf_IKm69dyrYMBCPlThzrL7YyaLmFr_RULhR-Q,92966
18
+ odoo/addons/account_financial_report/i18n/ja.po,sha256=11ISUmhCW6lA_eHGU9HJBF1QJwNcqSfY1QZu1_csccI,82565
19
+ odoo/addons/account_financial_report/i18n/nl.po,sha256=g07EQlTfZAIANwWyqPofA71T3EZh_Yk_YvXmUDlwStc,94939
20
+ odoo/addons/account_financial_report/i18n/nl_NL.po,sha256=YRIRglMOguJ6oOEPqo2VY01lFJMmzP-1-LcDgYGQMN4,82470
21
+ odoo/addons/account_financial_report/i18n/pt.po,sha256=OGSsiXITqaUk-68i5YN_V84KT0feUf49ihuHeGWDx1Q,90817
22
+ odoo/addons/account_financial_report/i18n/pt_BR.po,sha256=Yomd1nJVSRTst09TyBnFevUzJJEeU49ZQxUYJ448cV8,98119
23
+ odoo/addons/account_financial_report/i18n/ro.po,sha256=Uh9nNvpS7IBigdBPBxvapeRHLZSho1Jg4HnQNAdm_qo,90300
24
+ odoo/addons/account_financial_report/i18n/sv.po,sha256=O1K2vSIxl5pfAFMi6LzTLFcZf0mLUjkbu_vX5mtESq8,88848
25
+ odoo/addons/account_financial_report/i18n/tr.po,sha256=U4EPpVoU7pvSDgcMtgo_Sna91ZEXo9pcmCMzhszt5BM,85807
26
26
  odoo/addons/account_financial_report/models/__init__.py,sha256=KCE4mRzM1HSu4Mjg3thvCgBOaEyw5w8VHB--Du-wXyE,195
27
27
  odoo/addons/account_financial_report/models/account.py,sha256=OCWn264dEtfxbV0rVKR1dqz38Jy3SoS_9XZ0ChK_7eA,422
28
28
  odoo/addons/account_financial_report/models/account_age_report_configuration.py,sha256=U5Xr0uAD696TohTCkKsY3HZDYAfVrlocTIGYzr2JlkA,1664
@@ -40,7 +40,7 @@ odoo/addons/account_financial_report/report/abstract_report.py,sha256=54-xtL4smX
40
40
  odoo/addons/account_financial_report/report/abstract_report_xlsx.py,sha256=QILq6AACBxyC8Mnyz9Jj9OAEn2NySRzQMndxCwfxG2M,29912
41
41
  odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=gyCJ4lEROzfDjsgFi7fGan2XTxLmDhKOj5ta9qXVXtk,19979
42
42
  odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py,sha256=DzOfIfKJ7a6lExmjACLN0JI0t1nEtsCY-N0HHbv_5Nw,14276
43
- odoo/addons/account_financial_report/report/general_ledger.py,sha256=uJitfK7NNMA2EAKnBTgq0ofpnlATFNiC3uQ_wfhNYIc,38204
43
+ odoo/addons/account_financial_report/report/general_ledger.py,sha256=O4gfml1d5u7LUhb_-8w2MD75lMFwn5Pl6K9NOq08jqk,37374
44
44
  odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=qXDm9V1XyLtwUYp_4i-p4mCG6ZEuMwcrFLuPhu1Exhw,17426
45
45
  odoo/addons/account_financial_report/report/journal_ledger.py,sha256=7pVowtuVNyxE4AOmCkfQrKllziVJdxS3mJ0Tfu8S_W0,15404
46
46
  odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=kY6c-56HHauIyHAc7q5iNerz0gJQrp4ahI4OB1XeCT8,10060
@@ -60,7 +60,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=2WeL
60
60
  odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=S1VQLLwLeaOeAMYGqtoOqHUaZVrvDUVE4Z-0-SRjSGQ,1134
61
61
  odoo/addons/account_financial_report/security/security.xml,sha256=YQCXbOuTGHCWGYwGnXMie_0tnWG5zYJGdoeey3o1xaw,382
62
62
  odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
63
- odoo/addons/account_financial_report/static/description/index.html,sha256=MfS2ujyOKNlT8sN5XExCse61_gHl9T1KcqkfT6mAepU,19960
63
+ odoo/addons/account_financial_report/static/description/index.html,sha256=9jtdHNyGg6fVyTAdUPX6ZwuupPk43XmVpFhZ3ou-QMw,19960
64
64
  odoo/addons/account_financial_report/static/src/css/report.css,sha256=Cu4VmyY5tVXIddaojFDsg0Ute2qPCvKbLiimak_X9ik,2361
65
65
  odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
66
66
  odoo/addons/account_financial_report/static/src/js/report.esm.js,sha256=He488vLRaLv6IIuVaNSnNl8kJMIwJmMIv7GkmXyPJZs,2475
@@ -87,7 +87,7 @@ odoo/addons/account_financial_report/wizard/__init__.py,sha256=5lngmjx-Vz-5k9nPI
87
87
  odoo/addons/account_financial_report/wizard/abstract_wizard.py,sha256=RLvXJzFA-75Ui-AokPwzZ9yGWfuMQvVPXhhEgQMH26E,1584
88
88
  odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py,sha256=_58v1wBa63Au5tZNJ9nEgfLPk0uSz79h8a89zJmm-DI,5936
89
89
  odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml,sha256=P4y5oItOq_1xovOhpjCU-9JzIvT2HH00tXWYFmMhnMo,3996
90
- odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=9fajZwOhT0gqeP-2vXRoP2Vcun_FoAhF4Lsg4pvowyw,12448
90
+ odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=t0V8RlqUssadrgqKDz49RHPtBnFiKtKrWUniu6GPErU,12475
91
91
  odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml,sha256=YGvv15hxVNX5LX4m5boS_jbFxPNxyk26nqoz2pWaUuE,7557
92
92
  odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py,sha256=CA44N2yVdZbAttw3JUK6hueMOQc__wY5Abc2hDW49_0,5546
93
93
  odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml,sha256=s3go3x-VSCcr1xNAE3Lzj1FnymyS76hxzazuWtNc91k,2957
@@ -97,7 +97,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=YdJr9
97
97
  odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=io5d8plYx9YktR79IJMoENQU1CV1HPwdBVamAN4zt7Y,7277
98
98
  odoo/addons/account_financial_report/wizard/vat_report_wizard.py,sha256=pJATDNWLcEWvctby5e5yvv4Kz7YDfCTi7YZP7slA8a4,3424
99
99
  odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml,sha256=T3P81O4csDGP7Jmf7eAtmbIIldja3IoXbBmweMMt8vA,2330
100
- odoo_addon_account_financial_report-17.0.1.6.11.dist-info/METADATA,sha256=oGhitsuHO6epIgPzKriNG9nGCXln60CZgdzlexw0NI8,7768
101
- odoo_addon_account_financial_report-17.0.1.6.11.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
102
- odoo_addon_account_financial_report-17.0.1.6.11.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
- odoo_addon_account_financial_report-17.0.1.6.11.dist-info/RECORD,,
100
+ odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info/METADATA,sha256=k5FtXvkyF0c7dtVqo82hdE3FctrkL2riq_sRfXB9IxM,7770
101
+ odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
102
+ odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
+ odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: Whool 1.2
2
+ Generator: Whool 1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5