odoo-addon-account-financial-report 15.0.2.10.0.2__py3-none-any.whl → 15.0.2.10.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.
- 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 +0 -1
- odoo/addons/account_financial_report/i18n/es.po +0 -1
- odoo/addons/account_financial_report/report/aged_partner_balance.py +23 -28
- odoo/addons/account_financial_report/static/description/index.html +1 -1
- odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml +0 -3
- {odoo_addon_account_financial_report-15.0.2.10.0.2.dist-info → odoo_addon_account_financial_report-15.0.2.10.1.dist-info}/METADATA +2 -2
- {odoo_addon_account_financial_report-15.0.2.10.0.2.dist-info → odoo_addon_account_financial_report-15.0.2.10.1.dist-info}/RECORD +11 -11
- {odoo_addon_account_financial_report-15.0.2.10.0.2.dist-info → odoo_addon_account_financial_report-15.0.2.10.1.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-15.0.2.10.0.2.dist-info → odoo_addon_account_financial_report-15.0.2.10.1.dist-info}/top_level.txt +0 -0
|
@@ -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:
|
|
10
|
+
!! source digest: sha256:52504775c4645f5c97db824ac73a2ae231341c3a8138e7cdbbeed4e0b43cba97
|
|
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": "15.0.2.10.
|
|
9
|
+
"version": "15.0.2.10.1",
|
|
10
10
|
"category": "Reporting",
|
|
11
11
|
"summary": "OCA Financial Reports",
|
|
12
12
|
"author": "Camptocamp SA,"
|
|
@@ -1841,7 +1841,6 @@ msgid "future"
|
|
|
1841
1841
|
msgstr ""
|
|
1842
1842
|
|
|
1843
1843
|
#. module: account_financial_report
|
|
1844
|
-
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
|
|
1845
1844
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
|
|
1846
1845
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
|
|
1847
1846
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
|
|
@@ -1877,7 +1877,6 @@ msgid "future"
|
|
|
1877
1877
|
msgstr "futuro"
|
|
1878
1878
|
|
|
1879
1879
|
#. module: account_financial_report
|
|
1880
|
-
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
|
|
1881
1880
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
|
|
1882
1881
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
|
|
1883
1882
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
|
|
@@ -71,26 +71,29 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
71
71
|
else:
|
|
72
72
|
ag_pb_data[acc_id]["older"] += residual
|
|
73
73
|
ag_pb_data[acc_id][prt_id]["older"] += residual
|
|
74
|
+
days_difference = abs((today - due_date).days)
|
|
74
75
|
for index, line in enumerate(interval_lines):
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
lower_limit = 0 if not index else interval_lines[index - 1].inferior_limit
|
|
77
|
+
next_line = interval_lines[index] if index < len(interval_lines) else None
|
|
78
|
+
interval_range = self._get_values_for_range_intervals(
|
|
79
|
+
lower_limit, next_line.inferior_limit
|
|
77
80
|
)
|
|
78
|
-
lower_limit = 0 if not index else line.inferior_limit
|
|
79
81
|
if (
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
and today > due_date
|
|
83
|
-
and today >= due_date + timedelta(days=lower_limit)
|
|
84
|
-
and today < due_date + timedelta(days=next_line.inferior_limit)
|
|
82
|
+
days_difference in interval_range
|
|
83
|
+
or days_difference == line.inferior_limit
|
|
85
84
|
):
|
|
86
85
|
ag_pb_data[acc_id][line] += residual
|
|
87
86
|
ag_pb_data[acc_id][prt_id][line] += residual
|
|
88
|
-
|
|
89
|
-
if today >= due_date + timedelta(days=line.inferior_limit):
|
|
90
|
-
ag_pb_data[acc_id][line] += residual
|
|
91
|
-
ag_pb_data[acc_id][prt_id][line] += residual
|
|
87
|
+
break
|
|
92
88
|
return ag_pb_data
|
|
93
89
|
|
|
90
|
+
def _get_values_for_range_intervals(self, num1, num2):
|
|
91
|
+
min_num = min(num1, num2)
|
|
92
|
+
max_num = max(num1, num2)
|
|
93
|
+
if abs(num2 - num1) == 1:
|
|
94
|
+
return [max_num]
|
|
95
|
+
return list(range(min_num + 1, max_num))
|
|
96
|
+
|
|
94
97
|
def _get_account_partial_reconciled(self, company_id, date_at_object):
|
|
95
98
|
domain = [("max_date", ">", date_at_object), ("company_id", "=", company_id)]
|
|
96
99
|
fields = [
|
|
@@ -276,27 +279,19 @@ class AgedPartnerBalanceReport(models.AbstractModel):
|
|
|
276
279
|
ml["120_days"] += amount
|
|
277
280
|
else:
|
|
278
281
|
ml["older"] += amount
|
|
279
|
-
|
|
282
|
+
days_difference = abs((today - due_date).days)
|
|
280
283
|
for index, interval_line in enumerate(interval_lines):
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
lower_limit = 0 if not index else interval_lines[index - 1].inferior_limit
|
|
285
|
+
next_line = interval_lines[index] if index < len(interval_lines) else None
|
|
286
|
+
interval_range = self._get_values_for_range_intervals(
|
|
287
|
+
lower_limit, next_line.inferior_limit
|
|
283
288
|
)
|
|
284
|
-
upper_limit = next_line.inferior_limit if next_line else None
|
|
285
|
-
|
|
286
289
|
if (
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
next_line
|
|
290
|
-
and today > due_date
|
|
291
|
-
and today >= due_date + timedelta(days=interval_line.inferior_limit)
|
|
292
|
-
and today < due_date + timedelta(days=upper_limit)
|
|
293
|
-
)
|
|
294
|
-
or (
|
|
295
|
-
not next_line
|
|
296
|
-
and today >= due_date + timedelta(days=interval_line.inferior_limit)
|
|
297
|
-
)
|
|
290
|
+
days_difference in interval_range
|
|
291
|
+
or days_difference == interval_line.inferior_limit
|
|
298
292
|
):
|
|
299
293
|
ml[interval_line] += amount
|
|
294
|
+
break
|
|
300
295
|
|
|
301
296
|
def _create_account_list(
|
|
302
297
|
self,
|
|
@@ -366,7 +366,7 @@ ul.auto-toc {
|
|
|
366
366
|
!! This file is generated by oca-gen-addon-readme !!
|
|
367
367
|
!! changes will be overwritten. !!
|
|
368
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
-
!! source digest: sha256:
|
|
369
|
+
!! source digest: sha256:52504775c4645f5c97db824ac73a2ae231341c3a8138e7cdbbeed4e0b43cba97
|
|
370
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
371
371
|
<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&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
372
|
<p>This module adds a set of financial reports. They are accessible under
|
|
@@ -70,19 +70,16 @@
|
|
|
70
70
|
default_focus="1"
|
|
71
71
|
class="oe_highlight"
|
|
72
72
|
/>
|
|
73
|
-
or
|
|
74
73
|
<button
|
|
75
74
|
name="button_export_pdf"
|
|
76
75
|
string="Export PDF"
|
|
77
76
|
type="object"
|
|
78
77
|
/>
|
|
79
|
-
or
|
|
80
78
|
<button
|
|
81
79
|
name="button_export_xlsx"
|
|
82
80
|
string="Export XLSX"
|
|
83
81
|
type="object"
|
|
84
82
|
/>
|
|
85
|
-
or
|
|
86
83
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
87
84
|
</footer>
|
|
88
85
|
</form>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-account-financial-report
|
|
3
|
-
Version: 15.0.2.10.
|
|
3
|
+
Version: 15.0.2.10.1
|
|
4
4
|
Summary: OCA Financial Reports
|
|
5
5
|
Home-page: https://github.com/OCA/account-financial-reporting
|
|
6
6
|
Author: Camptocamp SA,initOS GmbH,redCOR AG,ForgeFlow,Odoo Community Association (OCA)
|
|
@@ -25,7 +25,7 @@ Account Financial Reports
|
|
|
25
25
|
!! This file is generated by oca-gen-addon-readme !!
|
|
26
26
|
!! changes will be overwritten. !!
|
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
|
-
!! source digest: sha256:
|
|
28
|
+
!! source digest: sha256:52504775c4645f5c97db824ac73a2ae231341c3a8138e7cdbbeed4e0b43cba97
|
|
29
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
30
30
|
|
|
31
31
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
odoo/addons/account_financial_report/README.rst,sha256=
|
|
1
|
+
odoo/addons/account_financial_report/README.rst,sha256=Fh9HQVt18leSPylW4dclFSkd9z9xpF53z7onerr1jek,6892
|
|
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=JehpdDUSDUs8k6jAYIGNH5LK93R3n4dMkkCJytMPnSk,2311
|
|
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=bi-xts4i-PpSzOAaYfLoczpcUvrfZ7owqZXQIulB3OY,82548
|
|
7
7
|
odoo/addons/account_financial_report/i18n/ar.po,sha256=Jg3HToksI8xkW9AsqdeLGM7VzGOVb1uWvRrSClA2RZ0,90422
|
|
8
8
|
odoo/addons/account_financial_report/i18n/ca.po,sha256=9T0ZsSUlXYW_oYkjyJBU4G1IEaRZLomJMfiqoMOvXso,87256
|
|
9
9
|
odoo/addons/account_financial_report/i18n/da.po,sha256=smadDU4PrE_sQ9Xua6q_ikXXUJzGJp1G7jBPO5ikUtg,86488
|
|
10
10
|
odoo/addons/account_financial_report/i18n/de.po,sha256=YNKinypGUxY16_Q4aVdEjfeumNUjspLQezMFkokU6KI,93048
|
|
11
|
-
odoo/addons/account_financial_report/i18n/es.po,sha256=
|
|
11
|
+
odoo/addons/account_financial_report/i18n/es.po,sha256=o0izPKkZZAEHcC9a0vLAujtdcFDoTwTzUq8NdQddIJg,88057
|
|
12
12
|
odoo/addons/account_financial_report/i18n/es_AR.po,sha256=gFASGH8eMN-T6CHj6W58mTtDQlGqtlBzRxUbvc6dseQ,89948
|
|
13
13
|
odoo/addons/account_financial_report/i18n/es_MX.po,sha256=hxV6q4L7S_lgLKvUhRhsUNbucT2z8hIaopxBbKk5Ulw,81101
|
|
14
14
|
odoo/addons/account_financial_report/i18n/fr.po,sha256=oRFQ2t5qSw-BAtn0o9j3PCBsQScpXG56wdt_Tq7Kk1w,93801
|
|
@@ -38,7 +38,7 @@ odoo/addons/account_financial_report/readme/ROADMAP.rst,sha256=CK1z_cr3bdtTPHyCO
|
|
|
38
38
|
odoo/addons/account_financial_report/report/__init__.py,sha256=D-L2gAu6aAsGo9YtxVH14sulDEPHK0CEy7A2kTwewTE,618
|
|
39
39
|
odoo/addons/account_financial_report/report/abstract_report.py,sha256=EuQxVQq5NmwhyrgNiOXHGA5NfSAcE2F1wPSePyk7-cc,5965
|
|
40
40
|
odoo/addons/account_financial_report/report/abstract_report_xlsx.py,sha256=ugty0nle8yhqdxCdi6aBjxEh8vN2u2KRz9hTsrpJgT0,29911
|
|
41
|
-
odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=
|
|
41
|
+
odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=cstgoJlf94RkFPakHdReshU2j_FQg_vXDrxP9axwuOg,19538
|
|
42
42
|
odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py,sha256=h_z-Jw_k46SBp5tWJh8iZU83-PGmKwGDZIyFRV--FNc,14334
|
|
43
43
|
odoo/addons/account_financial_report/report/general_ledger.py,sha256=wRXeQsrMlaZtGbjcSDDCyN5EjGM3Wlp4CGfmWIhcQmE,35441
|
|
44
44
|
odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=EHkkVgdt2_Vpw01KjqVb6RKZBfEKWBqdsXvMBu3iRPY,15599
|
|
@@ -60,7 +60,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=RxIQ
|
|
|
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=gpNJnzruXfeYskn26FqY9U04FiuTf8vgLCKEGY8PADM,422
|
|
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=
|
|
63
|
+
odoo/addons/account_financial_report/static/description/index.html,sha256=clC_6PhdKUWDw8SYxKehN66nL-OKaYyIhFlRGhlBp_A,19668
|
|
64
64
|
odoo/addons/account_financial_report/static/src/css/report.css,sha256=y0CysZUK3afkYSHgBaMi_qmh8da3XXEZwJDjRBg6HqQ,2335
|
|
65
65
|
odoo/addons/account_financial_report/static/src/js/action_manager_report.js,sha256=g8aZkSRMgNcFzQ4f_3mmeKl7oNnoap_cDUxuyGxMT4M,1608
|
|
66
66
|
odoo/addons/account_financial_report/static/src/js/client_action.js,sha256=H21_S14A49WoZk-W1n43H3kF5PwjuTJa0ylj6kuYIoQ,1889
|
|
@@ -86,7 +86,7 @@ odoo/addons/account_financial_report/view/res_config_settings_views.xml,sha256=G
|
|
|
86
86
|
odoo/addons/account_financial_report/wizard/__init__.py,sha256=5lngmjx-Vz-5k9nPILd25_1oVKKhUHnYhjAOMgdQHPY,243
|
|
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=00Ntygmeqds8dDQus8PmlfpYbm_NP7xQ_RYr6LJeiA8,5859
|
|
89
|
-
odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml,sha256=
|
|
89
|
+
odoo/addons/account_financial_report/wizard/aged_partner_balance_wizard_view.xml,sha256=P4y5oItOq_1xovOhpjCU-9JzIvT2HH00tXWYFmMhnMo,3996
|
|
90
90
|
odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=ZilX5D6MqXZDda_8UlQ0D7cRuqdJoIwwJvDzKI3wppc,11504
|
|
91
91
|
odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml,sha256=P_0_TvjXIlyCI7zdAJhNi8RTWd6h5tGtElDoEg-339U,8356
|
|
92
92
|
odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py,sha256=CA44N2yVdZbAttw3JUK6hueMOQc__wY5Abc2hDW49_0,5546
|
|
@@ -97,7 +97,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=hFaHY
|
|
|
97
97
|
odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=7oNGPs3s8DVw3movVGe2ryRUNl1MtN7O76UH8zaFFtI,7048
|
|
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-15.0.2.10.
|
|
101
|
-
odoo_addon_account_financial_report-15.0.2.10.
|
|
102
|
-
odoo_addon_account_financial_report-15.0.2.10.
|
|
103
|
-
odoo_addon_account_financial_report-15.0.2.10.
|
|
100
|
+
odoo_addon_account_financial_report-15.0.2.10.1.dist-info/METADATA,sha256=x8uEg6bHmEXUFHJQzuPTCjGmOqdong5tz-yQmXiBsYI,7595
|
|
101
|
+
odoo_addon_account_financial_report-15.0.2.10.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
102
|
+
odoo_addon_account_financial_report-15.0.2.10.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
103
|
+
odoo_addon_account_financial_report-15.0.2.10.1.dist-info/RECORD,,
|
|
File without changes
|