odoo-addon-account-financial-report 16.0.1.15.0__py3-none-any.whl → 16.0.1.15.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.
- odoo/addons/account_financial_report/README.rst +1 -1
- odoo/addons/account_financial_report/__manifest__.py +1 -1
- odoo/addons/account_financial_report/i18n/account_financial_report.pot +1 -1
- odoo/addons/account_financial_report/report/general_ledger.py +24 -42
- odoo/addons/account_financial_report/static/description/index.html +1 -1
- odoo/addons/account_financial_report/wizard/general_ledger_wizard.py +2 -1
- {odoo_addon_account_financial_report-16.0.1.15.0.dist-info → odoo_addon_account_financial_report-16.0.1.15.2.dist-info}/METADATA +2 -2
- {odoo_addon_account_financial_report-16.0.1.15.0.dist-info → odoo_addon_account_financial_report-16.0.1.15.2.dist-info}/RECORD +10 -10
- {odoo_addon_account_financial_report-16.0.1.15.0.dist-info → odoo_addon_account_financial_report-16.0.1.15.2.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-16.0.1.15.0.dist-info → odoo_addon_account_financial_report-16.0.1.15.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:
|
|
14
|
+
!! source digest: sha256:14f61f914c003a9be1f6858481e6d0ac51c7e0c774327146136252cc7122b514
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1290,7 +1290,7 @@ msgid "No limit"
|
|
|
1290
1290
|
msgstr ""
|
|
1291
1291
|
|
|
1292
1292
|
#. module: account_financial_report
|
|
1293
|
-
#: model:ir.model.fields.selection,name:account_financial_report.
|
|
1293
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__none
|
|
1294
1294
|
msgid "None"
|
|
1295
1295
|
msgstr ""
|
|
1296
1296
|
|
|
@@ -180,8 +180,7 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
180
180
|
acc_id = gl["account_id"][0]
|
|
181
181
|
data[acc_id] = self._prepare_gen_ld_data_item(gl)
|
|
182
182
|
data[acc_id]["id"] = acc_id
|
|
183
|
-
|
|
184
|
-
data[acc_id][grouped_by] = False
|
|
183
|
+
data[acc_id][grouped_by] = False
|
|
185
184
|
method = "_prepare_gen_ld_data_group_%s" % grouped_by
|
|
186
185
|
if not hasattr(self, method):
|
|
187
186
|
return data
|
|
@@ -492,15 +491,13 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
492
491
|
gen_ld_data[acc_id] = self._initialize_data(foreign_currency)
|
|
493
492
|
gen_ld_data[acc_id]["id"] = acc_id
|
|
494
493
|
gen_ld_data[acc_id]["mame"] = move_line["account_id"][1]
|
|
495
|
-
|
|
496
|
-
gen_ld_data[acc_id][grouped_by] = False
|
|
494
|
+
gen_ld_data[acc_id][grouped_by] = False
|
|
497
495
|
if acc_id in acc_prt_account_ids:
|
|
498
496
|
item_ids = self._prepare_ml_items(move_line, grouped_by)
|
|
499
497
|
for item in item_ids:
|
|
500
498
|
item_id = item["id"]
|
|
501
499
|
if item_id not in gen_ld_data[acc_id]:
|
|
502
|
-
|
|
503
|
-
gen_ld_data[acc_id][grouped_by] = True
|
|
500
|
+
gen_ld_data[acc_id][grouped_by] = True
|
|
504
501
|
gen_ld_data[acc_id][item_id] = self._initialize_data(
|
|
505
502
|
foreign_currency
|
|
506
503
|
)
|
|
@@ -651,7 +648,7 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
651
648
|
"grouped_by": grouped_by,
|
|
652
649
|
}
|
|
653
650
|
)
|
|
654
|
-
if
|
|
651
|
+
if not gen_led_data[acc_id][grouped_by]:
|
|
655
652
|
account = self._create_account(
|
|
656
653
|
account, acc_id, gen_led_data, rec_after_date_to_ids
|
|
657
654
|
)
|
|
@@ -665,37 +662,23 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
665
662
|
):
|
|
666
663
|
continue
|
|
667
664
|
else:
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
precision_rounding=rounding,
|
|
682
|
-
)
|
|
683
|
-
and account["list_grouped"] == []
|
|
684
|
-
):
|
|
685
|
-
continue
|
|
686
|
-
else:
|
|
687
|
-
account = self._create_account_not_show_item(
|
|
688
|
-
account, acc_id, gen_led_data, rec_after_date_to_ids, grouped_by
|
|
665
|
+
account, list_grouped = self._get_list_grouped_item(
|
|
666
|
+
gen_led_data[acc_id],
|
|
667
|
+
account,
|
|
668
|
+
rec_after_date_to_ids,
|
|
669
|
+
hide_account_at_0,
|
|
670
|
+
rounding,
|
|
671
|
+
)
|
|
672
|
+
account.update({"list_grouped": list_grouped})
|
|
673
|
+
if (
|
|
674
|
+
hide_account_at_0
|
|
675
|
+
and float_is_zero(
|
|
676
|
+
gen_led_data[acc_id]["init_bal"]["balance"],
|
|
677
|
+
precision_rounding=rounding,
|
|
689
678
|
)
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
gen_led_data[acc_id]["init_bal"]["balance"],
|
|
694
|
-
precision_rounding=rounding,
|
|
695
|
-
)
|
|
696
|
-
and account["move_lines"] == []
|
|
697
|
-
):
|
|
698
|
-
continue
|
|
679
|
+
and account["list_grouped"] == []
|
|
680
|
+
):
|
|
681
|
+
continue
|
|
699
682
|
general_ledger += [account]
|
|
700
683
|
return general_ledger
|
|
701
684
|
|
|
@@ -744,7 +727,7 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
744
727
|
centralized_ml = {}
|
|
745
728
|
if isinstance(date_to, str):
|
|
746
729
|
date_to = datetime.datetime.strptime(date_to, "%Y-%m-%d").date()
|
|
747
|
-
if
|
|
730
|
+
if account[grouped_by]:
|
|
748
731
|
for item in account["list_grouped"]:
|
|
749
732
|
for move_line in item["move_lines"]:
|
|
750
733
|
centralized_ml = self._calculate_centralization(
|
|
@@ -835,7 +818,7 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
835
818
|
gen_ld_data[account["id"]]["init_bal"]["balance"],
|
|
836
819
|
rec_after_date_to_ids,
|
|
837
820
|
)
|
|
838
|
-
if
|
|
821
|
+
if account[grouped_by]:
|
|
839
822
|
account[grouped_by] = False
|
|
840
823
|
del account["list_grouped"]
|
|
841
824
|
general_ledger = sorted(general_ledger, key=lambda k: k["code"])
|
|
@@ -844,9 +827,8 @@ class GeneralLedgerReport(models.AbstractModel):
|
|
|
844
827
|
for gl_item in general_ledger:
|
|
845
828
|
if not foreign_currency:
|
|
846
829
|
continue
|
|
847
|
-
if (
|
|
848
|
-
|
|
849
|
-
or gl_item["currency_id"] != company.currency_id
|
|
830
|
+
if not gl_item["currency_id"] or (
|
|
831
|
+
gl_item["currency_id"] != company.currency_id.id
|
|
850
832
|
):
|
|
851
833
|
gl_item["fin_bal"]["bal_curr"] -= gl_item["init_bal"]["bal_curr"]
|
|
852
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:
|
|
375
|
+
!! source digest: sha256:14f61f914c003a9be1f6858481e6d0ac51c7e0c774327146136252cc7122b514
|
|
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/16.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-16-0/account-financial-reporting-16-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&target_branch=16.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
|
|
@@ -74,8 +74,9 @@ class GeneralLedgerReportWizard(models.TransientModel):
|
|
|
74
74
|
help="Ending account in a range",
|
|
75
75
|
)
|
|
76
76
|
grouped_by = fields.Selection(
|
|
77
|
-
selection=[("", "None"), ("partners", "Partners"), ("taxes", "Taxes")],
|
|
77
|
+
selection=[("none", "None"), ("partners", "Partners"), ("taxes", "Taxes")],
|
|
78
78
|
default="partners",
|
|
79
|
+
required=True,
|
|
79
80
|
)
|
|
80
81
|
show_cost_center = fields.Boolean(
|
|
81
82
|
string="Show Analytic Account",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-account_financial_report
|
|
3
|
-
Version: 16.0.1.15.
|
|
3
|
+
Version: 16.0.1.15.2
|
|
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,Odoo Community Association (OCA)
|
|
@@ -28,7 +28,7 @@ Account Financial Reports
|
|
|
28
28
|
!! This file is generated by oca-gen-addon-readme !!
|
|
29
29
|
!! changes will be overwritten. !!
|
|
30
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
|
-
!! source digest: sha256:
|
|
31
|
+
!! source digest: sha256:14f61f914c003a9be1f6858481e6d0ac51c7e0c774327146136252cc7122b514
|
|
32
32
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
33
33
|
|
|
34
34
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
odoo/addons/account_financial_report/README.rst,sha256=
|
|
1
|
+
odoo/addons/account_financial_report/README.rst,sha256=VZtEfqlDpApiBtsB1546GSRSyg5RDofaegWhwB-K0uc,7137
|
|
2
2
|
odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
|
|
3
|
-
odoo/addons/account_financial_report/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/account_financial_report/__manifest__.py,sha256=I-3f7WCMZYGmfXEdmbNiCImXoMd-WHliIHW7ZggZ7gg,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=
|
|
6
|
+
odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=X9GnCQdhXy9N5UxeE5t2njoTnaCzXB7M1U21A_gKorc,85109
|
|
7
7
|
odoo/addons/account_financial_report/i18n/ar.po,sha256=OT0ySB13mE-0BtetaAu_wKn3l-wCiDd4RBfSP6InEv0,93021
|
|
8
8
|
odoo/addons/account_financial_report/i18n/ca.po,sha256=LzawZTICilZcw1KhoE0P65XqzrHb8HAxJqZa3m_-jTg,92106
|
|
9
9
|
odoo/addons/account_financial_report/i18n/de.po,sha256=gWICKHePn-zBzDLFbG0h8QqzjgpJ07qEy6Q24vl9Uaw,95708
|
|
@@ -41,7 +41,7 @@ odoo/addons/account_financial_report/report/abstract_report.py,sha256=54-xtL4smX
|
|
|
41
41
|
odoo/addons/account_financial_report/report/abstract_report_xlsx.py,sha256=tx3R8NNXKU6AEobYs5urvaVHNqOxXCOZTY3Rf80Ec0c,29932
|
|
42
42
|
odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=gRk0ytj2szK4zFwEQqAVo9b4Ofc-YG7yJXeZdn3GLgs,19616
|
|
43
43
|
odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py,sha256=h_z-Jw_k46SBp5tWJh8iZU83-PGmKwGDZIyFRV--FNc,14334
|
|
44
|
-
odoo/addons/account_financial_report/report/general_ledger.py,sha256=
|
|
44
|
+
odoo/addons/account_financial_report/report/general_ledger.py,sha256=KJuCm5CdrdD7Wc1ZTHcbTIDRqYO_PWmYSPoox-k1M9I,37375
|
|
45
45
|
odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=t66UFbyoes_kIPoo5xFG7__WdpPPBR8yxQMZRkMcJuE,17349
|
|
46
46
|
odoo/addons/account_financial_report/report/journal_ledger.py,sha256=7pVowtuVNyxE4AOmCkfQrKllziVJdxS3mJ0Tfu8S_W0,15404
|
|
47
47
|
odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=Pp7iDkBjSk0BqZkSPAiKI2hBHNcjKYjZoBxuL_ENz5E,10126
|
|
@@ -61,7 +61,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=-xlv
|
|
|
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=gpNJnzruXfeYskn26FqY9U04FiuTf8vgLCKEGY8PADM,422
|
|
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=
|
|
64
|
+
odoo/addons/account_financial_report/static/description/index.html,sha256=UmOzCa1ZH9JarPuvzVigao73X1TtdLullWaAYQnclK4,20247
|
|
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
|
|
@@ -88,7 +88,7 @@ odoo/addons/account_financial_report/wizard/__init__.py,sha256=5lngmjx-Vz-5k9nPI
|
|
|
88
88
|
odoo/addons/account_financial_report/wizard/abstract_wizard.py,sha256=RLvXJzFA-75Ui-AokPwzZ9yGWfuMQvVPXhhEgQMH26E,1584
|
|
89
89
|
odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard.py,sha256=3R0NZ8HV8mY_wvKH8HIvjlShlkmGR3CLfzkhQpI47GI,5926
|
|
90
90
|
odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml,sha256=P4y5oItOq_1xovOhpjCU-9JzIvT2HH00tXWYFmMhnMo,3996
|
|
91
|
-
odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=
|
|
91
|
+
odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=4MexUgdAB6lrd16WlTRnK3BHKPBMjPDzOMeAh_T-A50,12223
|
|
92
92
|
odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml,sha256=KK_bIbqbAxmYqjwFQj3KEH5givrwMQ7bMklVIMlv0YA,7915
|
|
93
93
|
odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py,sha256=CA44N2yVdZbAttw3JUK6hueMOQc__wY5Abc2hDW49_0,5546
|
|
94
94
|
odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml,sha256=s3go3x-VSCcr1xNAE3Lzj1FnymyS76hxzazuWtNc91k,2957
|
|
@@ -98,7 +98,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=ej-W_
|
|
|
98
98
|
odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=5c2fn2T-rVoj_VYbibKphXVWh78ia-m4MoZW6P1hM8A,7904
|
|
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-16.0.1.15.
|
|
102
|
-
odoo_addon_account_financial_report-16.0.1.15.
|
|
103
|
-
odoo_addon_account_financial_report-16.0.1.15.
|
|
104
|
-
odoo_addon_account_financial_report-16.0.1.15.
|
|
101
|
+
odoo_addon_account_financial_report-16.0.1.15.2.dist-info/METADATA,sha256=0FxnwMRCF65YbLbCdCrJKHUy52bTEJDz7_lCU5MOZo0,7815
|
|
102
|
+
odoo_addon_account_financial_report-16.0.1.15.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
103
|
+
odoo_addon_account_financial_report-16.0.1.15.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
104
|
+
odoo_addon_account_financial_report-16.0.1.15.2.dist-info/RECORD,,
|
|
File without changes
|