odoo-addon-l10n-it-vat-settlement-date 16.0.1.0.0.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.

Files changed (25) hide show
  1. odoo/addons/l10n_it_vat_settlement_date/README.rst +84 -0
  2. odoo/addons/l10n_it_vat_settlement_date/__init__.py +4 -0
  3. odoo/addons/l10n_it_vat_settlement_date/__manifest__.py +24 -0
  4. odoo/addons/l10n_it_vat_settlement_date/i18n/it.po +54 -0
  5. odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot +52 -0
  6. odoo/addons/l10n_it_vat_settlement_date/models/__init__.py +6 -0
  7. odoo/addons/l10n_it_vat_settlement_date/models/account_move.py +27 -0
  8. odoo/addons/l10n_it_vat_settlement_date/models/account_move_line.py +26 -0
  9. odoo/addons/l10n_it_vat_settlement_date/models/account_tax.py +48 -0
  10. odoo/addons/l10n_it_vat_settlement_date/models/account_vat_period_end_statement.py +17 -0
  11. odoo/addons/l10n_it_vat_settlement_date/readme/CONTRIBUTORS.md +2 -0
  12. odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md +7 -0
  13. odoo/addons/l10n_it_vat_settlement_date/reports/__init__.py +3 -0
  14. odoo/addons/l10n_it_vat_settlement_date/reports/report_registro_iva.xml +29 -0
  15. odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py +18 -0
  16. odoo/addons/l10n_it_vat_settlement_date/static/description/icon.png +0 -0
  17. odoo/addons/l10n_it_vat_settlement_date/static/description/index.html +426 -0
  18. odoo/addons/l10n_it_vat_settlement_date/tests/__init__.py +4 -0
  19. odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py +122 -0
  20. odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py +87 -0
  21. odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml +35 -0
  22. odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/METADATA +102 -0
  23. odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/RECORD +25 -0
  24. odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/WHEEL +5 -0
  25. odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,84 @@
