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

@@ -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:a553ccd80e02352e7263d6c22ac828bf5c217d437228b27a5358c2a1e7835f5a
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.10",
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
 
@@ -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"])
@@ -845,7 +828,7 @@ class GeneralLedgerReport(models.AbstractModel):
845
828
  continue
846
829
  if (
847
830
  not gl_item["currency_id"]
848
- or gl_item["currency_id"] != company.currency_id
831
+ or gl_item["currency_id"] != company.currency_id.id
849
832
  ):
850
833
  gl_item["fin_bal"]["bal_curr"] -= gl_item["init_bal"]["bal_curr"]
851
834
  gl_item["init_bal"]["bal_curr"] = 0
@@ -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:a553ccd80e02352e7263d6c22ac828bf5c217d437228b27a5358c2a1e7835f5a
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.10.1
3
+ Version: 17.0.1.6.12
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
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python
14
14
  Classifier: Framework :: Odoo
15
15
  Classifier: Framework :: Odoo :: 17.0
16
16
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
17
+ Description-Content-Type: text/x-rst
17
18
 
18
19
  .. image:: https://odoo-community.org/readme-banner-image
19
20
  :target: https://odoo-community.org/get-involved?utm_source=readme
@@ -28,7 +29,7 @@ Account Financial Reports
28
29
  !! This file is generated by oca-gen-addon-readme !!
29
30
  !! changes will be overwritten. !!
30
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
- !! source digest: sha256:a553ccd80e02352e7263d6c22ac828bf5c217d437228b27a5358c2a1e7835f5a
32
+ !! source digest: sha256:9a1c3ae053c7fc73842b096646fcf93f131762e400d8f9a1b7695c75bc0acdf5
32
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
33
34
 
34
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,9 +1,9 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=Thjpxghm8ey9Dq3QvHwqYP0UoDaJ3TQBdiFEpdzPM1c,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=QUtoavrxgUtlmQXYLOIhdZOc15_xwpTPi76tQJxtRCs,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
6
+ odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=23tA4S4VICIZ-dSjLlUUDkuUEfECh8D9qHVJhD-nBHY,83337
7
7
  odoo/addons/account_financial_report/i18n/ar.po,sha256=ynz-AmKlXF5tWwbAHPyRObvx5RNdjyJjkERQGUpK02c,91584
8
8
  odoo/addons/account_financial_report/i18n/ca.po,sha256=m4LO6EO2l5dqaw1z_9Ibph4eU6Grg8YTkV8nPV2UCk0,88411
9
9
  odoo/addons/account_financial_report/i18n/de.po,sha256=sk0PM2SY--8wo79yq2WwVoMhLfoTSTciOtiE0o7K7ZQ,94271
@@ -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=HoT57umaM5gVDMu8cf3cdKwkIFJ_tggsPF_016kdca4,38201
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=IW-25Ihbv1zEVpfqShes-EdElC3xngnu5P3LleDxZ74,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.10.1.dist-info/METADATA,sha256=dUe3QO9VDpVyxGo1cEH3w45qxIz5MCwtyK3Dl6pJCjo,7733
101
- odoo_addon_account_financial_report-17.0.1.6.10.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
102
- odoo_addon_account_financial_report-17.0.1.6.10.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
- odoo_addon_account_financial_report-17.0.1.6.10.1.dist-info/RECORD,,
100
+ odoo_addon_account_financial_report-17.0.1.6.12.dist-info/METADATA,sha256=t_g7Xz4_VpYG891Lw0BtROel2efMvt8PxsqRlJ_3l3I,7768
101
+ odoo_addon_account_financial_report-17.0.1.6.12.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
102
+ odoo_addon_account_financial_report-17.0.1.6.12.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
+ odoo_addon_account_financial_report-17.0.1.6.12.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