odoo-addon-account-financial-report 17.0.1.2.2__py3-none-any.whl → 17.0.1.2.3__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/it.po +2 -2
- odoo/addons/account_financial_report/models/account_move_line.py +14 -13
- odoo/addons/account_financial_report/static/description/index.html +1 -1
- {odoo_addon_account_financial_report-17.0.1.2.2.dist-info → odoo_addon_account_financial_report-17.0.1.2.3.dist-info}/METADATA +2 -2
- {odoo_addon_account_financial_report-17.0.1.2.2.dist-info → odoo_addon_account_financial_report-17.0.1.2.3.dist-info}/RECORD +9 -9
- {odoo_addon_account_financial_report-17.0.1.2.2.dist-info → odoo_addon_account_financial_report-17.0.1.2.3.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-17.0.1.2.2.dist-info → odoo_addon_account_financial_report-17.0.1.2.3.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:31d7d26b863b281d8b3b14da074f1370a85a46bcd649265be5eea5b4cff114e9
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -7,7 +7,7 @@ msgstr ""
|
|
|
7
7
|
"Project-Id-Version: Odoo Server 12.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"POT-Creation-Date: 2019-06-03 12:07+0000\n"
|
|
10
|
-
"PO-Revision-Date: 2024-08-
|
|
10
|
+
"PO-Revision-Date: 2024-08-30 10:06+0000\n"
|
|
11
11
|
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
|
12
12
|
"Language-Team: \n"
|
|
13
13
|
"Language: it\n"
|
|
@@ -735,7 +735,7 @@ msgstr "Data fine"
|
|
|
735
735
|
#. module: account_financial_report
|
|
736
736
|
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__date_to
|
|
737
737
|
msgid "End date"
|
|
738
|
-
msgstr "Data
|
|
738
|
+
msgstr "Data fine"
|
|
739
739
|
|
|
740
740
|
#. module: account_financial_report
|
|
741
741
|
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_ending_cumul
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from collections import defaultdict
|
|
4
4
|
|
|
5
5
|
from odoo import api, fields, models
|
|
6
|
+
from odoo.fields import Command
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class AccountMoveLine(models.Model):
|
|
@@ -15,25 +16,25 @@ class AccountMoveLine(models.Model):
|
|
|
15
16
|
@api.depends("analytic_distribution")
|
|
16
17
|
def _compute_analytic_account_ids(self):
|
|
17
18
|
# Prefetch all involved analytic accounts
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
batch_by_analytic_account = defaultdict(lambda: self.env["account.move.line"])
|
|
20
|
+
for record in self.filtered("analytic_distribution"):
|
|
21
|
+
# NB: ``analytic_distribution`` is a JSON field where keys can be either
|
|
22
|
+
# 'account.id' or 'account.id,account.id'
|
|
23
|
+
# Eg: https://github.com/odoo/odoo/blob/8479b4e/addons/sale/models/account_move_line.py#L158
|
|
24
|
+
for key in record.analytic_distribution:
|
|
25
|
+
for account_id in map(int, key.split(",")):
|
|
26
|
+
batch_by_analytic_account[account_id] += record
|
|
23
27
|
existing_account_ids = set(
|
|
24
28
|
self.env["account.analytic.account"]
|
|
25
|
-
.browse(
|
|
29
|
+
.browse(batch_by_analytic_account)
|
|
26
30
|
.exists()
|
|
27
31
|
.ids
|
|
28
32
|
)
|
|
29
33
|
# Store them
|
|
30
|
-
self.analytic_account_ids =
|
|
31
|
-
for account_id,
|
|
32
|
-
if account_id
|
|
33
|
-
|
|
34
|
-
self.browse(record_ids).analytic_account_ids = [
|
|
35
|
-
fields.Command.link(account_id)
|
|
36
|
-
]
|
|
34
|
+
self.analytic_account_ids = [Command.clear()]
|
|
35
|
+
for account_id, records in batch_by_analytic_account.items():
|
|
36
|
+
if account_id in existing_account_ids:
|
|
37
|
+
records.analytic_account_ids = [Command.link(account_id)]
|
|
37
38
|
|
|
38
39
|
def init(self):
|
|
39
40
|
"""
|
|
@@ -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:
|
|
370
|
+
!! source digest: sha256:31d7d26b863b281d8b3b14da074f1370a85a46bcd649265be5eea5b4cff114e9
|
|
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/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&target_branch=17.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: 17.0.1.2.
|
|
3
|
+
Version: 17.0.1.2.3
|
|
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
|
|
@@ -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:
|
|
27
|
+
!! source digest: sha256:31d7d26b863b281d8b3b14da074f1370a85a46bcd649265be5eea5b4cff114e9
|
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
29
29
|
|
|
30
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/account_financial_report/README.rst,sha256=
|
|
1
|
+
odoo/addons/account_financial_report/README.rst,sha256=AJnAVyh7-vN2e6OGSE3sNEZw8dA46DSFv3GFFfAyGho,6949
|
|
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=_-BzuBk4RJbq6pMzMFYgGaW-tMMv38kvg-IBVu1cBVk,2061
|
|
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/i18n/account_financial_report.pot,sha256=3u0yX4w7rqGFyV0MgNO0c3GW8PwiSoezcKTTS4OUT_g,81933
|
|
@@ -15,7 +15,7 @@ odoo/addons/account_financial_report/i18n/fr_CH.po,sha256=x5dRJJX7wwPkSUfOBl7CjY
|
|
|
15
15
|
odoo/addons/account_financial_report/i18n/fr_FR.po,sha256=1gPDSd-IUrNf5e-zfN3RE9WmATRcS83qo3ecnoi0eIo,88695
|
|
16
16
|
odoo/addons/account_financial_report/i18n/hr.po,sha256=Nb_QmMk1AsndLtJMe7JBNelTeRDmaKcOPoP5YKnLYL8,83941
|
|
17
17
|
odoo/addons/account_financial_report/i18n/hr_HR.po,sha256=3t0sXrt_dL4aKbj2dCWPCMZyyFFr18UH4us7ivndV-M,81463
|
|
18
|
-
odoo/addons/account_financial_report/i18n/it.po,sha256=
|
|
18
|
+
odoo/addons/account_financial_report/i18n/it.po,sha256=3STo8h-cC0-v3WNXn8K_NZpuh8In7WULdaMWVTydRTc,91261
|
|
19
19
|
odoo/addons/account_financial_report/i18n/ja.po,sha256=-Mo3RQr3OXKpT2ETdgeOvhG3iSDOKNsD0aoURaExpxk,81224
|
|
20
20
|
odoo/addons/account_financial_report/i18n/nl.po,sha256=yrCC-bBBYotNVxZ0Tt51qgGUn8csMLZ_fXF9ZAjuE_w,93598
|
|
21
21
|
odoo/addons/account_financial_report/i18n/nl_NL.po,sha256=02utZyaqSllWXnKeN6KlXBXJFg7YU08WKLFN6D5pDXA,81129
|
|
@@ -28,7 +28,7 @@ odoo/addons/account_financial_report/models/__init__.py,sha256=KCE4mRzM1HSu4Mjg3
|
|
|
28
28
|
odoo/addons/account_financial_report/models/account.py,sha256=OCWn264dEtfxbV0rVKR1dqz38Jy3SoS_9XZ0ChK_7eA,422
|
|
29
29
|
odoo/addons/account_financial_report/models/account_age_report_configuration.py,sha256=U5Xr0uAD696TohTCkKsY3HZDYAfVrlocTIGYzr2JlkA,1664
|
|
30
30
|
odoo/addons/account_financial_report/models/account_group.py,sha256=q0RpVwqZQiSFoQ03ltTe6XEokIa2f1qLAfuPCJgQ_iY,2385
|
|
31
|
-
odoo/addons/account_financial_report/models/account_move_line.py,sha256=
|
|
31
|
+
odoo/addons/account_financial_report/models/account_move_line.py,sha256=TabkIR2E0YSPkc_jgCKz6_7UOuZ0ryjYWXSwS4Ofwn0,2928
|
|
32
32
|
odoo/addons/account_financial_report/models/ir_actions_report.py,sha256=wq-rx2bpI6odJ4-PQR5aellrM9740n5WN4tf1IKdlj0,1074
|
|
33
33
|
odoo/addons/account_financial_report/models/res_config_settings.py,sha256=7b6qOl9jmC-eJF8vTA9wbefs6C8cn_Jp8hJBq_o6mvk,443
|
|
34
34
|
odoo/addons/account_financial_report/readme/CONFIGURE.md,sha256=gTsDroUsSEy4stKQpIO7Y3inHh8YClbJ634HY7vREUg,901
|
|
@@ -61,7 +61,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=2WeL
|
|
|
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=YQCXbOuTGHCWGYwGnXMie_0tnWG5zYJGdoeey3o1xaw,382
|
|
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=6bQhUCefkw7b73lJhFL-qNfLoFN6hn7IWMShOStKE60,19748
|
|
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
|
|
@@ -98,7 +98,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=zTC-j
|
|
|
98
98
|
odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=HmwfFnzmQvw0wOILH2J1kY3aM8IGZKMBa7CHmMOigiQ,6577
|
|
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-17.0.1.2.
|
|
102
|
-
odoo_addon_account_financial_report-17.0.1.2.
|
|
103
|
-
odoo_addon_account_financial_report-17.0.1.2.
|
|
104
|
-
odoo_addon_account_financial_report-17.0.1.2.
|
|
101
|
+
odoo_addon_account_financial_report-17.0.1.2.3.dist-info/METADATA,sha256=KO--wB0aT1JhiwqfqsyyH-8nn-0m22ufpa86T8Uuq8A,7626
|
|
102
|
+
odoo_addon_account_financial_report-17.0.1.2.3.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
|
|
103
|
+
odoo_addon_account_financial_report-17.0.1.2.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
104
|
+
odoo_addon_account_financial_report-17.0.1.2.3.dist-info/RECORD,,
|
|
File without changes
|