1
+ =========================
2
+ ITA - Data competenza IVA
3
+ =========================
4
+
5
+ ..
6
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+ !! This file is generated by oca-gen-addon-readme !!
8
+ !! changes will be overwritten. !!
9
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ !! source digest: sha256:e0b1bc58061ab1ecbe7677c7e7f598b3a0b753603c790a480f5fcc725dd50a1b
11
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
+ :target: https://odoo-community.org/page/development-status
15
+ :alt: Beta
16
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
+ :alt: License: AGPL-3
19
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
20
+ :target: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date
21
+ :alt: OCA/l10n-italy
22
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
+ :target: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_vat_settlement_date
24
+ :alt: Translate me on Weblate
25
+ .. |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=16.0
27
+ :alt: Try me on Runboat
28
+
29
+ |badge1| |badge2| |badge3| |badge4| |badge5|
30
+
31
+ **Italiano**
32
+
33
+ Aggiunge la data competenza IVA per le fatture fornitori.
34
+
35
+ **English**
36
+
37
+ Add settlement date for bills.
38
+
39
+ **Table of contents**
40
+
41
+ .. contents::
42
+ :local:
43
+
44
+ Bug Tracker
45
+ ===========
46
+
47
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
48
+ In case of trouble, please check there if your issue has already been reported.
49
+ 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:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
51
+
52
+ Do not contact contributors directly about support or help with technical issues.
53
+
54
+ Credits
55
+ =======
56
+
57
+ Authors
58
+ -------
59
+
60
+ * Marco Colombo
61
+
62
+ Contributors
63
+ ------------
64
+
65
+ - `Aion Tech <https://aiontech.company/>`__:
66
+
67
+ - Simone Rubino <simone.rubino@aion-tech.it>
68
+
69
+ Maintainers
70
+ -----------
71
+
72
+ This module is maintained by the OCA.
73
+
74
+ .. image:: https://odoo-community.org/logo.png
75
+ :alt: Odoo Community Association
76
+ :target: https://odoo-community.org
77
+
78
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
79
+ mission is to support the collaborative development of Odoo features and
80
+ promote its widespread use.
81
+
82
+ This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date>`_ project on GitHub.
83
+
84
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,4 @@
1
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
2
+
3
+ from . import models
4
+ from . import reports
@@ -0,0 +1,24 @@
1
+ # Copyright 2021 Marco Colombo (<https://github/TheMule71)
2
+ # Copyright 2024 Simone Rubino - Aion Tech
3
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
+ {
6
+ "name": "ITA - Data competenza IVA",
7
+ "version": "16.0.1.0.0",
8
+ "category": "Localization/Italy",
9
+ "summary": "Settlement date for VAT Statement",
10
+ "license": "AGPL-3",
11
+ "author": "Marco Colombo, Odoo Community Association (OCA)",
12
+ "website": "https://github.com/OCA/l10n-italy"
13
+ "/tree/16.0/l10n_it_vat_settlement_date",
14
+ "depends": [
15
+ "account",
16
+ "account_tax_balance",
17
+ "account_vat_period_end_statement",
18
+ "l10n_it_vat_registries",
19
+ ],
20
+ "data": [
21
+ "views/account_move_views.xml",
22
+ "reports/report_registro_iva.xml",
23
+ ],
24
+ }
@@ -0,0 +1,54 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ # * l10n_it_vat_settlement_date
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Odoo Server 16.0\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2024-03-27 10:09+0000\n"
10
+ "PO-Revision-Date: 2024-03-27 10:09+0000\n"
11
+ "Last-Translator: \n"
12
+ "Language-Team: \n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: \n"
16
+ "Plural-Forms: \n"
17
+
18
+ #. module: l10n_it_vat_settlement_date
19
+ #: model_terms:ir.ui.view,arch_db:l10n_it_vat_settlement_date.report_registro_iva
20
+ msgid "<span>VAT Settlement date</span>"
21
+ msgstr "<span>Data competenza IVA</span>"
22
+
23
+ #. module: l10n_it_vat_settlement_date
24
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_move
25
+ msgid "Journal Entry"
26
+ msgstr "Registrazione contabile"
27
+
28
+ #. module: l10n_it_vat_settlement_date
29
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_move_line
30
+ msgid "Journal Item"
31
+ msgstr "Movimento contabile"
32
+
33
+ #. module: l10n_it_vat_settlement_date
34
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_tax
35
+ msgid "Tax"
36
+ msgstr "Imposta"
37
+
38
+ #. module: l10n_it_vat_settlement_date
39
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_bank_statement_line__l10n_it_vat_settlement_date
40
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move__l10n_it_vat_settlement_date
41
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move_line__l10n_it_vat_settlement_date
42
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_payment__l10n_it_vat_settlement_date
43
+ msgid "VAT Settlement Date"
44
+ msgstr "Data competenza IVA"
45
+
46
+ #. module: l10n_it_vat_settlement_date
47
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_report_account_vat_period_end_statement_vat_statement
48
+ msgid "VAT Statement report"
49
+ msgstr "Report liquidazione IVA"
50
+
51
+ #. module: l10n_it_vat_settlement_date
52
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_vat_period_end_statement
53
+ msgid "VAT period end statement"
54
+ msgstr "Dichiarazione IVA di fine periodo"
@@ -0,0 +1,52 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ # * l10n_it_vat_settlement_date
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Odoo Server 16.0\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "Last-Translator: \n"
10
+ "Language-Team: \n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: \n"
14
+ "Plural-Forms: \n"
15
+
16
+ #. module: l10n_it_vat_settlement_date
17
+ #: model_terms:ir.ui.view,arch_db:l10n_it_vat_settlement_date.report_registro_iva
18
+ msgid "<span>VAT Settlement date</span>"
19
+ msgstr ""
20
+
21
+ #. module: l10n_it_vat_settlement_date
22
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_move
23
+ msgid "Journal Entry"
24
+ msgstr ""
25
+
26
+ #. module: l10n_it_vat_settlement_date
27
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_move_line
28
+ msgid "Journal Item"
29
+ msgstr ""
30
+
31
+ #. module: l10n_it_vat_settlement_date
32
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_tax
33
+ msgid "Tax"
34
+ msgstr ""
35
+
36
+ #. module: l10n_it_vat_settlement_date
37
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_bank_statement_line__l10n_it_vat_settlement_date
38
+ #: model:ir.model.fields,field_description:l10n_it_vat_settlement_date.field_account_move__l10n_it_vat_settlement_date
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
+ msgid "VAT Settlement Date"
42
+ msgstr ""
43
+
44
+ #. module: l10n_it_vat_settlement_date
45
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_report_account_vat_period_end_statement_vat_statement
46
+ msgid "VAT Statement report"
47
+ msgstr ""
48
+
49
+ #. module: l10n_it_vat_settlement_date
50
+ #: model:ir.model,name:l10n_it_vat_settlement_date.model_account_vat_period_end_statement
51
+ msgid "VAT period end statement"
52
+ msgstr ""
@@ -0,0 +1,6 @@
1
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2
+
3
+ from . import account_move
4
+ from . import account_move_line
5
+ from . import account_tax
6
+ from . import account_vat_period_end_statement
@@ -0,0 +1,27 @@
1
+ # Copyright (c) 2021 Marco Colombo (https://github/TheMule71)
2
+ # Copyright 2024 Simone Rubino - Aion Tech
3
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
+ from odoo import api, fields, models
6
+
7
+
8
+ class AccountMove(models.Model):
9
+ _inherit = "account.move"
10
+
11
+ l10n_it_vat_settlement_date = fields.Date(
12
+ string="VAT Settlement Date",
13
+ compute="_compute_l10n_it_vat_settlement_date",
14
+ store=True,
15
+ readonly=False,
16
+ )
17
+
18
+ @api.depends(
19
+ "date",
20
+ "invoice_date",
21
+ )
22
+ def _compute_l10n_it_vat_settlement_date(self):
23
+ for move in self:
24
+ settlement_date = (
25
+ move.date or move.invoice_date or fields.Date.context_today(move)
26
+ )
27
+ move.l10n_it_vat_settlement_date = settlement_date
@@ -0,0 +1,26 @@
1
+ # Copyright (c) 2021 Marco Colombo (https://github/TheMule71)
2
+ # Copyright 2024 Simone Rubino - Aion Tech
3
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
+ from odoo import api, fields, models
6
+
7
+
8
+ class AccountMoveLine(models.Model):
9
+ _inherit = "account.move.line"
10
+
11
+ l10n_it_vat_settlement_date = fields.Date(
12
+ string="VAT Settlement Date",
13
+ compute="_compute_l10n_it_vat_settlement_date",
14
+ index=True,
15
+ store=True,
16
+ copy=False,
17
+ readonly=False,
18
+ )
19
+
20
+ @api.depends(
21
+ "move_id.l10n_it_vat_settlement_date",
22
+ )
23
+ def _compute_l10n_it_vat_settlement_date(self):
24
+ for line in self:
25
+ move = line.move_id
26
+ line.l10n_it_vat_settlement_date = move.l10n_it_vat_settlement_date
@@ -0,0 +1,48 @@
1
+ # Copyright (c) 2021 Marco Colombo (https://github/TheMule71)
2
+ # Copyright 2024 Simone Rubino - Aion Tech
3
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
+ from odoo import models
6
+ from odoo.osv import expression
7
+
8
+
9
+ class AccountTax(models.Model):
10
+ _inherit = "account.tax"
11
+
12
+ def _get_settlement_date_domain(self, domain):
13
+ """Create a copy of `domain`
14
+ where the settlement date is used instead of move date."""
15
+ # Substitute `date` with the settlement date in domain terms
16
+ settlement_domain = []
17
+ for term in domain:
18
+ if term[0] == "date":
19
+ # 'tuple' object does not support item assignment
20
+ # so we have to create another term with the new date
21
+ term = "l10n_it_vat_settlement_date", *term[1:]
22
+ settlement_domain.append(term)
23
+ return settlement_domain
24
+
25
+ def _inject_vat_settlement_date_domain(self, domain):
26
+ """Create a new domain where the settlement date is used instead of move date.
27
+
28
+ The domain falls back on the move date if the settlement date is empty.
29
+ """
30
+ settlement_domain = self._get_settlement_date_domain(domain)
31
+ domain = expression.OR(
32
+ [
33
+ settlement_domain,
34
+ expression.AND(
35
+ [
36
+ [("l10n_it_vat_settlement_date", "=", None)],
37
+ domain,
38
+ ]
39
+ ),
40
+ ]
41
+ )
42
+ return domain
43
+
44
+ def get_move_line_partial_domain(self, from_date, to_date, company_ids):
45
+ domain = super().get_move_line_partial_domain(from_date, to_date, company_ids)
46
+ if self.env.context.get("use_l10n_it_vat_settlement_date"):
47
+ domain = self._inject_vat_settlement_date_domain(domain)
48
+ return domain
@@ -0,0 +1,17 @@
1
+ # Copyright 2024 Simone Rubino - Aion Tech
2
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+
4
+
5
+ from odoo import models
6
+
7
+
8
+ class AccountVatPeriodEndStatement(models.Model):
9
+ _inherit = "account.vat.period.end.statement"
10
+
11
+ def compute_amounts(self):
12
+ return super(
13
+ AccountVatPeriodEndStatement,
14
+ self.with_context(
15
+ use_l10n_it_vat_settlement_date=True,
16
+ ),
17
+ ).compute_amounts()
@@ -0,0 +1,2 @@
1
+ - [Aion Tech](https://aiontech.company/):
2
+ - Simone Rubino \<<simone.rubino@aion-tech.it>\>
@@ -0,0 +1,7 @@
1
+ **Italiano**
2
+
3
+ Aggiunge la data competenza IVA per le fatture fornitori.
4
+
5
+ **English**
6
+
7
+ Add settlement date for bills.
@@ -0,0 +1,3 @@
1
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2
+
3
+ from . import vat_statement
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!--
3
+ ~ Copyright 2024 Simone Rubino - Aion Tech
4
+ ~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
5
+ -->
6
+ <odoo>
7
+ <template
8
+ id="report_registro_iva"
9
+ inherit_id="l10n_it_vat_registries.report_registro_iva"
10
+ >
11
+ <!-- Add one column to tax's and all parent tables to keep them aligned -->
12
+ <xpath expr="//t[@t-set='columns_number']" position="after">
13
+ <t t-set="columns_number" t-value="columns_number + 1" />
14
+ </xpath>
15
+ <xpath expr="//tr[@name='vat_header_invoice']" position="inside">
16
+ <th />
17
+ </xpath>
18
+ <xpath expr="//tr[@name='vat_header_tax']" position="inside">
19
+ <th class="right_with_line_bottom">
20
+ <span>VAT Settlement date</span>
21
+ </th>
22
+ </xpath>
23
+ <xpath expr="//tr[@name='vat_body_tax']" position="inside">
24
+ <td class="right_without_line">
25
+ <div t-field="move.l10n_it_vat_settlement_date" />
26
+ </td>
27
+ </xpath>
28
+ </template>
29
+ </odoo>
@@ -0,0 +1,18 @@
1
+ # Copyright 2024 Simone Rubino - Aion Tech
2
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+
4
+
5
+ from odoo import api, models
6
+
7
+
8
+ class VatStatement(models.AbstractModel):
9
+ _inherit = "report.account_vat_period_end_statement.vat_statement"
10
+
11
+ @api.model
12
+ def _get_report_values(self, docids, data=None):
13
+ return super(
14
+ VatStatement,
15
+ self.with_context(
16
+ use_l10n_it_vat_settlement_date=True,
17
+ ),
18
+ )._get_report_values(docids, data=data)
@@ -0,0 +1,426 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
+ <title>ITA - Data competenza IVA</title>
7
+ <style type="text/css">
8
+
9
+ /*
10
+ :Author: David Goodger (goodger@python.org)
11
+ :Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
12
+ :Copyright: This stylesheet has been placed in the public domain.
13
+
14
+ Default cascading style sheet for the HTML output of Docutils.
15
+
16
+ See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
17
+ customize this style sheet.
18
+ */
19
+
20
+ /* used to remove borders from tables and images */
21
+ .borderless, table.borderless td, table.borderless th {
22
+ border: 0 }
23
+
24
+ table.borderless td, table.borderless th {
25
+ /* Override padding for "table.docutils td" with "! important".
26
+ The right padding separates the table cells. */
27
+ padding: 0 0.5em 0 0 ! important }
28
+
29
+ .first {
30
+ /* Override more specific margin styles with "! important". */
31
+ margin-top: 0 ! important }
32
+
33
+ .last, .with-subtitle {
34
+ margin-bottom: 0 ! important }
35
+
36
+ .hidden {
37
+ display: none }
38
+
39
+ .subscript {
40
+ vertical-align: sub;
41
+ font-size: smaller }
42
+
43
+ .superscript {
44
+ vertical-align: super;
45
+ font-size: smaller }
46
+
47
+ a.toc-backref {
48
+ text-decoration: none ;
49
+ color: black }
50
+
51
+ blockquote.epigraph {
52
+ margin: 2em 5em ; }
53
+
54
+ dl.docutils dd {
55
+ margin-bottom: 0.5em }
56
+
57
+ object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
58
+ overflow: hidden;
59
+ }
60
+
61
+ /* Uncomment (and remove this text!) to get bold-faced definition list terms
62
+ dl.docutils dt {
63
+ font-weight: bold }
64
+ */
65
+
66
+ div.abstract {
67
+ margin: 2em 5em }
68
+
69
+ div.abstract p.topic-title {
70
+ font-weight: bold ;
71
+ text-align: center }
72
+
73
+ div.admonition, div.attention, div.caution, div.danger, div.error,
74
+ div.hint, div.important, div.note, div.tip, div.warning {
75
+ margin: 2em ;
76
+ border: medium outset ;
77
+ padding: 1em }
78
+
79
+ div.admonition p.admonition-title, div.hint p.admonition-title,
80
+ div.important p.admonition-title, div.note p.admonition-title,
81
+ div.tip p.admonition-title {
82
+ font-weight: bold ;
83
+ font-family: sans-serif }
84
+
85
+ div.attention p.admonition-title, div.caution p.admonition-title,
86
+ div.danger p.admonition-title, div.error p.admonition-title,
87
+ div.warning p.admonition-title, .code .error {
88
+ color: red ;
89
+ font-weight: bold ;
90
+ font-family: sans-serif }
91
+
92
+ /* Uncomment (and remove this text!) to get reduced vertical space in
93
+ compound paragraphs.
94
+ div.compound .compound-first, div.compound .compound-middle {
95
+ margin-bottom: 0.5em }
96
+
97
+ div.compound .compound-last, div.compound .compound-middle {
98
+ margin-top: 0.5em }
99
+ */
100
+
101
+ div.dedication {
102
+ margin: 2em 5em ;
103
+ text-align: center ;
104
+ font-style: italic }
105
+
106
+ div.dedication p.topic-title {
107
+ font-weight: bold ;
108
+ font-style: normal }
109
+
110
+ div.figure {
111
+ margin-left: 2em ;
112
+ margin-right: 2em }
113
+
114
+ div.footer, div.header {
115
+ clear: both;
116
+ font-size: smaller }
117
+
118
+ div.line-block {
119
+ display: block ;
120
+ margin-top: 1em ;
121
+ margin-bottom: 1em }
122
+
123
+ div.line-block div.line-block {
124
+ margin-top: 0 ;
125
+ margin-bottom: 0 ;
126
+ margin-left: 1.5em }
127
+
128
+ div.sidebar {
129
+ margin: 0 0 0.5em 1em ;
130
+ border: medium outset ;
131
+ padding: 1em ;
132
+ background-color: #ffffee ;
133
+ width: 40% ;
134
+ float: right ;
135
+ clear: right }
136
+
137
+ div.sidebar p.rubric {
138
+ font-family: sans-serif ;
139
+ font-size: medium }
140
+
141
+ div.system-messages {
142
+ margin: 5em }
143
+
144
+ div.system-messages h1 {
145
+ color: red }
146
+
147
+ div.system-message {
148
+ border: medium outset ;
149
+ padding: 1em }
150
+
151
+ div.system-message p.system-message-title {
152
+ color: red ;
153
+ font-weight: bold }
154
+
155
+ div.topic {
156
+ margin: 2em }
157
+
158
+ h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
159
+ h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
160
+ margin-top: 0.4em }
161
+
162
+ h1.title {
163
+ text-align: center }
164
+
165
+ h2.subtitle {
166
+ text-align: center }
167
+
168
+ hr.docutils {
169
+ width: 75% }
170
+
171
+ img.align-left, .figure.align-left, object.align-left, table.align-left {
172
+ clear: left ;
173
+ float: left ;
174
+ margin-right: 1em }
175
+
176
+ img.align-right, .figure.align-right, object.align-right, table.align-right {
177
+ clear: right ;
178
+ float: right ;
179
+ margin-left: 1em }
180
+
181
+ img.align-center, .figure.align-center, object.align-center {
182
+ display: block;
183
+ margin-left: auto;
184
+ margin-right: auto;
185
+ }
186
+
187
+ table.align-center {
188
+ margin-left: auto;
189
+ margin-right: auto;
190
+ }
191
+
192
+ .align-left {
193
+ text-align: left }
194
+
195
+ .align-center {
196
+ clear: both ;
197
+ text-align: center }
198
+
199
+ .align-right {
200
+ text-align: right }
201
+
202
+ /* reset inner alignment in figures */
203
+ div.align-right {
204
+ text-align: inherit }
205
+
206
+ /* div.align-center * { */
207
+ /* text-align: left } */
208
+
209
+ .align-top {
210
+ vertical-align: top }
211
+
212
+ .align-middle {
213
+ vertical-align: middle }
214
+
215
+ .align-bottom {
216
+ vertical-align: bottom }
217
+
218
+ ol.simple, ul.simple {
219
+ margin-bottom: 1em }
220
+
221
+ ol.arabic {
222
+ list-style: decimal }
223
+
224
+ ol.loweralpha {
225
+ list-style: lower-alpha }
226
+
227
+ ol.upperalpha {
228
+ list-style: upper-alpha }
229
+
230
+ ol.lowerroman {
231
+ list-style: lower-roman }
232
+
233
+ ol.upperroman {
234
+ list-style: upper-roman }
235
+
236
+ p.attribution {
237
+ text-align: right ;
238
+ margin-left: 50% }
239
+
240
+ p.caption {
241
+ font-style: italic }
242
+
243
+ p.credits {
244
+ font-style: italic ;
245
+ font-size: smaller }
246
+
247
+ p.label {
248
+ white-space: nowrap }
249
+
250
+ p.rubric {
251
+ font-weight: bold ;
252
+ font-size: larger ;
253
+ color: maroon ;
254
+ text-align: center }
255
+
256
+ p.sidebar-title {
257
+ font-family: sans-serif ;
258
+ font-weight: bold ;
259
+ font-size: larger }
260
+
261
+ p.sidebar-subtitle {
262
+ font-family: sans-serif ;
263
+ font-weight: bold }
264
+
265
+ p.topic-title {
266
+ font-weight: bold }
267
+
268
+ pre.address {
269
+ margin-bottom: 0 ;
270
+ margin-top: 0 ;
271
+ font: inherit }
272
+
273
+ pre.literal-block, pre.doctest-block, pre.math, pre.code {
274
+ margin-left: 2em ;
275
+ margin-right: 2em }
276
+
277
+ pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code, code { background-color: #eeeeee }
279
+ pre.code .comment, code .comment { color: #5C6576 }
280
+ pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
281
+ pre.code .literal.string, code .literal.string { color: #0C5404 }
282
+ pre.code .name.builtin, code .name.builtin { color: #352B84 }
283
+ pre.code .deleted, code .deleted { background-color: #DEB0A1}
284
+ pre.code .inserted, code .inserted { background-color: #A3D289}
285
+
286
+ span.classifier {
287
+ font-family: sans-serif ;
288
+ font-style: oblique }
289
+
290
+ span.classifier-delimiter {
291
+ font-family: sans-serif ;
292
+ font-weight: bold }
293
+
294
+ span.interpreted {
295
+ font-family: sans-serif }
296
+
297
+ span.option {
298
+ white-space: nowrap }
299
+
300
+ span.pre {
301
+ white-space: pre }
302
+
303
+ span.problematic {
304
+ color: red }
305
+
306
+ span.section-subtitle {
307
+ /* font-size relative to parent (h1..h6 element) */
308
+ font-size: 80% }
309
+
310
+ table.citation {
311
+ border-left: solid 1px gray;
312
+ margin-left: 1px }
313
+
314
+ table.docinfo {
315
+ margin: 2em 4em }
316
+
317
+ table.docutils {
318
+ margin-top: 0.5em ;
319
+ margin-bottom: 0.5em }
320
+
321
+ table.footnote {
322
+ border-left: solid 1px black;
323
+ margin-left: 1px }
324
+
325
+ table.docutils td, table.docutils th,
326
+ table.docinfo td, table.docinfo th {
327
+ padding-left: 0.5em ;
328
+ padding-right: 0.5em ;
329
+ vertical-align: top }
330
+
331
+ table.docutils th.field-name, table.docinfo th.docinfo-name {
332
+ font-weight: bold ;
333
+ text-align: left ;
334
+ white-space: nowrap ;
335
+ padding-left: 0 }
336
+
337
+ /* "booktabs" style (no vertical lines) */
338
+ table.docutils.booktabs {
339
+ border: 0px;
340
+ border-top: 2px solid;
341
+ border-bottom: 2px solid;
342
+ border-collapse: collapse;
343
+ }
344
+ table.docutils.booktabs * {
345
+ border: 0px;
346
+ }
347
+ table.docutils.booktabs th {
348
+ border-bottom: thin solid;
349
+ text-align: left;
350
+ }
351
+
352
+ h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
353
+ h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
354
+ font-size: 100% }
355
+
356
+ ul.auto-toc {
357
+ list-style-type: none }
358
+
359
+ </style>
360
+ </head>
361
+ <body>
362
+ <div class="document" id="ita-data-competenza-iva">
363
+ <h1 class="title">ITA - Data competenza IVA</h1>
364
+
365
+ <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
366
+ !! This file is generated by oca-gen-addon-readme !!
367
+ !! changes will be overwritten. !!
368
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
+ !! source digest: sha256:e0b1bc58061ab1ecbe7677c7e7f598b3a0b753603c790a480f5fcc725dd50a1b
370
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/l10n-italy/tree/16.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-16-0/l10n-italy-16-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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
+ <p><strong>Italiano</strong></p>
373
+ <p>Aggiunge la data competenza IVA per le fatture fornitori.</p>
374
+ <p><strong>English</strong></p>
375
+ <p>Add settlement date for bills.</p>
376
+ <p><strong>Table of contents</strong></p>
377
+ <div class="contents local topic" id="contents">
378
+ <ul class="simple">
379
+ <li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
380
+ <li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
381
+ <li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
382
+ <li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
383
+ <li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
384
+ </ul>
385
+ </li>
386
+ </ul>
387
+ </div>
388
+ <div class="section" id="bug-tracker">
389
+ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
390
+ <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
391
+ In case of trouble, please check there if your issue has already been reported.
392
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
393
+ <a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
394
+ <p>Do not contact contributors directly about support or help with technical issues.</p>
395
+ </div>
396
+ <div class="section" id="credits">
397
+ <h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
398
+ <div class="section" id="authors">
399
+ <h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
400
+ <ul class="simple">
401
+ <li>Marco Colombo</li>
402
+ </ul>
403
+ </div>
404
+ <div class="section" id="contributors">
405
+ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
406
+ <ul class="simple">
407
+ <li><a class="reference external" href="https://aiontech.company/">Aion Tech</a>:<ul>
408
+ <li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;aion-tech.it">simone.rubino&#64;aion-tech.it</a>&gt;</li>
409
+ </ul>
410
+ </li>
411
+ </ul>
412
+ </div>
413
+ <div class="section" id="maintainers">
414
+ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
415
+ <p>This module is maintained by the OCA.</p>
416
+ <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
417
+ <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
418
+ mission is to support the collaborative development of Odoo features and
419
+ promote its widespread use.</p>
420
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date">OCA/l10n-italy</a> project on GitHub.</p>
421
+ <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>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </body>
426
+ </html>
@@ -0,0 +1,4 @@
1
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2
+
3
+ from . import test_vat_period_end_statement
4
+ from . import test_vat_registry
@@ -0,0 +1,122 @@
1
+ # Copyright 2024 Simone Rubino - Aion Tech
2
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
+
4
+ from dateutil.relativedelta import relativedelta
5
+
6
+ from odoo import fields
7
+ from odoo.tests import tagged
8
+ from odoo.tools import formatLang
9
+
10
+ from odoo.addons.account_vat_period_end_statement.tests.common import (
11
+ TestVATStatementCommon,
12
+ )
13
+
14
+
15
+ @tagged("post_install", "-at_install")
16
+ class TestVATPeriodEndStatement(TestVATStatementCommon):
17
+ def test_statement(self):
18
+ """The settlement date decides whether a move is in the statement."""
19
+ # Arrange: a date range and a bill out of that range
20
+ current_period = self.current_period
21
+ tax = self.account_tax_22_credit
22
+ out_of_period_date = current_period.date_end + relativedelta(days=+1)
23
+ bill = self._create_vendor_bill(
24
+ self.env.ref("base.res_partner_4"),
25
+ out_of_period_date,
26
+ 100,
27
+ tax,
28
+ )
29
+ statement = self._get_statement(
30
+ current_period,
31
+ fields.Date.today(),
32
+ tax.vat_statement_account_id,
33
+ )
34
+ authority_vat_amount = statement.authority_vat_amount
35
+ # pre-condition
36
+ period_settled_moves = self.invoice_model.search(
37
+ current_period.get_domain("l10n_it_vat_settlement_date")
38
+ )
39
+ self.assertNotIn(bill, period_settled_moves)
40
+
41
+ # Act: move the settlement date in the statement period
42
+ bill.l10n_it_vat_settlement_date = current_period.date_end + relativedelta(
43
+ days=-1
44
+ )
45
+
46
+ # Assert: the statement now contains the bill
47
+ period_settled_moves = self.invoice_model.search(
48
+ current_period.get_domain("l10n_it_vat_settlement_date")
49
+ )
50
+ self.assertIn(bill, period_settled_moves)
51
+
52
+ statement.compute_amounts()
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
+ )
64
+ statement.compute_amounts()
65
+ new_authority_vat_amount = statement.authority_vat_amount
66
+ self.assertNotEqual(
67
+ authority_vat_amount,
68
+ new_authority_vat_amount,
69
+ )
70
+ self.assertEqual(
71
+ new_authority_vat_amount, authority_vat_amount + bill.amount_tax_signed
72
+ )
73
+
74
+ def _get_report(self, statement):
75
+ """Print the Vat Period End Statement of `statement`."""
76
+ report_action = self.env.ref(
77
+ "account_vat_period_end_statement.report_vat_statement"
78
+ )
79
+ html, _report_type = self.env["ir.actions.report"]._render_qweb_html(
80
+ report_action.report_name, statement.ids
81
+ )
82
+ return html
83
+
84
+ def test_report(self):
85
+ """When the settlement date is out of period,
86
+ the tax amounts are not shown in the report."""
87
+ # Arrange
88
+ current_period = self.current_period
89
+ tax = self.account_tax_22_credit
90
+ in_period_date = current_period.date_end + relativedelta(days=-1)
91
+ bill = self._create_vendor_bill(
92
+ self.env.ref("base.res_partner_4"),
93
+ in_period_date,
94
+ 100,
95
+ tax,
96
+ )
97
+ out_of_period_date = current_period.date_end + relativedelta(days=+1)
98
+ bill.l10n_it_vat_settlement_date = out_of_period_date
99
+ statement = self._get_statement(
100
+ current_period,
101
+ fields.Date.today(),
102
+ tax.vat_statement_account_id,
103
+ )
104
+ # pre-condition
105
+ period_settled_moves = self.invoice_model.search(
106
+ current_period.get_domain("l10n_it_vat_settlement_date")
107
+ )
108
+ self.assertNotIn(bill, period_settled_moves)
109
+
110
+ # Act
111
+ # Invalidate the tax's cache otherwise the same (correct) values
112
+ # computed by the statement are printed in the report
113
+ tax.invalidate_recordset(
114
+ fnames=[
115
+ "deductible_balance",
116
+ ],
117
+ )
118
+ report_content = self._get_report(statement)
119
+
120
+ # Assert
121
+ report_content = report_content.decode()
122
+ self.assertNotIn(formatLang(statement.env, bill.amount_tax), report_content)
@@ -0,0 +1,87 @@
1
+ # Copyright 2024 Simone Rubino - Aion Tech
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 import Command
9
+ from odoo.tests import Form, tagged
10
+ from odoo.tools import format_date
11
+
12
+ from odoo.addons.account.tests.common import AccountTestInvoicingCommon
13
+
14
+
15
+ @tagged("post_install", "-at_install")
16
+ class TestVATRegistry(AccountTestInvoicingCommon):
17
+ @classmethod
18
+ def setUpClass(cls, chart_template_ref=None):
19
+ super().setUpClass(chart_template_ref=chart_template_ref)
20
+ cls.supplier_bill = cls.init_invoice(
21
+ "in_invoice",
22
+ invoice_date=datetime.date(2020, 6, 15),
23
+ amounts=[
24
+ 100,
25
+ ],
26
+ post=True,
27
+ )
28
+ cls.supplier_journal = cls.company_data["default_journal_purchase"]
29
+ cls.supplier_tax_registry = cls.env["account.tax.registry"].create(
30
+ {
31
+ "name": "Supplier",
32
+ "layout_type": "supplier",
33
+ "journal_ids": [
34
+ Command.set(cls.supplier_journal.ids),
35
+ ],
36
+ }
37
+ )
38
+
39
+ def _get_wizard(self, from_date, to_date, tax_registry):
40
+ """Create the wizard to print the VAT Registry."""
41
+ wizard_form = Form(self.env["wizard.registro.iva"])
42
+ wizard_form.from_date = from_date
43
+ wizard_form.to_date = to_date
44
+ wizard_form.tax_registry_id = tax_registry
45
+ wizard = wizard_form.save()
46
+ return wizard
47
+
48
+ def _get_report(self, from_date, to_date, tax_registry):
49
+ """Print the VAT Registry."""
50
+ wizard = self._get_wizard(from_date, to_date, tax_registry)
51
+
52
+ report_action = wizard.with_context(discard_logo_check=True).print_registro()
53
+ report_name = report_action["report_name"]
54
+ report_context = report_action["context"]
55
+ report_data = report_action["data"]
56
+ html, _report_type = (
57
+ self.env["ir.actions.report"]
58
+ .with_context(**report_context)
59
+ ._render_qweb_html(report_name, wizard.ids, data=report_data)
60
+ )
61
+ return html
62
+
63
+ def test_report(self):
64
+ """The settlement date is shown in the report."""
65
+ # Arrange: a date range and a bill in that range
66
+ bill = self.supplier_bill
67
+ accounting_date = bill.date
68
+ settlement_date = bill.date + relativedelta(years=1)
69
+ bill.l10n_it_vat_settlement_date = settlement_date
70
+ tax_registry = self.supplier_tax_registry
71
+ from_date = datetime.date(2020, 1, 1)
72
+ to_date = datetime.date(2020, 12, 31)
73
+ # pre-condition: the report contains the bill
74
+ self.assertTrue(from_date <= accounting_date <= to_date)
75
+ self.assertNotEqual(accounting_date, settlement_date)
76
+
77
+ # Act
78
+ html = self._get_report(
79
+ from_date,
80
+ to_date,
81
+ tax_registry,
82
+ )
83
+
84
+ # Assert
85
+ report_content = html.decode()
86
+ self.assertIn(bill.name, report_content)
87
+ self.assertIn(format_date(self.env, settlement_date), report_content)
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!--
3
+ Copyright (c) 2021 Marco Colombo (https://github.com/TheMule71)
4
+ Copyright 2024 Simone Rubino - Aion Tech
5
+ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
6
+ -->
7
+ <odoo>
8
+ <record id="view_move_form" model="ir.ui.view">
9
+ <field name="name">Add Settlement date to Journal Entry form view</field>
10
+ <field name="model">account.move</field>
11
+ <field name="inherit_id" ref="account.view_move_form" />
12
+ <field name="arch" type="xml">
13
+ <field name="invoice_date" position="after">
14
+ <field
15
+ name="l10n_it_vat_settlement_date"
16
+ attrs="{
17
+ 'invisible': [
18
+ ('move_type', 'not in', (
19
+ 'in_invoice',
20
+ 'in_receipt',
21
+ 'in_refund',
22
+ ),
23
+ ),
24
+ ],
25
+ }"
26
+ options="{
27
+ 'datepicker': {
28
+ 'warn_future': true,
29
+ },
30
+ }"
31
+ />
32
+ </field>
33
+ </field>
34
+ </record>
35
+ </odoo>
@@ -0,0 +1,102 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-l10n_it_vat_settlement_date
3
+ Version: 16.0.1.0.0.2
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: odoo-addon-account_tax_balance>=16.0dev,<16.1dev
6
+ Requires-Dist: odoo-addon-account_vat_period_end_statement>=16.0dev,<16.1dev
7
+ Requires-Dist: odoo-addon-l10n_it_vat_registries>=16.0dev,<16.1dev
8
+ Requires-Dist: odoo>=16.0a,<16.1dev
9
+ Summary: Settlement date for VAT Statement
10
+ Home-page: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date
11
+ License: AGPL-3
12
+ Author: Marco Colombo, Odoo Community Association (OCA)
13
+ Author-email: support@odoo-community.org
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Framework :: Odoo
16
+ Classifier: Framework :: Odoo :: 16.0
17
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
18
+
19
+ =========================
20
+ ITA - Data competenza IVA
21
+ =========================
22
+
23
+ ..
24
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
+ !! This file is generated by oca-gen-addon-readme !!
26
+ !! changes will be overwritten. !!
27
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
+ !! source digest: sha256:e0b1bc58061ab1ecbe7677c7e7f598b3a0b753603c790a480f5fcc725dd50a1b
29
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
+
31
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
32
+ :target: https://odoo-community.org/page/development-status
33
+ :alt: Beta
34
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
35
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
36
+ :alt: License: AGPL-3
37
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
38
+ :target: https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date
39
+ :alt: OCA/l10n-italy
40
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
41
+ :target: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_vat_settlement_date
42
+ :alt: Translate me on Weblate
43
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
44
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=16.0
45
+ :alt: Try me on Runboat
46
+
47
+ |badge1| |badge2| |badge3| |badge4| |badge5|
48
+
49
+ **Italiano**
50
+
51
+ Aggiunge la data competenza IVA per le fatture fornitori.
52
+
53
+ **English**
54
+
55
+ Add settlement date for bills.
56
+
57
+ **Table of contents**
58
+
59
+ .. contents::
60
+ :local:
61
+
62
+ Bug Tracker
63
+ ===========
64
+
65
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
66
+ In case of trouble, please check there if your issue has already been reported.
67
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
68
+ `feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_settlement_date%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
69
+
70
+ Do not contact contributors directly about support or help with technical issues.
71
+
72
+ Credits
73
+ =======
74
+
75
+ Authors
76
+ -------
77
+
78
+ * Marco Colombo
79
+
80
+ Contributors
81
+ ------------
82
+
83
+ - `Aion Tech <https://aiontech.company/>`__:
84
+
85
+ - Simone Rubino <simone.rubino@aion-tech.it>
86
+
87
+ Maintainers
88
+ -----------
89
+
90
+ This module is maintained by the OCA.
91
+
92
+ .. image:: https://odoo-community.org/logo.png
93
+ :alt: Odoo Community Association
94
+ :target: https://odoo-community.org
95
+
96
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
97
+ mission is to support the collaborative development of Odoo features and
98
+ promote its widespread use.
99
+
100
+ This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/16.0/l10n_it_vat_settlement_date>`_ project on GitHub.
101
+
102
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,25 @@
1
+ odoo/addons/l10n_it_vat_settlement_date/README.rst,sha256=YBotdUQ6ydmahZdR_DtCL-pgw3sp-62M-KQqnCNfh-c,2987
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=P-uTgBF5qc8rR24G3xZAsdn0oCZbw1bQCecxuy1yvv4,782
4
+ odoo/addons/l10n_it_vat_settlement_date/i18n/it.po,sha256=soBq5cUSrgneTPTRAuqqb-SffmrXDFq93T7H_qN62D8,2151
5
+ odoo/addons/l10n_it_vat_settlement_date/i18n/l10n_it_vat_settlement_date.pot,sha256=ea-9OdOseW9Jr9MB6YqDkHJmoN1VJcbl1FEKe--0XwA,1906
6
+ odoo/addons/l10n_it_vat_settlement_date/models/__init__.py,sha256=GCp7uIgNnH3_t9CAXFEKa5RKKckuw3hKt2w2lXgLlFM,198
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/readme/CONTRIBUTORS.md,sha256=R4s_rEjz3qGtPTdxzX_65krdjaofkBy7cSRab8lvwC8,93
12
+ odoo/addons/l10n_it_vat_settlement_date/readme/DESCRIPTION.md,sha256=m77bKNA4RnVzJY7LgoxP5x4nDnOIQxQ8lGcZ3khgoP4,117
13
+ odoo/addons/l10n_it_vat_settlement_date/reports/__init__.py,sha256=sMZbGtwHW6RmjdX-fq1OwYZBEeVdNrdcQwbu_avktJk,95
14
+ odoo/addons/l10n_it_vat_settlement_date/reports/report_registro_iva.xml,sha256=7s3OmlHqVA1ot7r6BYxpMlBLbAw-q_x7OY-6DyxVG1g,1077
15
+ odoo/addons/l10n_it_vat_settlement_date/reports/vat_statement.py,sha256=u1NS9oNwVoo8wCY3z3Yrj4hqfyAtksGKp50aulG9Ptc,521
16
+ odoo/addons/l10n_it_vat_settlement_date/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
17
+ odoo/addons/l10n_it_vat_settlement_date/static/description/index.html,sha256=omQ5Eb4WWhDdSB4YDoIDIqrlJnj4jCHRo0tLs3D43nk,12309
18
+ odoo/addons/l10n_it_vat_settlement_date/tests/__init__.py,sha256=WDQxt8-Pe2NkbVKzg1Yoq2Q3e_yoqJRbHG3ky7hVWS0,143
19
+ odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_period_end_statement.py,sha256=SEnxOYF6CNpsoYu_o5J2gpnQa38PnHpbRXqJBEn-Y88,4372
20
+ odoo/addons/l10n_it_vat_settlement_date/tests/test_vat_registry.py,sha256=aTbNvCfyy-ZPsLJOtuhoL760wQ-6akKXWoZ4XJ1AfR0,3127
21
+ odoo/addons/l10n_it_vat_settlement_date/views/account_move_views.xml,sha256=ScqlZ9rl-6FnS0j_7vVFA0uwfD3DGomJ-NAC3rp2mKc,1294
22
+ odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/METADATA,sha256=w20Pa7MLHiRABTgGYnHvG8igYaHOsvhp1NQe791QSrI,3771
23
+ odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
24
+ odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
25
+ odoo_addon_l10n_it_vat_settlement_date-16.0.1.0.0.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: Whool 1.0.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+