odoo-addon-l10n-it-vat-settlement-date 16.0.1.0.1.1__py3-none-any.whl → 18.0.1.0.1.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-l10n-it-vat-settlement-date might be problematic. Click here for more details.
- odoo/addons/l10n_it_vat_settlement_date/README.rst +26 -7
- odoo/addons/l10n_it_vat_settlement_date/__init__.py +1 -0
- odoo/addons/l10n_it_vat_settlement_date/__manifest__.py +4 -4
- odoo/addons/l10n_it_vat_settlement_date/i18n/it.po +28 -9
- odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot +19 -4
- odoo/addons/l10n_it_vat_settlement_date/models/account_move.py +1 -0
- odoo/addons/l10n_it_vat_settlement_date/models/account_tax.py +18 -0
- odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md +10 -0
- odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py +1 -1
- odoo/addons/l10n_it_vat_settlement_date/static/description/index.html +33 -12
- odoo/addons/l10n_it_vat_settlement_date/tests/__init__.py +1 -0
- odoo/addons/l10n_it_vat_settlement_date/tests/test_open_tax_balances.py +78 -0
- odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py +14 -21
- odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py +3 -2
- odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml +1 -10
- odoo/addons/l10n_it_vat_settlement_date/wizard/__init__.py +4 -0
- odoo/addons/l10n_it_vat_settlement_date/wizard/open_tax_balances.py +13 -0
- odoo/addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py +21 -0
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info}/METADATA +35 -15
- odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info/RECORD +30 -0
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info}/WHEEL +1 -1
- odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info/RECORD +0 -26
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
3
|
+
:alt: Odoo Community Association
|
|
4
|
+
|
|
1
5
|
=========================
|
|
2
6
|
ITA - Data competenza IVA
|
|
3
7
|
=========================
|
|
@@ -7,23 +11,23 @@ ITA - Data competenza IVA
|
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
12
|
!! changes will be overwritten. !!
|
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:9b032d3718b588f802c0f875ab235ba808bbe8d86947951e4081e539f5301d5d
|
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
16
|
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
|
15
19
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
22
|
:alt: License: AGPL-3
|
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/l10n-italy/tree/
|
|
24
|
+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date
|
|
21
25
|
:alt: OCA/l10n-italy
|
|
22
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/l10n-italy-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_vat_settlement_date
|
|
24
28
|
:alt: Translate me on Weblate
|
|
25
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
|
|
27
31
|
:alt: Try me on Runboat
|
|
28
32
|
|
|
29
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -32,10 +36,25 @@ ITA - Data competenza IVA
|
|
|
32
36
|
|
|
33
37
|
Aggiunge la data competenza IVA per le fatture fornitori.
|
|
34
38
|
|
|
39
|
+
La data di competenza IVA può essere impostata nella fattura e viene
|
|
40
|
+
utilizzata automaticamente in:
|
|
41
|
+
|
|
42
|
+
- Liquidazione IVA (modulo
|
|
43
|
+
``l10n_it_account_vat_period_end_settlement``)
|
|
44
|
+
- Registro IVA (modulo ``l10n_it_vat_registries``)
|
|
45
|
+
- Saldo delle imposte (modulo ``account_tax_balance``)
|
|
46
|
+
|
|
35
47
|
**English**
|
|
36
48
|
|
|
37
49
|
Add settlement date for bills.
|
|
38
50
|
|
|
51
|
+
The VAT settlement date can be set in the invoice and is automatically
|
|
52
|
+
used in:
|
|
53
|
+
|
|
54
|
+
- VAT Settlement (module ``l10n_it_account_vat_period_end_settlement``)
|
|
55
|
+
- VAT Registry (module ``l10n_it_vat_registries``)
|
|
56
|
+
- Tax Balance (module ``account_tax_balance``)
|
|
57
|
+
|
|
39
58
|
**Table of contents**
|
|
40
59
|
|
|
41
60
|
.. contents::
|
|
@@ -47,7 +66,7 @@ Bug Tracker
|
|
|
47
66
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
48
67
|
In case of trouble, please check there if your issue has already been reported.
|
|
49
68
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
50
|
-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%
|
|
69
|
+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
51
70
|
|
|
52
71
|
Do not contact contributors directly about support or help with technical issues.
|
|
53
72
|
|
|
@@ -79,6 +98,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
79
98
|
mission is to support the collaborative development of Odoo features and
|
|
80
99
|
promote its widespread use.
|
|
81
100
|
|
|
82
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
101
|
+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date>`_ project on GitHub.
|
|
83
102
|
|
|
84
103
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
{
|
|
6
6
|
"name": "ITA - Data competenza IVA",
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "18.0.1.0.1",
|
|
8
8
|
"category": "Localization/Italy",
|
|
9
9
|
"summary": "Settlement date for VAT Statement",
|
|
10
10
|
"license": "AGPL-3",
|
|
11
11
|
"author": "Marco Colombo, Odoo Community Association (OCA)",
|
|
12
12
|
"website": "https://github.com/OCA/l10n-italy"
|
|
13
|
-
"/tree/
|
|
13
|
+
"/tree/18.0/l10n_it_vat_settlement_date",
|
|
14
14
|
"depends": [
|
|
15
15
|
"account",
|
|
16
16
|
"account_tax_balance",
|
|
17
|
-
"
|
|
17
|
+
"l10n_it_account_vat_period_end_settlement",
|
|
18
18
|
"l10n_it_vat_registries",
|
|
19
|
-
"
|
|
19
|
+
"l10n_it_vat_settlement_communication",
|
|
20
20
|
],
|
|
21
21
|
"data": [
|
|
22
22
|
"views/account_move_views.xml",
|
|
@@ -7,14 +7,15 @@ msgstr ""
|
|
|
7
7
|
"Project-Id-Version: Odoo Server 16.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"POT-Creation-Date: 2024-03-27 10:09+0000\n"
|
|
10
|
-
"PO-Revision-Date:
|
|
11
|
-
"Last-Translator:
|
|
10
|
+
"PO-Revision-Date: 2025-11-10 08:36+0000\n"
|
|
11
|
+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
|
12
12
|
"Language-Team: \n"
|
|
13
|
-
"Language: \n"
|
|
13
|
+
"Language: it\n"
|
|
14
14
|
"MIME-Version: 1.0\n"
|
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
16
16
|
"Content-Transfer-Encoding: \n"
|
|
17
|
-
"Plural-Forms:
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
18
|
+
"X-Generator: Weblate 5.10.4\n"
|
|
18
19
|
|
|
19
20
|
#. module: l10n_it_vat_settlement_date
|
|
20
21
|
#: model_terms:ir.ui.view,arch_db:l10n_it_vat_settlement_date.report_registro_iva
|
|
@@ -40,21 +41,39 @@ msgstr "Imposta"
|
|
|
40
41
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_bank_statement_line__l10n_it_vat_settlement_date
|
|
41
42
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move__l10n_it_vat_settlement_date
|
|
42
43
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move_line__l10n_it_vat_settlement_date
|
|
43
|
-
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_payment__l10n_it_vat_settlement_date
|
|
44
44
|
msgid "VAT Settlement Date"
|
|
45
45
|
msgstr "Data competenza IVA"
|
|
46
46
|
|
|
47
47
|
#. module: l10n_it_vat_settlement_date
|
|
48
|
-
#: model:ir.model,name:l10n_it_vat_settlement_date.
|
|
49
|
-
msgid "VAT
|
|
50
|
-
msgstr "
|
|
48
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_report_l10n_it_account_vat_period_end_settlement_vat_statement
|
|
49
|
+
msgid "VAT Settlement report"
|
|
50
|
+
msgstr "Resoconto liquidazione IVA"
|
|
51
51
|
|
|
52
52
|
#. module: l10n_it_vat_settlement_date
|
|
53
53
|
#: model:ir.model,name:l10n_it_vat_settlement_date.model_account_vat_period_end_statement
|
|
54
54
|
msgid "VAT period end statement"
|
|
55
55
|
msgstr "Dichiarazione IVA di fine periodo"
|
|
56
56
|
|
|
57
|
+
#. module: l10n_it_vat_settlement_date
|
|
58
|
+
#. odoo-python
|
|
59
|
+
#: code:addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py:0
|
|
60
|
+
msgid "VAT settlement date"
|
|
61
|
+
msgstr "Data competenza IVA"
|
|
62
|
+
|
|
57
63
|
#. module: l10n_it_vat_settlement_date
|
|
58
64
|
#: model:ir.model,name:l10n_it_vat_settlement_date.model_comunicazione_liquidazione_vp
|
|
59
65
|
msgid "VAT statement communication - VP table"
|
|
60
|
-
msgstr ""
|
|
66
|
+
msgstr "Comunicazione liquidazione IVA. Quadro VP"
|
|
67
|
+
|
|
68
|
+
#. module: l10n_it_vat_settlement_date
|
|
69
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_wizard_open_tax_balances
|
|
70
|
+
msgid "Wizard Open Tax Balances"
|
|
71
|
+
msgstr "Procedura guidata saldi fiscali aperti"
|
|
72
|
+
|
|
73
|
+
#. module: l10n_it_vat_settlement_date
|
|
74
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_report_l10n_it_vat_registries_report_registro_iva_xlsx
|
|
75
|
+
msgid "XLSX report for VAT registries"
|
|
76
|
+
msgstr "Resoconto XLSX per registri IVA"
|
|
77
|
+
|
|
78
|
+
#~ msgid "VAT Statement report"
|
|
79
|
+
#~ msgstr "Report liquidazione IVA"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 18.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -37,13 +37,12 @@ msgstr ""
|
|
|
37
37
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_bank_statement_line__l10n_it_vat_settlement_date
|
|
38
38
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move__l10n_it_vat_settlement_date
|
|
39
39
|
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move_line__l10n_it_vat_settlement_date
|
|
40
|
-
#: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_payment__l10n_it_vat_settlement_date
|
|
41
40
|
msgid "VAT Settlement Date"
|
|
42
41
|
msgstr ""
|
|
43
42
|
|
|
44
43
|
#. module: l10n_it_vat_settlement_date
|
|
45
|
-
#: model:ir.model,name:l10n_it_vat_settlement_date.
|
|
46
|
-
msgid "VAT
|
|
44
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_report_l10n_it_account_vat_period_end_settlement_vat_statement
|
|
45
|
+
msgid "VAT Settlement report"
|
|
47
46
|
msgstr ""
|
|
48
47
|
|
|
49
48
|
#. module: l10n_it_vat_settlement_date
|
|
@@ -51,7 +50,23 @@ msgstr ""
|
|
|
51
50
|
msgid "VAT period end statement"
|
|
52
51
|
msgstr ""
|
|
53
52
|
|
|
53
|
+
#. module: l10n_it_vat_settlement_date
|
|
54
|
+
#. odoo-python
|
|
55
|
+
#: code:addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py:0
|
|
56
|
+
msgid "VAT settlement date"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
54
59
|
#. module: l10n_it_vat_settlement_date
|
|
55
60
|
#: model:ir.model,name:l10n_it_vat_settlement_date.model_comunicazione_liquidazione_vp
|
|
56
61
|
msgid "VAT statement communication - VP table"
|
|
57
62
|
msgstr ""
|
|
63
|
+
|
|
64
|
+
#. module: l10n_it_vat_settlement_date
|
|
65
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_wizard_open_tax_balances
|
|
66
|
+
msgid "Wizard Open Tax Balances"
|
|
67
|
+
msgstr ""
|
|
68
|
+
|
|
69
|
+
#. module: l10n_it_vat_settlement_date
|
|
70
|
+
#: model:ir.model,name:l10n_it_vat_settlement_date.model_report_l10n_it_vat_registries_report_registro_iva_xlsx
|
|
71
|
+
msgid "XLSX report for VAT registries"
|
|
72
|
+
msgstr ""
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
# Copyright 2024 Simone Rubino - Aion Tech
|
|
3
3
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
4
4
|
|
|
5
|
+
import re
|
|
6
|
+
|
|
5
7
|
from odoo import models
|
|
6
8
|
from odoo.osv import expression
|
|
7
9
|
|
|
@@ -46,3 +48,19 @@ class AccountTax(models.Model):
|
|
|
46
48
|
if self.env.context.get("use_l10n_it_vat_settlement_date"):
|
|
47
49
|
domain = self._inject_vat_settlement_date_domain(domain)
|
|
48
50
|
return domain
|
|
51
|
+
|
|
52
|
+
def _inject_vat_settlement_date_query(self, query):
|
|
53
|
+
date_field_name = "date"
|
|
54
|
+
settlement_date_field_name = "l10n_it_vat_settlement_date"
|
|
55
|
+
settled_query = re.sub(
|
|
56
|
+
rf"\b{date_field_name}\b", # Substitute only whole word
|
|
57
|
+
settlement_date_field_name,
|
|
58
|
+
query,
|
|
59
|
+
)
|
|
60
|
+
return settled_query
|
|
61
|
+
|
|
62
|
+
def _account_tax_ids_with_moves_query(self):
|
|
63
|
+
query, params = super()._account_tax_ids_with_moves_query()
|
|
64
|
+
if self.env.context.get("use_l10n_it_vat_settlement_date"):
|
|
65
|
+
query = self._inject_vat_settlement_date_query(query)
|
|
66
|
+
return query, params
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Aggiunge la data competenza IVA per le fatture fornitori.
|
|
4
4
|
|
|
5
|
+
La data di competenza IVA può essere impostata nella fattura e viene utilizzata automaticamente in:
|
|
6
|
+
- Liquidazione IVA (modulo `l10n_it_account_vat_period_end_settlement`)
|
|
7
|
+
- Registro IVA (modulo `l10n_it_vat_registries`)
|
|
8
|
+
- Saldo delle imposte (modulo `account_tax_balance`)
|
|
9
|
+
|
|
5
10
|
**English**
|
|
6
11
|
|
|
7
12
|
Add settlement date for bills.
|
|
13
|
+
|
|
14
|
+
The VAT settlement date can be set in the invoice and is automatically used in:
|
|
15
|
+
- VAT Settlement (module `l10n_it_account_vat_period_end_settlement`)
|
|
16
|
+
- VAT Registry (module `l10n_it_vat_registries`)
|
|
17
|
+
- Tax Balance (module `account_tax_balance`)
|
|
@@ -6,7 +6,7 @@ from odoo import api, models
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class VatStatement(models.AbstractModel):
|
|
9
|
-
_inherit = "report.
|
|
9
|
+
_inherit = "report.l10n_it_account_vat_period_end_settlement.vat_statement"
|
|
10
10
|
|
|
11
11
|
@api.model
|
|
12
12
|
def _get_report_values(self, docids, data=None):
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
5
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
-
<title>
|
|
6
|
+
<title>README.rst</title>
|
|
7
7
|
<style type="text/css">
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -360,20 +360,40 @@ ul.auto-toc {
|
|
|
360
360
|
</style>
|
|
361
361
|
</head>
|
|
362
362
|
<body>
|
|
363
|
-
<div class="document"
|
|
364
|
-
<h1 class="title">ITA - Data competenza IVA</h1>
|
|
363
|
+
<div class="document">
|
|
365
364
|
|
|
365
|
+
|
|
366
|
+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
|
367
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
|
368
|
+
</a>
|
|
369
|
+
<div class="section" id="ita-data-competenza-iva">
|
|
370
|
+
<h1>ITA - Data competenza IVA</h1>
|
|
366
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
367
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
373
|
!! changes will be overwritten. !!
|
|
369
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:9b032d3718b588f802c0f875ab235ba808bbe8d86947951e4081e539f5301d5d
|
|
371
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
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/
|
|
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/l10n-italy/tree/18.0/l10n_it_vat_settlement_date"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_vat_settlement_date"><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/l10n-italy&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
378
|
<p><strong>Italiano</strong></p>
|
|
374
379
|
<p>Aggiunge la data competenza IVA per le fatture fornitori.</p>
|
|
380
|
+
<p>La data di competenza IVA può essere impostata nella fattura e viene
|
|
381
|
+
utilizzata automaticamente in:</p>
|
|
382
|
+
<ul class="simple">
|
|
383
|
+
<li>Liquidazione IVA (modulo
|
|
384
|
+
<tt class="docutils literal">l10n_it_account_vat_period_end_settlement</tt>)</li>
|
|
385
|
+
<li>Registro IVA (modulo <tt class="docutils literal">l10n_it_vat_registries</tt>)</li>
|
|
386
|
+
<li>Saldo delle imposte (modulo <tt class="docutils literal">account_tax_balance</tt>)</li>
|
|
387
|
+
</ul>
|
|
375
388
|
<p><strong>English</strong></p>
|
|
376
389
|
<p>Add settlement date for bills.</p>
|
|
390
|
+
<p>The VAT settlement date can be set in the invoice and is automatically
|
|
391
|
+
used in:</p>
|
|
392
|
+
<ul class="simple">
|
|
393
|
+
<li>VAT Settlement (module <tt class="docutils literal">l10n_it_account_vat_period_end_settlement</tt>)</li>
|
|
394
|
+
<li>VAT Registry (module <tt class="docutils literal">l10n_it_vat_registries</tt>)</li>
|
|
395
|
+
<li>Tax Balance (module <tt class="docutils literal">account_tax_balance</tt>)</li>
|
|
396
|
+
</ul>
|
|
377
397
|
<p><strong>Table of contents</strong></p>
|
|
378
398
|
<div class="contents local topic" id="contents">
|
|
379
399
|
<ul class="simple">
|
|
@@ -387,23 +407,23 @@ ul.auto-toc {
|
|
|
387
407
|
</ul>
|
|
388
408
|
</div>
|
|
389
409
|
<div class="section" id="bug-tracker">
|
|
390
|
-
<
|
|
410
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h2>
|
|
391
411
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
|
|
392
412
|
In case of trouble, please check there if your issue has already been reported.
|
|
393
413
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
394
|
-
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%
|
|
414
|
+
<a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
395
415
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
396
416
|
</div>
|
|
397
417
|
<div class="section" id="credits">
|
|
398
|
-
<
|
|
418
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
|
|
399
419
|
<div class="section" id="authors">
|
|
400
|
-
<
|
|
420
|
+
<h3><a class="toc-backref" href="#toc-entry-3">Authors</a></h3>
|
|
401
421
|
<ul class="simple">
|
|
402
422
|
<li>Marco Colombo</li>
|
|
403
423
|
</ul>
|
|
404
424
|
</div>
|
|
405
425
|
<div class="section" id="contributors">
|
|
406
|
-
<
|
|
426
|
+
<h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
|
|
407
427
|
<ul class="simple">
|
|
408
428
|
<li><a class="reference external" href="https://aiontech.company/">Aion Tech</a>:<ul>
|
|
409
429
|
<li>Simone Rubino <<a class="reference external" href="mailto:simone.rubino@aion-tech.it">simone.rubino@aion-tech.it</a>></li>
|
|
@@ -412,7 +432,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
412
432
|
</ul>
|
|
413
433
|
</div>
|
|
414
434
|
<div class="section" id="maintainers">
|
|
415
|
-
<
|
|
435
|
+
<h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
|
|
416
436
|
<p>This module is maintained by the OCA.</p>
|
|
417
437
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
418
438
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
@@ -420,10 +440,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
420
440
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
421
441
|
mission is to support the collaborative development of Odoo features and
|
|
422
442
|
promote its widespread use.</p>
|
|
423
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/
|
|
443
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date">OCA/l10n-italy</a> project on GitHub.</p>
|
|
424
444
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
|
425
445
|
</div>
|
|
426
446
|
</div>
|
|
427
447
|
</div>
|
|
448
|
+
</div>
|
|
428
449
|
</body>
|
|
429
450
|
</html>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Copyright 2025 Simone Rubino
|
|
2
|
+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
3
|
+
|
|
4
|
+
import datetime
|
|
5
|
+
|
|
6
|
+
from dateutil.relativedelta import relativedelta
|
|
7
|
+
|
|
8
|
+
from odoo.tests import Form, tagged
|
|
9
|
+
from odoo.tools.safe_eval import safe_eval
|
|
10
|
+
|
|
11
|
+
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@tagged("post_install", "-at_install")
|
|
15
|
+
class TestOpenTaxBalances(AccountTestInvoicingCommon):
|
|
16
|
+
@classmethod
|
|
17
|
+
def setUpClass(cls):
|
|
18
|
+
super().setUpClass()
|
|
19
|
+
cls.supplier_bill = cls.init_invoice(
|
|
20
|
+
"in_invoice",
|
|
21
|
+
invoice_date=datetime.date(2020, 6, 15),
|
|
22
|
+
amounts=[
|
|
23
|
+
100,
|
|
24
|
+
],
|
|
25
|
+
taxes=cls.tax_sale_a,
|
|
26
|
+
post=True,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
def _get_wizard(self, from_date, to_date):
|
|
30
|
+
"""Create the wizard to show the Tax Balances."""
|
|
31
|
+
wizard_form = Form(self.env["wizard.open.tax.balances"])
|
|
32
|
+
wizard_form.from_date = from_date
|
|
33
|
+
wizard_form.to_date = to_date
|
|
34
|
+
wizard = wizard_form.save()
|
|
35
|
+
return wizard
|
|
36
|
+
|
|
37
|
+
def _get_tax_balances(self, from_date, to_date):
|
|
38
|
+
"""Get the Taxes shown by the wizard."""
|
|
39
|
+
wizard = self._get_wizard(from_date, to_date)
|
|
40
|
+
taxes_action = wizard.open_taxes()
|
|
41
|
+
return (
|
|
42
|
+
self.env[taxes_action["res_model"]]
|
|
43
|
+
.with_context(**taxes_action["context"])
|
|
44
|
+
.search(safe_eval(taxes_action["domain"]))
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
def test_wizard(self):
|
|
48
|
+
"""The settlement date is used in the Tax Balances."""
|
|
49
|
+
# Arrange
|
|
50
|
+
bill = self.supplier_bill
|
|
51
|
+
bill_tax_amount = bill.amount_tax
|
|
52
|
+
accounting_date = bill.date
|
|
53
|
+
settlement_date = accounting_date + relativedelta(years=1)
|
|
54
|
+
from_date = datetime.date(2021, 1, 1)
|
|
55
|
+
to_date = datetime.date(2021, 12, 31)
|
|
56
|
+
taxes = self._get_tax_balances(from_date, to_date)
|
|
57
|
+
tax_balance = taxes.filtered(
|
|
58
|
+
lambda tax, bill_tax=bill.line_ids.tax_ids: tax == bill_tax
|
|
59
|
+
).balance_regular
|
|
60
|
+
# pre-condition
|
|
61
|
+
self.assertTrue(bill_tax_amount)
|
|
62
|
+
self.assertFalse(from_date <= accounting_date <= to_date)
|
|
63
|
+
self.assertTrue(from_date <= settlement_date <= to_date)
|
|
64
|
+
|
|
65
|
+
# Act
|
|
66
|
+
bill.l10n_it_vat_settlement_date = settlement_date
|
|
67
|
+
taxes = self._get_tax_balances(from_date, to_date)
|
|
68
|
+
|
|
69
|
+
# Assert
|
|
70
|
+
settled_tax_balance = taxes.filtered(
|
|
71
|
+
lambda tax, bill_tax=bill.line_ids.tax_ids: tax == bill_tax
|
|
72
|
+
).balance_regular
|
|
73
|
+
self.assertEqual(
|
|
74
|
+
tax_balance - bill_tax_amount,
|
|
75
|
+
settled_tax_balance,
|
|
76
|
+
"Tax Balance hasn't changed "
|
|
77
|
+
"when bill settlement date is out of the wizard range",
|
|
78
|
+
)
|
|
@@ -7,7 +7,7 @@ from odoo import fields
|
|
|
7
7
|
from odoo.tests import tagged
|
|
8
8
|
from odoo.tools import formatLang
|
|
9
9
|
|
|
10
|
-
from odoo.addons.
|
|
10
|
+
from odoo.addons.l10n_it_account_vat_period_end_settlement.tests.common import (
|
|
11
11
|
TestVATStatementCommon,
|
|
12
12
|
)
|
|
13
13
|
|
|
@@ -16,9 +16,11 @@ from odoo.addons.account_vat_period_end_statement.tests.common import (
|
|
|
16
16
|
class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
17
17
|
def test_statement(self):
|
|
18
18
|
"""The settlement date decides whether a move is in the statement."""
|
|
19
|
+
# Set the company context
|
|
20
|
+
self.env.user.company_id = self.company.id
|
|
19
21
|
# Arrange: a date range and a bill out of that range
|
|
20
22
|
current_period = self.current_period
|
|
21
|
-
tax = self.
|
|
23
|
+
tax = self.company_data_2["default_tax_purchase"]
|
|
22
24
|
out_of_period_date = current_period.date_end + relativedelta(days=+1)
|
|
23
25
|
bill = self._create_vendor_bill(
|
|
24
26
|
self.env.ref("base.res_partner_4"),
|
|
@@ -29,11 +31,11 @@ class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
|
29
31
|
statement = self._get_statement(
|
|
30
32
|
current_period,
|
|
31
33
|
fields.Date.today(),
|
|
32
|
-
|
|
34
|
+
[],
|
|
33
35
|
)
|
|
34
36
|
authority_vat_amount = statement.authority_vat_amount
|
|
35
37
|
# pre-condition
|
|
36
|
-
period_settled_moves = self.
|
|
38
|
+
period_settled_moves = self.env["account.move"].search(
|
|
37
39
|
current_period.get_domain("l10n_it_vat_settlement_date")
|
|
38
40
|
)
|
|
39
41
|
self.assertNotIn(bill, period_settled_moves)
|
|
@@ -44,23 +46,12 @@ class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
|
44
46
|
)
|
|
45
47
|
|
|
46
48
|
# Assert: the statement now contains the bill
|
|
47
|
-
period_settled_moves = self.
|
|
49
|
+
period_settled_moves = self.env["account.move"].search(
|
|
48
50
|
current_period.get_domain("l10n_it_vat_settlement_date")
|
|
49
51
|
)
|
|
50
52
|
self.assertIn(bill, period_settled_moves)
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
new_authority_vat_amount = statement.authority_vat_amount
|
|
54
|
-
self.assertEqual(
|
|
55
|
-
authority_vat_amount,
|
|
56
|
-
new_authority_vat_amount,
|
|
57
|
-
"This assertion and the cache invalidation can be removed",
|
|
58
|
-
)
|
|
59
|
-
tax.invalidate_recordset(
|
|
60
|
-
fnames=[
|
|
61
|
-
"deductible_balance",
|
|
62
|
-
],
|
|
63
|
-
)
|
|
54
|
+
bill.line_ids.tax_ids.invalidate_recordset()
|
|
64
55
|
statement.compute_amounts()
|
|
65
56
|
new_authority_vat_amount = statement.authority_vat_amount
|
|
66
57
|
self.assertNotEqual(
|
|
@@ -74,7 +65,7 @@ class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
|
74
65
|
def _get_report(self, statement):
|
|
75
66
|
"""Print the Vat Period End Statement of `statement`."""
|
|
76
67
|
report_action = self.env.ref(
|
|
77
|
-
"
|
|
68
|
+
"l10n_it_account_vat_period_end_settlement.report_vat_statement"
|
|
78
69
|
)
|
|
79
70
|
html, _report_type = self.env["ir.actions.report"]._render_qweb_html(
|
|
80
71
|
report_action.report_name, statement.ids
|
|
@@ -84,9 +75,11 @@ class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
|
84
75
|
def test_report(self):
|
|
85
76
|
"""When the settlement date is out of period,
|
|
86
77
|
the tax amounts are not shown in the report."""
|
|
78
|
+
# Set the company context
|
|
79
|
+
self.env.user.company_id = self.company.id
|
|
87
80
|
# Arrange
|
|
88
81
|
current_period = self.current_period
|
|
89
|
-
tax = self.
|
|
82
|
+
tax = self.company_data_2["default_tax_purchase"]
|
|
90
83
|
in_period_date = current_period.date_end + relativedelta(days=-1)
|
|
91
84
|
bill = self._create_vendor_bill(
|
|
92
85
|
self.env.ref("base.res_partner_4"),
|
|
@@ -99,10 +92,10 @@ class TestVATPeriodEndStatement(TestVATStatementCommon):
|
|
|
99
92
|
statement = self._get_statement(
|
|
100
93
|
current_period,
|
|
101
94
|
fields.Date.today(),
|
|
102
|
-
|
|
95
|
+
[],
|
|
103
96
|
)
|
|
104
97
|
# pre-condition
|
|
105
|
-
period_settled_moves = self.
|
|
98
|
+
period_settled_moves = self.env["account.move"].search(
|
|
106
99
|
current_period.get_domain("l10n_it_vat_settlement_date")
|
|
107
100
|
)
|
|
108
101
|
self.assertNotIn(bill, period_settled_moves)
|
|
@@ -15,14 +15,15 @@ from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
|
|
15
15
|
@tagged("post_install", "-at_install")
|
|
16
16
|
class TestVATRegistry(AccountTestInvoicingCommon):
|
|
17
17
|
@classmethod
|
|
18
|
-
def setUpClass(cls
|
|
19
|
-
super().setUpClass(
|
|
18
|
+
def setUpClass(cls):
|
|
19
|
+
super().setUpClass()
|
|
20
20
|
cls.supplier_bill = cls.init_invoice(
|
|
21
21
|
"in_invoice",
|
|
22
22
|
invoice_date=datetime.date(2020, 6, 15),
|
|
23
23
|
amounts=[
|
|
24
24
|
100,
|
|
25
25
|
],
|
|
26
|
+
taxes=cls.tax_sale_a,
|
|
26
27
|
post=True,
|
|
27
28
|
)
|
|
28
29
|
cls.supplier_journal = cls.company_data["default_journal_purchase"]
|
|
@@ -13,16 +13,7 @@
|
|
|
13
13
|
<field name="invoice_date" position="after">
|
|
14
14
|
<field
|
|
15
15
|
name="l10n_it_vat_settlement_date"
|
|
16
|
-
|
|
17
|
-
'invisible': [
|
|
18
|
-
('move_type', 'not in', (
|
|
19
|
-
'in_invoice',
|
|
20
|
-
'in_receipt',
|
|
21
|
-
'in_refund',
|
|
22
|
-
),
|
|
23
|
-
),
|
|
24
|
-
],
|
|
25
|
-
}"
|
|
16
|
+
invisible="move_type not in ('in_invoice', 'in_receipt', 'in_refund')"
|
|
26
17
|
options="{
|
|
27
18
|
'datepicker': {
|
|
28
19
|
'warn_future': true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2025 Simone Rubino
|
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
3
|
+
|
|
4
|
+
from odoo import models
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class WizardOpenTaxBalances(models.TransientModel):
|
|
8
|
+
_inherit = "wizard.open.tax.balances"
|
|
9
|
+
|
|
10
|
+
def open_taxes(self):
|
|
11
|
+
action = super().open_taxes()
|
|
12
|
+
action.setdefault("context", dict())["use_l10n_it_vat_settlement_date"] = True
|
|
13
|
+
return action
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
2
|
+
|
|
3
|
+
from odoo import _, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ReportRegistroIvaXlsx(models.AbstractModel):
|
|
7
|
+
_inherit = "report.l10n_it_vat_registries.report_registro_iva_xlsx"
|
|
8
|
+
|
|
9
|
+
def _get_vat_settlement_date_col_spec(self):
|
|
10
|
+
ret = {
|
|
11
|
+
"vat_settlement_date": {
|
|
12
|
+
"header": {"value": _("VAT settlement date")},
|
|
13
|
+
"lines": {
|
|
14
|
+
"value": self._render(
|
|
15
|
+
"format_date(move.l10n_it_vat_settlement_date, date_format)"
|
|
16
|
+
)
|
|
17
|
+
},
|
|
18
|
+
"width": 20,
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return ret
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-l10n_it_vat_settlement_date
|
|
3
|
-
Version:
|
|
3
|
+
Version: 18.0.1.0.1.2
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
|
-
Requires-Dist: odoo-addon-account_tax_balance
|
|
6
|
-
Requires-Dist: odoo-addon-
|
|
7
|
-
Requires-Dist: odoo-addon-l10n_it_vat_registries
|
|
8
|
-
Requires-Dist: odoo-addon-
|
|
9
|
-
Requires-Dist: odoo
|
|
5
|
+
Requires-Dist: odoo-addon-account_tax_balance==18.0.*
|
|
6
|
+
Requires-Dist: odoo-addon-l10n_it_account_vat_period_end_settlement==18.0.*
|
|
7
|
+
Requires-Dist: odoo-addon-l10n_it_vat_registries==18.0.*
|
|
8
|
+
Requires-Dist: odoo-addon-l10n_it_vat_settlement_communication==18.0.*
|
|
9
|
+
Requires-Dist: odoo==18.0.*
|
|
10
10
|
Summary: Settlement date for VAT Statement
|
|
11
|
-
Home-page: https://github.com/OCA/l10n-italy/tree/
|
|
11
|
+
Home-page: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date
|
|
12
12
|
License: AGPL-3
|
|
13
13
|
Author: Marco Colombo, Odoo Community Association (OCA)
|
|
14
14
|
Author-email: support@odoo-community.org
|
|
15
15
|
Classifier: Programming Language :: Python
|
|
16
16
|
Classifier: Framework :: Odoo
|
|
17
|
-
Classifier: Framework :: Odoo ::
|
|
17
|
+
Classifier: Framework :: Odoo :: 18.0
|
|
18
18
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
19
|
+
Description-Content-Type: text/x-rst
|
|
20
|
+
|
|
21
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
22
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
23
|
+
:alt: Odoo Community Association
|
|
19
24
|
|
|
20
25
|
=========================
|
|
21
26
|
ITA - Data competenza IVA
|
|
@@ -26,23 +31,23 @@ ITA - Data competenza IVA
|
|
|
26
31
|
!! This file is generated by oca-gen-addon-readme !!
|
|
27
32
|
!! changes will be overwritten. !!
|
|
28
33
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
29
|
-
!! source digest: sha256:
|
|
34
|
+
!! source digest: sha256:9b032d3718b588f802c0f875ab235ba808bbe8d86947951e4081e539f5301d5d
|
|
30
35
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
36
|
|
|
32
37
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
33
38
|
:target: https://odoo-community.org/page/development-status
|
|
34
39
|
:alt: Beta
|
|
35
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
40
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
36
41
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
37
42
|
:alt: License: AGPL-3
|
|
38
43
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
|
|
39
|
-
:target: https://github.com/OCA/l10n-italy/tree/
|
|
44
|
+
:target: https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date
|
|
40
45
|
:alt: OCA/l10n-italy
|
|
41
46
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
42
|
-
:target: https://translation.odoo-community.org/projects/l10n-italy-
|
|
47
|
+
:target: https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_vat_settlement_date
|
|
43
48
|
:alt: Translate me on Weblate
|
|
44
49
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
45
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=
|
|
50
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
|
|
46
51
|
:alt: Try me on Runboat
|
|
47
52
|
|
|
48
53
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -51,10 +56,25 @@ ITA - Data competenza IVA
|
|
|
51
56
|
|
|
52
57
|
Aggiunge la data competenza IVA per le fatture fornitori.
|
|
53
58
|
|
|
59
|
+
La data di competenza IVA può essere impostata nella fattura e viene
|
|
60
|
+
utilizzata automaticamente in:
|
|
61
|
+
|
|
62
|
+
- Liquidazione IVA (modulo
|
|
63
|
+
``l10n_it_account_vat_period_end_settlement``)
|
|
64
|
+
- Registro IVA (modulo ``l10n_it_vat_registries``)
|
|
65
|
+
- Saldo delle imposte (modulo ``account_tax_balance``)
|
|
66
|
+
|
|
54
67
|
**English**
|
|
55
68
|
|
|
56
69
|
Add settlement date for bills.
|
|
57
70
|
|
|
71
|
+
The VAT settlement date can be set in the invoice and is automatically
|
|
72
|
+
used in:
|
|
73
|
+
|
|
74
|
+
- VAT Settlement (module ``l10n_it_account_vat_period_end_settlement``)
|
|
75
|
+
- VAT Registry (module ``l10n_it_vat_registries``)
|
|
76
|
+
- Tax Balance (module ``account_tax_balance``)
|
|
77
|
+
|
|
58
78
|
**Table of contents**
|
|
59
79
|
|
|
60
80
|
.. contents::
|
|
@@ -66,7 +86,7 @@ Bug Tracker
|
|
|
66
86
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
67
87
|
In case of trouble, please check there if your issue has already been reported.
|
|
68
88
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
69
|
-
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%
|
|
89
|
+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
70
90
|
|
|
71
91
|
Do not contact contributors directly about support or help with technical issues.
|
|
72
92
|
|
|
@@ -98,6 +118,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
98
118
|
mission is to support the collaborative development of Odoo features and
|
|
99
119
|
promote its widespread use.
|
|
100
120
|
|
|
101
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
121
|
+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_vat_settlement_date>`_ project on GitHub.
|
|
102
122
|
|
|
103
123
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
odoo/addons/l10n_it_vat_settlement_date/README.rst,sha256=wg0_gSJNPBQBlpCiczef-gHfL5TLfLSM0jgPZWYINR4,3686
|
|
2
|
+
odoo/addons/l10n_it_vat_settlement_date/__init__.py,sha256=nvhTCcAwIGzI_KF6yxFlax-Pxh4jnpjKbZ3I4K6zvmw,134
|
|
3
|
+
odoo/addons/l10n_it_vat_settlement_date/__manifest__.py,sha256=sqlzUN9RLuWUXQU26onAR8hOhUZ6tIecZJd9XhYDHRQ,839
|
|
4
|
+
odoo/addons/l10n_it_vat_settlement_date/i18n/it.po,sha256=yhL_W3ylANUDKiz1T6okoLeyrjKB13Lws_sIowtZRFk,3074
|
|
5
|
+
odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot,sha256=1Ig0yaG5QcBpOGFq3bCtJLfycA9T8bgO7vVqeL29xnU,2517
|
|
6
|
+
odoo/addons/l10n_it_vat_settlement_date/models/__init__.py,sha256=GX8-C_IGv1HtNBMGxha121G6ReD_XfcG8aic4sJBnoo,239
|
|
7
|
+
odoo/addons/l10n_it_vat_settlement_date/models/account_move.py,sha256=mFyO-nGhflgCcydYDuwWZmLz5j58SPnXRaF8f4Jhgrc,823
|
|
8
|
+
odoo/addons/l10n_it_vat_settlement_date/models/account_move_line.py,sha256=QsQ2ibzQg4rj_KNMAz2Kviu5VpUdGV5aFzgtMSQ2_CQ,780
|
|
9
|
+
odoo/addons/l10n_it_vat_settlement_date/models/account_tax.py,sha256=cKPqhNXWRN9HpldYNWXNgfLAZMOyvezf1DmKy4oSKQA,2492
|
|
10
|
+
odoo/addons/l10n_it_vat_settlement_date/models/account_vat_period_end_statement.py,sha256=zPK43Pz0rH4QRRr3_8zd2jPu3DLqOyO5KDRrYoYaXMk,462
|
|
11
|
+
odoo/addons/l10n_it_vat_settlement_date/models/comunicazione_liquidazione.py,sha256=-4Vhdtxkvg7zliBZvrksyBWX7czJjkM8WqIQrYRf-P0,283
|
|
12
|
+
odoo/addons/l10n_it_vat_settlement_date/readme/CONTRIBUTORS.md,sha256=R4s_rEjz3qGtPTdxzX_65krdjaofkBy7cSRab8lvwC8,93
|
|
13
|
+
odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md,sha256=NsR8kKgHYuRmoBGwIemxb4JaQZmEkAM2mWBobzTqMTQ,638
|
|
14
|
+
odoo/addons/l10n_it_vat_settlement_date/reports/__init__.py,sha256=sMZbGtwHW6RmjdX-fq1OwYZBEeVdNrdcQwbu_avktJk,95
|
|
15
|
+
odoo/addons/l10n_it_vat_settlement_date/reports/report_registro_iva.xml,sha256=7s3OmlHqVA1ot7r6BYxpMlBLbAw-q_x7OY-6DyxVG1g,1077
|
|
16
|
+
odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py,sha256=0H8af_Hf9FKDucp9FMspMydu8JXuuetjoIE659lHR8k,530
|
|
17
|
+
odoo/addons/l10n_it_vat_settlement_date/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
18
|
+
odoo/addons/l10n_it_vat_settlement_date/static/description/index.html,sha256=YjXPlLY74m5vhMyOHTpUrKlbiBVv8nooEwUtdm1BtwA,13423
|
|
19
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/__init__.py,sha256=upPaw2wp5iJOcL87IF5_3YvCzkWOEM7aO5RlFlu1xLw,180
|
|
20
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/test_open_tax_balances.py,sha256=i4jNrgOg3i4q8FhFG8yp4mMhWnVIrYdht97UQ4vvN54,2713
|
|
21
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py,sha256=c0jioeDSXm4iZEjSH15BrmnIEuKEhfcW3k-wiAMmhIY,4213
|
|
22
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py,sha256=eIdQMweF9eXm5XE5DgTva69yP9Wz-nAgWZwk2BacTj4,3099
|
|
23
|
+
odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml,sha256=oOpondx2ocRA1rAssHfOoAhlP-Uyf1rlJrFwXsDKq0k,998
|
|
24
|
+
odoo/addons/l10n_it_vat_settlement_date/wizard/__init__.py,sha256=juY48hVF1s7tNHQ9gofU5pfMwJ1ZQnRvB6sjyfM3j6c,137
|
|
25
|
+
odoo/addons/l10n_it_vat_settlement_date/wizard/open_tax_balances.py,sha256=__JG-Xmd_pYd_RoHSffEl7egWpCTiVwPiye1OvnNCEk,395
|
|
26
|
+
odoo/addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py,sha256=AgowHMgAwxVK18oMzxZa4J_r-lMXbF_nrvgMsF5sAv8,651
|
|
27
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info/METADATA,sha256=p-ADs1cLz9HMvTsIh8Z7T221dHMa3RwaIUjAh6FLJ6I,4549
|
|
28
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
29
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
30
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.1.2.dist-info/RECORD,,
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
odoo/addons/l10n_it_vat_settlement_date/README.rst,sha256=t5Tr8df38igSLtmoNgI0vcffcRzEdnazq5AvBn4aNmI,2984
|
|
2
|
-
odoo/addons/l10n_it_vat_settlement_date/__init__.py,sha256=dOsiq_fAdOqjO2w5CG39iXx242gkgnv-NG6SaOgGduE,113
|
|
3
|
-
odoo/addons/l10n_it_vat_settlement_date/__manifest__.py,sha256=6K-TXCuIrsL-zJPtM_vgKl1wF-Z7nql38LK11eAUftc,829
|
|
4
|
-
odoo/addons/l10n_it_vat_settlement_date/i18n/it.po,sha256=ruME_f7iUAV334Zw3yBwEw1lgkLoJk9eS6M3hjeLvRk,2350
|
|
5
|
-
odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot,sha256=u_r6gtboEPgRbMuG2IxuqudCZFWxfUa8NbbgyhPw8AA,2090
|
|
6
|
-
odoo/addons/l10n_it_vat_settlement_date/models/__init__.py,sha256=GX8-C_IGv1HtNBMGxha121G6ReD_XfcG8aic4sJBnoo,239
|
|
7
|
-
odoo/addons/l10n_it_vat_settlement_date/models/account_move.py,sha256=-5FbgC66ayt2Q8WZrFrZbELNa4J7Tz2tDGvNpv7bGiw,803
|
|
8
|
-
odoo/addons/l10n_it_vat_settlement_date/models/account_move_line.py,sha256=QsQ2ibzQg4rj_KNMAz2Kviu5VpUdGV5aFzgtMSQ2_CQ,780
|
|
9
|
-
odoo/addons/l10n_it_vat_settlement_date/models/account_tax.py,sha256=WSXy4wFtEb-dP4sAHAxiAq0oF5-630VH5Urcp2s8Uhk,1844
|
|
10
|
-
odoo/addons/l10n_it_vat_settlement_date/models/account_vat_period_end_statement.py,sha256=zPK43Pz0rH4QRRr3_8zd2jPu3DLqOyO5KDRrYoYaXMk,462
|
|
11
|
-
odoo/addons/l10n_it_vat_settlement_date/models/comunicazione_liquidazione.py,sha256=-4Vhdtxkvg7zliBZvrksyBWX7czJjkM8WqIQrYRf-P0,283
|
|
12
|
-
odoo/addons/l10n_it_vat_settlement_date/readme/CONTRIBUTORS.md,sha256=R4s_rEjz3qGtPTdxzX_65krdjaofkBy7cSRab8lvwC8,93
|
|
13
|
-
odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md,sha256=m77bKNA4RnVzJY7LgoxP5x4nDnOIQxQ8lGcZ3khgoP4,117
|
|
14
|
-
odoo/addons/l10n_it_vat_settlement_date/reports/__init__.py,sha256=sMZbGtwHW6RmjdX-fq1OwYZBEeVdNrdcQwbu_avktJk,95
|
|
15
|
-
odoo/addons/l10n_it_vat_settlement_date/reports/report_registro_iva.xml,sha256=7s3OmlHqVA1ot7r6BYxpMlBLbAw-q_x7OY-6DyxVG1g,1077
|
|
16
|
-
odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py,sha256=u1NS9oNwVoo8wCY3z3Yrj4hqfyAtksGKp50aulG9Ptc,521
|
|
17
|
-
odoo/addons/l10n_it_vat_settlement_date/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
18
|
-
odoo/addons/l10n_it_vat_settlement_date/static/description/index.html,sha256=JiRqWCXxb_1DgKQ_2W4reBuVcwogmvVLWmHceGX2Q3o,12392
|
|
19
|
-
odoo/addons/l10n_it_vat_settlement_date/tests/__init__.py,sha256=WDQxt8-Pe2NkbVKzg1Yoq2Q3e_yoqJRbHG3ky7hVWS0,143
|
|
20
|
-
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py,sha256=SEnxOYF6CNpsoYu_o5J2gpnQa38PnHpbRXqJBEn-Y88,4372
|
|
21
|
-
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py,sha256=aTbNvCfyy-ZPsLJOtuhoL760wQ-6akKXWoZ4XJ1AfR0,3127
|
|
22
|
-
odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml,sha256=ScqlZ9rl-6FnS0j_7vVFA0uwfD3DGomJ-NAC3rp2mKc,1294
|
|
23
|
-
odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info/METADATA,sha256=Gmb2BgaWR1lR1bDsfKhaNiu8_CxhvVTt8vm1FvbDLE8,3848
|
|
24
|
-
odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
|
25
|
-
odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
26
|
-
odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.1.1.dist-info/RECORD,,
|