odoo-addon-l10n-it-vat-registries 18.0.1.0.1__py3-none-any.whl → 18.0.1.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.
@@ -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 - Registri IVA
3
7
  ==================
@@ -7,13 +11,13 @@ ITA - Registri IVA
7
11
  !! This file is generated by oca-gen-addon-readme !!
8
12
  !! changes will be overwritten. !!
9
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:2a8c789a996d22f66827624d586939931a8e2278acd8d811c51f018a11001a06
14
+ !! source digest: sha256:95f7eada30819e4f1670300d0575bb6795a3407a3dd740296489a5f8cd512ca2
11
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
16
 
13
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
14
18
  :target: https://odoo-community.org/page/development-status
15
19
  :alt: Production/Stable
16
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
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
@@ -6,7 +6,7 @@
6
6
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
7
7
 
8
8
  {
9
- "version": "18.0.1.0.1",
9
+ "version": "18.0.1.0.2",
10
10
  "name": "ITA - Registri IVA",
11
11
  "category": "Localization/Italy",
12
12
  "author": "Agile Business Group, Odoo Community Association (OCA), LinkIt Srl",
@@ -64,19 +64,26 @@ class ReportRegistroIva(models.AbstractModel):
64
64
  res = {}
65
65
 
66
66
  for move_line in move_lines:
67
- if not (move_line.tax_line_id or move_line.tax_ids):
67
+ taxes = move_line.tax_ids.filtered(
68
+ lambda tax: tax._l10n_it_get_tax_kind() in [None, "vat"]
69
+ )
70
+ tax_line = move_line.tax_line_id.filtered(
71
+ lambda tax: tax._l10n_it_get_tax_kind() in [None, "vat"]
72
+ )
73
+
74
+ if not (tax_line or taxes):
68
75
  continue
69
76
 
70
- if move_line.tax_ids and len(move_line.tax_ids) != 1:
77
+ if taxes and len(taxes) != 1:
71
78
  raise UserError(
72
79
  _("Move line %s has too many base taxes") % move_line.name
73
80
  )
74
81
 
75
- if move_line.tax_ids:
76
- tax = move_line.tax_ids[0]
82
+ if taxes:
83
+ tax = taxes[0]
77
84
  is_base = True
78
85
  else:
79
- tax = move_line.tax_line_id
86
+ tax = tax_line
80
87
  is_base = False
81
88
 
82
89
  if (
@@ -96,7 +103,7 @@ class ReportRegistroIva(models.AbstractModel):
96
103
  if move.l10n_it_edi_is_self_invoice and not is_base:
97
104
  if (
98
105
  move.is_purchase_document(include_receipts=True)
99
- and move_line.tax_line_id
106
+ and tax_line
100
107
  and move_line.account_id.account_type.startswith("liability")
101
108
  ):
102
109
  # Purchase document and a tax line with "Debito IVA"
@@ -106,7 +113,7 @@ class ReportRegistroIva(models.AbstractModel):
106
113
  continue
107
114
  if (
108
115
  move.is_sale_document(include_receipts=True)
109
- and move_line.tax_line_id
116
+ and tax_line
110
117
  and move_line.account_id.account_type.startswith("asset")
111
118
  ):
112
119
  # Sale document and a tax line with "Credito IVA"
@@ -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>ITA - Registri IVA</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" id="ita-registri-iva">
364
- <h1 class="title">ITA - Registri 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-registri-iva">
370
+ <h1>ITA - Registri 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:2a8c789a996d22f66827624d586939931a8e2278acd8d811c51f018a11001a06
375
+ !! source digest: sha256:95f7eada30819e4f1670300d0575bb6795a3407a3dd740296489a5f8cd512ca2
371
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/18.0/l10n_it_vat_registries"><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_registries"><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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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_registries"><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_registries"><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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>Law: Decreto del Presidente della Repubblica del 26 ottobre 1972 n. 633
374
379
  <a class="reference external" href="https://goo.gl/31yTVj">https://goo.gl/31yTVj</a></p>
375
380
  <p><strong>Table of contents</strong></p>
@@ -388,7 +393,7 @@ ul.auto-toc {
388
393
  </ul>
389
394
  </div>
390
395
  <div class="section" id="configuration">
391
- <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
396
+ <h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
392
397
  <p><strong>Italiano</strong></p>
393
398
  <p>È possibile configurare quali imposte escludere dai registri (ad esempio
394
399
  le ritenute) impostando il campo dell’imposta ‘Escludere dai registri
@@ -439,7 +444,7 @@ charge moves” in sales VAT registry</p>
439
444
  total equal to zero.</p>
440
445
  </div>
441
446
  <div class="section" id="usage">
442
- <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
447
+ <h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
443
448
  <p><strong>Italiano</strong></p>
444
449
  <p>Dal menu Contabilità -&gt; Rendicontazione -&gt; Imposte -&gt; Registri IVA è
445
450
  possibile lanciare la procedura di stampa, nella quale è necessario
@@ -456,7 +461,7 @@ You can use a fiscal period in the field ‘date range’.</p>
456
461
  you can directly journals and layout in the fields below.</p>
457
462
  </div>
458
463
  <div class="section" id="bug-tracker">
459
- <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
464
+ <h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
460
465
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
461
466
  In case of trouble, please check there if your issue has already been reported.
462
467
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -464,16 +469,16 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
464
469
  <p>Do not contact contributors directly about support or help with technical issues.</p>
465
470
  </div>
466
471
  <div class="section" id="credits">
467
- <h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
472
+ <h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
468
473
  <div class="section" id="authors">
469
- <h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
474
+ <h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
470
475
  <ul class="simple">
471
476
  <li>Agile Business Group</li>
472
477
  <li>LinkIt Srl</li>
473
478
  </ul>
474
479
  </div>
475
480
  <div class="section" id="contributors">
476
- <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
481
+ <h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
477
482
  <ul class="simple">
478
483
  <li>Lorenzo Battistini &lt;<a class="reference external" href="mailto:lorenzo.battistini&#64;agilebg.com">lorenzo.battistini&#64;agilebg.com</a>&gt;</li>
479
484
  <li>Sergio Corato &lt;<a class="reference external" href="mailto:sergiocorato&#64;gmail.com">sergiocorato&#64;gmail.com</a>&gt;</li>
@@ -482,7 +487,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
482
487
  </ul>
483
488
  </div>
484
489
  <div class="section" id="other-credits">
485
- <h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
490
+ <h3><a class="toc-backref" href="#toc-entry-7">Other credits</a></h3>
486
491
  <p>The development of this module has been financially supported by:</p>
487
492
  <ul class="simple">
488
493
  <li>Odoo Italia Network</li>
@@ -490,7 +495,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
490
495
  </ul>
491
496
  </div>
492
497
  <div class="section" id="maintainers">
493
- <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
498
+ <h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
494
499
  <p>This module is maintained by the OCA.</p>
495
500
  <a class="reference external image-reference" href="https://odoo-community.org">
496
501
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -503,5 +508,6 @@ promote its widespread use.</p>
503
508
  </div>
504
509
  </div>
505
510
  </div>
511
+ </div>
506
512
  </body>
507
513
  </html>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_it_vat_registries
3
- Version: 18.0.1.0.1
3
+ Version: 18.0.1.0.2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-account_tax_balance==18.0.*
6
6
  Requires-Dist: odoo-addon-date_range==18.0.*
@@ -17,6 +17,10 @@ Classifier: Framework :: Odoo :: 18.0
17
17
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
18
18
  Classifier: Development Status :: 5 - Production/Stable
19
19
 
20
+ .. image:: https://odoo-community.org/readme-banner-image
21
+ :target: https://odoo-community.org/get-involved?utm_source=readme
22
+ :alt: Odoo Community Association
23
+
20
24
  ==================
21
25
  ITA - Registri IVA
22
26
  ==================
@@ -26,13 +30,13 @@ ITA - Registri IVA
26
30
  !! This file is generated by oca-gen-addon-readme !!
27
31
  !! changes will be overwritten. !!
28
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
- !! source digest: sha256:2a8c789a996d22f66827624d586939931a8e2278acd8d811c51f018a11001a06
33
+ !! source digest: sha256:95f7eada30819e4f1670300d0575bb6795a3407a3dd740296489a5f8cd512ca2
30
34
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
35
 
32
36
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
33
37
  :target: https://odoo-community.org/page/development-status
34
38
  :alt: Production/Stable
35
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
39
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
36
40
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
37
41
  :alt: License: AGPL-3
38
42
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
@@ -1,6 +1,6 @@
1
- odoo/addons/l10n_it_vat_registries/README.rst,sha256=RdovUA8EfkPEyzh8ZFV6KBQ185ejaSoyFi8QitHoDmo,6309
1
+ odoo/addons/l10n_it_vat_registries/README.rst,sha256=UdyIH7qxDIGfaPduWL51BSc8Xn14-D1s4nfoTZYHIIQ,6474
2
2
  odoo/addons/l10n_it_vat_registries/__init__.py,sha256=JqDSCLCkAweuTaARbhG1B8Lkrgg-ZjR4Jbkty4ySwok,107
3
- odoo/addons/l10n_it_vat_registries/__manifest__.py,sha256=_sny-7AVKuA9fPIsUWOt6xQ10JM0pPhI5WC6jEf1D0g,1204
3
+ odoo/addons/l10n_it_vat_registries/__manifest__.py,sha256=8yddL_lD0LA43g_xI0H7inh65kCJJANZJ5nNygrj40Q,1204
4
4
  odoo/addons/l10n_it_vat_registries/i18n/am.po,sha256=WSOaUM9dqbuAtMfVaIZobLtQGt7A34XNRDAHh2GEmGI,13362
5
5
  odoo/addons/l10n_it_vat_registries/i18n/ar.po,sha256=xtcNUJQqSCS9IYb1So6yekqrPHJItYXHc1nVlp_15no,13520
6
6
  odoo/addons/l10n_it_vat_registries/i18n/bg.po,sha256=6Bc3CcemvSoutcf9vYiBojgLTEjMGZBjC9hrkp56gHw,13494
@@ -77,7 +77,7 @@ odoo/addons/l10n_it_vat_registries/models/__init__.py,sha256=6yHBq2GwnY9MZDjKUL-
77
77
  odoo/addons/l10n_it_vat_registries/models/account.py,sha256=-7xeUNAFzf4jDYqcBWiCTtOfieqMHgAN5sf2b5pqzLs,1092
78
78
  odoo/addons/l10n_it_vat_registries/models/account_journal.py,sha256=0OL_XPrMT1ixTvaQy_Eb7ymyzmZuMtjxOsi9PrliPfo,645
79
79
  odoo/addons/l10n_it_vat_registries/models/account_tax_registry.py,sha256=KCDmn87SFU7sQ9Nm7LT1jTc6slHV6yUya9tTU5gLTTM,1212
80
- odoo/addons/l10n_it_vat_registries/models/vat_registry.py,sha256=G00hdqwBdwgOGE0pRLmBCwfFvxfVs3Ud2iV6ISZHq7I,8136
80
+ odoo/addons/l10n_it_vat_registries/models/vat_registry.py,sha256=HUSmulIqovPRberljcYktf5NKorz5nw79TMTFlVWR2g,8302
81
81
  odoo/addons/l10n_it_vat_registries/readme/CONFIGURE.md,sha256=HBHb78MlOvRhZ_9zoOVkFLn8gI8srxnAcnJ3mRb5IVg,2313
82
82
  odoo/addons/l10n_it_vat_registries/readme/CONTRIBUTORS.md,sha256=mqsG-iv709t8dWOrPg2cvF3yDtnut8xBXCVh8K1xpqs,191
83
83
  odoo/addons/l10n_it_vat_registries/readme/CREDITS.md,sha256=Q372BU26Eqhkt_xq5BKviB8ZohmWbD0PH9w8w1YD5F4,107
@@ -88,7 +88,7 @@ odoo/addons/l10n_it_vat_registries/report/reports.xml,sha256=wTvmIQjOwdsuvY0KKp5
88
88
  odoo/addons/l10n_it_vat_registries/security/ir.model.access.csv,sha256=60vgVGdBp4z_DW3k8g10Xsqn_lC3ISmsXRS8yFMIVSw,651
89
89
  odoo/addons/l10n_it_vat_registries/security/vat_registry_security.xml,sha256=0roce_QYNWfU6tZ_y3qCrMdmm5cUD21AjouP909Jjck,439
90
90
  odoo/addons/l10n_it_vat_registries/static/description/icon.png,sha256=xbRU_cSM3yeaxH2HArBlJ9csFUu0GYQitvLydbJnpAM,6167
91
- odoo/addons/l10n_it_vat_registries/static/description/index.html,sha256=_dPOw8RU3MzNJjMFfWg6xx_wa8C7Oql5E2He9o3ByiY,16979
91
+ odoo/addons/l10n_it_vat_registries/static/description/index.html,sha256=mvHrgHAQkVQ7uI_55yQ5-i6qUZfZ5AUk4CSarNCUICQ,17198
92
92
  odoo/addons/l10n_it_vat_registries/tests/__init__.py,sha256=dZJwSFx0LQvIqMT8R2Pw_Z0kaW0spztW5C03jAy5bPY,93
93
93
  odoo/addons/l10n_it_vat_registries/tests/test_registry.py,sha256=vBR20YFz6z2bnDlzXhfYHj5wS8rMfTxflSZsEFrNuYQ,3338
94
94
  odoo/addons/l10n_it_vat_registries/views/account_journal_view.xml,sha256=BjjzCo_3C_9s1b86B3QGQK4qs-BXFJqf2RpxwBbfkPQ,574
@@ -97,7 +97,7 @@ odoo/addons/l10n_it_vat_registries/views/account_view.xml,sha256=0S_xjdHYN20Gi-K
97
97
  odoo/addons/l10n_it_vat_registries/wizard/__init__.py,sha256=tQ0lmoCQMclXMoP1kPEjgE9hDNd_qX46lks89WDXYQ0,98
98
98
  odoo/addons/l10n_it_vat_registries/wizard/print_registro_iva.py,sha256=T408JcYB027RhuM5Kh4Vr4LXGpkiCFJMlRzg-injkmg,6254
99
99
  odoo/addons/l10n_it_vat_registries/wizard/print_registro_iva.xml,sha256=0R3kSOz3uGNZe6JAV4k4LOwT8p7liRjY3l-y9bvGP2g,3692
100
- odoo_addon_l10n_it_vat_registries-18.0.1.0.1.dist-info/METADATA,sha256=XidDZe_UcTTDVQb4i7cWh0xUQfiDRPtMFDwBzh_Geqs,7041
101
- odoo_addon_l10n_it_vat_registries-18.0.1.0.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
102
- odoo_addon_l10n_it_vat_registries-18.0.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
- odoo_addon_l10n_it_vat_registries-18.0.1.0.1.dist-info/RECORD,,
100
+ odoo_addon_l10n_it_vat_registries-18.0.1.0.2.dist-info/METADATA,sha256=n77mSjkNJlL4C7Gj7PG-BVx0X4oWhO6mgLPNXjSXY9U,7206
101
+ odoo_addon_l10n_it_vat_registries-18.0.1.0.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
102
+ odoo_addon_l10n_it_vat_registries-18.0.1.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
+ odoo_addon_l10n_it_vat_registries-18.0.1.0.2.dist-info/RECORD,,