odoo-addon-l10n-it-vat-settlement-date 16.0.1.1.0.2__py3-none-any.whl → 18.0.1.0.0.5__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 +11 -7
- odoo/addons/l10n_it_vat_settlement_date/__manifest__.py +4 -4
- odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot +3 -5
- odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py +1 -1
- odoo/addons/l10n_it_vat_settlement_date/static/description/index.html +18 -12
- 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_addon_l10n_it_vat_settlement_date-16.0.1.1.0.2.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info}/METADATA +20 -15
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.1.0.2.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info}/RECORD +12 -12
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.1.0.2.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info}/WHEEL +1 -1
- {odoo_addon_l10n_it_vat_settlement_date-16.0.1.1.0.2.dist-info → odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.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:b5b3d591cbd4d4e9de44633e88e09fef38ba0ca0cacf20c7f9e3229b6b6106a1
|
|
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|
|
|
@@ -47,7 +51,7 @@ Bug Tracker
|
|
|
47
51
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
48
52
|
In case of trouble, please check there if your issue has already been reported.
|
|
49
53
|
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:%
|
|
54
|
+
`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
55
|
|
|
52
56
|
Do not contact contributors directly about support or help with technical issues.
|
|
53
57
|
|
|
@@ -79,6 +83,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
79
83
|
mission is to support the collaborative development of Odoo features and
|
|
80
84
|
promote its widespread use.
|
|
81
85
|
|
|
82
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
86
|
+
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
87
|
|
|
84
88
|
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.0",
|
|
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",
|
|
@@ -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
|
|
@@ -54,7 +53,6 @@ msgstr ""
|
|
|
54
53
|
#. module: l10n_it_vat_settlement_date
|
|
55
54
|
#. odoo-python
|
|
56
55
|
#: code:addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py:0
|
|
57
|
-
#, python-format
|
|
58
56
|
msgid "VAT settlement date"
|
|
59
57
|
msgstr ""
|
|
60
58
|
|
|
@@ -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,16 +360,21 @@ 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:b5b3d591cbd4d4e9de44633e88e09fef38ba0ca0cacf20c7f9e3229b6b6106a1
|
|
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>
|
|
375
380
|
<p><strong>English</strong></p>
|
|
@@ -387,23 +392,23 @@ ul.auto-toc {
|
|
|
387
392
|
</ul>
|
|
388
393
|
</div>
|
|
389
394
|
<div class="section" id="bug-tracker">
|
|
390
|
-
<
|
|
395
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h2>
|
|
391
396
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
|
|
392
397
|
In case of trouble, please check there if your issue has already been reported.
|
|
393
398
|
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:%
|
|
399
|
+
<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
400
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
396
401
|
</div>
|
|
397
402
|
<div class="section" id="credits">
|
|
398
|
-
<
|
|
403
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
|
|
399
404
|
<div class="section" id="authors">
|
|
400
|
-
<
|
|
405
|
+
<h3><a class="toc-backref" href="#toc-entry-3">Authors</a></h3>
|
|
401
406
|
<ul class="simple">
|
|
402
407
|
<li>Marco Colombo</li>
|
|
403
408
|
</ul>
|
|
404
409
|
</div>
|
|
405
410
|
<div class="section" id="contributors">
|
|
406
|
-
<
|
|
411
|
+
<h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
|
|
407
412
|
<ul class="simple">
|
|
408
413
|
<li><a class="reference external" href="https://aiontech.company/">Aion Tech</a>:<ul>
|
|
409
414
|
<li>Simone Rubino <<a class="reference external" href="mailto:simone.rubino@aion-tech.it">simone.rubino@aion-tech.it</a>></li>
|
|
@@ -412,7 +417,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
412
417
|
</ul>
|
|
413
418
|
</div>
|
|
414
419
|
<div class="section" id="maintainers">
|
|
415
|
-
<
|
|
420
|
+
<h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
|
|
416
421
|
<p>This module is maintained by the OCA.</p>
|
|
417
422
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
418
423
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
@@ -420,10 +425,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
420
425
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
421
426
|
mission is to support the collaborative development of Odoo features and
|
|
422
427
|
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/
|
|
428
|
+
<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
429
|
<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
430
|
</div>
|
|
426
431
|
</div>
|
|
427
432
|
</div>
|
|
433
|
+
</div>
|
|
428
434
|
</body>
|
|
429
435
|
</html>
|
|
@@ -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,
|
|
@@ -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.0.5
|
|
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:b5b3d591cbd4d4e9de44633e88e09fef38ba0ca0cacf20c7f9e3229b6b6106a1
|
|
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|
|
|
@@ -66,7 +71,7 @@ Bug Tracker
|
|
|
66
71
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
|
|
67
72
|
In case of trouble, please check there if your issue has already been reported.
|
|
68
73
|
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:%
|
|
74
|
+
`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
75
|
|
|
71
76
|
Do not contact contributors directly about support or help with technical issues.
|
|
72
77
|
|
|
@@ -98,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
98
103
|
mission is to support the collaborative development of Odoo features and
|
|
99
104
|
promote its widespread use.
|
|
100
105
|
|
|
101
|
-
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/
|
|
106
|
+
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
107
|
|
|
103
108
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
odoo/addons/l10n_it_vat_settlement_date/README.rst,sha256=
|
|
1
|
+
odoo/addons/l10n_it_vat_settlement_date/README.rst,sha256=jyeG0u8bN_uXWllmu9DhIaGdMsEbdAH1YKZ3Nes43dQ,3149
|
|
2
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=
|
|
3
|
+
odoo/addons/l10n_it_vat_settlement_date/__manifest__.py,sha256=cu5-7iuh62uAsJm2kfUi50cs1cb2HHNiSBkZHOfCXhE,839
|
|
4
4
|
odoo/addons/l10n_it_vat_settlement_date/i18n/it.po,sha256=iJx8Q-o9bq3zVpmrr3yfr6cAJndTDpTvdVqxkNhAes8,2928
|
|
5
|
-
odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot,sha256=
|
|
5
|
+
odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot,sha256=bfC9G13JEPHBsLJmdCltp7e5ZmmRRFzrpCH1v9QwpYA,2352
|
|
6
6
|
odoo/addons/l10n_it_vat_settlement_date/models/__init__.py,sha256=GX8-C_IGv1HtNBMGxha121G6ReD_XfcG8aic4sJBnoo,239
|
|
7
7
|
odoo/addons/l10n_it_vat_settlement_date/models/account_move.py,sha256=mFyO-nGhflgCcydYDuwWZmLz5j58SPnXRaF8f4Jhgrc,823
|
|
8
8
|
odoo/addons/l10n_it_vat_settlement_date/models/account_move_line.py,sha256=QsQ2ibzQg4rj_KNMAz2Kviu5VpUdGV5aFzgtMSQ2_CQ,780
|
|
@@ -13,16 +13,16 @@ odoo/addons/l10n_it_vat_settlement_date/readme/CONTRIBUTORS.md,sha256=R4s_rEjz3q
|
|
|
13
13
|
odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md,sha256=m77bKNA4RnVzJY7LgoxP5x4nDnOIQxQ8lGcZ3khgoP4,117
|
|
14
14
|
odoo/addons/l10n_it_vat_settlement_date/reports/__init__.py,sha256=sMZbGtwHW6RmjdX-fq1OwYZBEeVdNrdcQwbu_avktJk,95
|
|
15
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=
|
|
16
|
+
odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py,sha256=0H8af_Hf9FKDucp9FMspMydu8JXuuetjoIE659lHR8k,530
|
|
17
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=
|
|
18
|
+
odoo/addons/l10n_it_vat_settlement_date/static/description/index.html,sha256=99l_IdXr16p0hUGaUT_1xONqIvXRmdV7pj-gVqD9yuM,12604
|
|
19
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=
|
|
21
|
-
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py,sha256=
|
|
22
|
-
odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml,sha256=
|
|
20
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py,sha256=c0jioeDSXm4iZEjSH15BrmnIEuKEhfcW3k-wiAMmhIY,4213
|
|
21
|
+
odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py,sha256=eIdQMweF9eXm5XE5DgTva69yP9Wz-nAgWZwk2BacTj4,3099
|
|
22
|
+
odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml,sha256=oOpondx2ocRA1rAssHfOoAhlP-Uyf1rlJrFwXsDKq0k,998
|
|
23
23
|
odoo/addons/l10n_it_vat_settlement_date/wizard/__init__.py,sha256=nygCbUGMl7TzHAujiULarhX-thj05z6XJqa-tyHWP44,105
|
|
24
24
|
odoo/addons/l10n_it_vat_settlement_date/wizard/report_registro_iva_xlsx.py,sha256=AgowHMgAwxVK18oMzxZa4J_r-lMXbF_nrvgMsF5sAv8,651
|
|
25
|
-
odoo_addon_l10n_it_vat_settlement_date-
|
|
26
|
-
odoo_addon_l10n_it_vat_settlement_date-
|
|
27
|
-
odoo_addon_l10n_it_vat_settlement_date-
|
|
28
|
-
odoo_addon_l10n_it_vat_settlement_date-
|
|
25
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info/METADATA,sha256=b9g2K5gOeW5RCKJJogm9GGDu0g-sV4bYPBrZjYxkgjY,4012
|
|
26
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
27
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
28
|
+
odoo_addon_l10n_it_vat_settlement_date-18.0.1.0.0.5.dist-info/RECORD,,
|