odoo-addon-l10n-it-vat-registries 16.0.1.2.1.2__py3-none-any.whl → 16.0.1.2.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.
@@ -7,7 +7,7 @@ ITA - Registri IVA
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:1bb65e521cb096dd4973b1a578e72edc9d6faef2c38d191bed6fae90a73d573e
10
+ !! source digest: sha256:fb12e2b5fd17f9540f28159998306d31d6ae238d8ec6cc21d6b17db6d30136ec
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -48,14 +48,14 @@ IVA'
48
48
  Per generare i periodi fiscali, aprire Contabilità > Configurazione >
49
49
  Contabilità > Intervalli data > Generazione intervalli data:
50
50
 
51
- - Prefisso nome intervallo: prefisso identificativo dell'anno dei
52
- periodi da generare
53
- - Durata: 1 mese
54
- - Numero di intervalli da generare: 12
55
- - Tipo: creare un tipo o utilizzarne uno esistente, non è richiesta una
56
- configurazione particolare per il tipo
57
- - Data iniziale: primo giorno dell'anno dei periodi da generare (ad
58
- esempio 01/01/2018)
51
+ - Prefisso nome intervallo: prefisso identificativo dell'anno dei
52
+ periodi da generare
53
+ - Durata: 1 mese
54
+ - Numero di intervalli da generare: 12
55
+ - Tipo: creare un tipo o utilizzarne uno esistente, non è richiesta una
56
+ configurazione particolare per il tipo
57
+ - Data iniziale: primo giorno dell'anno dei periodi da generare (ad
58
+ esempio 01/01/2018)
59
59
 
60
60
  Tramite Contabilità -> Configurazione -> Contabilità -> Registri IVA è
61
61
  possibile configurare i registri IVA, ad esempio 'vendite', 'acquisti' o
@@ -74,13 +74,13 @@ withholding tax) setting the 'Exclude from VAT registries' field.
74
74
  In order to generate fiscal periods, open Accounting > Configuration >
75
75
  Accounting > Date ranges > Generate Date Ranges:
76
76
 
77
- - Range name prefix: Prefix identifying the year of the periods to be
78
- generated
79
- - Duration: 1 month
80
- - Number of ranges to generate: 12
81
- - Type: Create a type or use an existing one, no specific type's
82
- configuration is required
83
- - Date start: first day of the period's year (for instance 01/01/2018)
77
+ - Range name prefix: Prefix identifying the year of the periods to be
78
+ generated
79
+ - Duration: 1 month
80
+ - Number of ranges to generate: 12
81
+ - Type: Create a type or use an existing one, no specific type's
82
+ configuration is required
83
+ - Date start: first day of the period's year (for instance 01/01/2018)
84
84
 
85
85
  Using the menu Accounting -> Configuration -> Accounting -> VAT
86
86
  registries you can configure VAT registries, like 'Sales', 'Purchases'
@@ -136,17 +136,17 @@ Authors
136
136
  Contributors
137
137
  ------------
138
138
 
139
- - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
140
- - Sergio Corato <sergiocorato@gmail.com>
141
- - Elena Carlesso <ecarlesso@linkgroup.it>
142
- - Alex Comba <alex.comba@agilebg.com>
139
+ - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
140
+ - Sergio Corato <sergiocorato@gmail.com>
141
+ - Elena Carlesso <ecarlesso@linkgroup.it>
142
+ - Alex Comba <alex.comba@agilebg.com>
143
143
 
144
144
  Other credits
145
145
  -------------
146
146
 
147
147
  The development of this module has been financially supported by:
148
148
 
149
- - Odoo Italia Network
149
+ - Odoo Italia Network
150
150
 
151
151
  Maintainers
152
152
  -----------
@@ -6,7 +6,7 @@
6
6
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
7
7
 
8
8
  {
9
- "version": "16.0.1.2.1",
9
+ "version": "16.0.1.2.2",
10
10
  "name": "ITA - Registri IVA",
11
11
  "category": "Localization/Italy",
12
12
  "author": "Agile Business Group, Odoo Community Association (OCA), LinkIt Srl",
@@ -20,22 +20,17 @@
20
20
  <t t-set="print_details" t-value="0" />
21
21
  </t>
22
22
  <table style="width:100%; font-size: small;" cellspacing="0">
23
+ <t
24
+ t-set="columns_number"
25
+ t-value="4 if registry_type == 'corrispettivi' else 9"
26
+ />
23
27
  <thead>
24
28
  <tr class="first_th_row">
25
- <t t-if="registry_type == 'corrispettivi'">
26
- <td
27
- colspan="4"
28
- style="padding:10;"
29
- t-esc="tax_registry_name + ' Periodo di stampa dal ' + from_date + ' al ' + to_date"
30
- />
31
- </t>
32
- <t t-if="registry_type != 'corrispettivi'">
33
- <td
34
- colspan="9"
35
- style="padding:10;"
36
- t-esc="tax_registry_name + ' Periodo di stampa dal ' + from_date + ' al ' + to_date"
37
- />
38
- </t>
29
+ <td
30
+ t-att-colspan="columns_number"
31
+ style="padding:10;"
32
+ t-esc="tax_registry_name + ' Periodo di stampa dal ' + from_date + ' al ' + to_date"
33
+ />
39
34
  </tr>
40
35
 
41
36
  <t t-if="print_details > 0 ">
@@ -85,7 +80,7 @@
85
80
  <t t-if="entry_order == 'journal_date_name'">
86
81
  <t t-if="move.journal_id.id != sv_journal_id">
87
82
  <tr>
88
- <td colspan='9'>
83
+ <td t-att-colspan="columns_number">
89
84
  <h5
90
85
  style="page-break-inside: avoid;border-top:1px solid;border-bottom:1px solid; color:DimGrey;"
91
86
  t-esc="move.journal_id.name"
@@ -8,10 +8,11 @@
8
8
 
9
9
  /*
10
10
  :Author: David Goodger (goodger@python.org)
11
- :Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
12
  :Copyright: This stylesheet has been placed in the public domain.
13
13
 
14
14
  Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
15
16
 
16
17
  See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
17
18
  customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
274
275
  margin-left: 2em ;
275
276
  margin-right: 2em }
276
277
 
277
- pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code .ln { color: gray; } /* line numbers */
278
279
  pre.code, code { background-color: #eeeeee }
279
280
  pre.code .comment, code .comment { color: #5C6576 }
280
281
  pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
300
301
  span.pre {
301
302
  white-space: pre }
302
303
 
303
- span.problematic {
304
+ span.problematic, pre.problematic {
304
305
  color: red }
305
306
 
306
307
  span.section-subtitle {
@@ -366,7 +367,7 @@ ul.auto-toc {
366
367
  !! This file is generated by oca-gen-addon-readme !!
367
368
  !! changes will be overwritten. !!
368
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:1bb65e521cb096dd4973b1a578e72edc9d6faef2c38d191bed6fae90a73d573e
370
+ !! source digest: sha256:fb12e2b5fd17f9540f28159998306d31d6ae238d8ec6cc21d6b17db6d30136ec
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
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/16.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-16-0/l10n-italy-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
373
  <p>Law: Decreto del Presidente della Repubblica del 26 ottobre 1972 n. 633
@@ -486,7 +487,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
486
487
  <div class="section" id="maintainers">
487
488
  <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
488
489
  <p>This module is maintained by the OCA.</p>
489
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
490
+ <a class="reference external image-reference" href="https://odoo-community.org">
491
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
492
+ </a>
490
493
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
491
494
  mission is to support the collaborative development of Odoo features and
492
495
  promote its widespread use.</p>
@@ -29,6 +29,7 @@ class WizardRegistroIva(models.TransientModel):
29
29
  ("journal_date_name", "Journal - Date - Number"),
30
30
  ],
31
31
  default="date_name",
32
+ required=True,
32
33
  )
33
34
  journal_ids = fields.Many2many(
34
35
  "account.journal",
@@ -63,6 +64,14 @@ class WizardRegistroIva(models.TransientModel):
63
64
  if self.from_date:
64
65
  self.year_footer = self.from_date.year
65
66
 
67
+ def _get_move_ids_domain(self):
68
+ return [
69
+ ("date", ">=", self.from_date),
70
+ ("date", "<=", self.to_date),
71
+ ("journal_id", "in", [j.id for j in self.journal_ids]),
72
+ ("state", "=", "posted"),
73
+ ]
74
+
66
75
  def _get_move_ids(self, wizard):
67
76
  MAPPING = {
68
77
  "journal_date_name": "journal_id, date, name",
@@ -70,12 +79,7 @@ class WizardRegistroIva(models.TransientModel):
70
79
  }
71
80
  order = MAPPING[wizard.entry_order]
72
81
  moves = self.env["account.move"].search(
73
- [
74
- ("date", ">=", self.from_date),
75
- ("date", "<=", self.to_date),
76
- ("journal_id", "in", [j.id for j in self.journal_ids]),
77
- ("state", "=", "posted"),
78
- ],
82
+ self._get_move_ids_domain(),
79
83
  order=order,
80
84
  )
81
85
  return moves.ids
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_it_vat_registries
3
- Version: 16.0.1.2.1.2
3
+ Version: 16.0.1.2.2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-account_tax_balance>=16.0dev,<16.1dev
6
6
  Requires-Dist: odoo-addon-date_range>=16.0dev,<16.1dev
@@ -26,7 +26,7 @@ ITA - Registri IVA
26
26
  !! This file is generated by oca-gen-addon-readme !!
27
27
  !! changes will be overwritten. !!
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
- !! source digest: sha256:1bb65e521cb096dd4973b1a578e72edc9d6faef2c38d191bed6fae90a73d573e
29
+ !! source digest: sha256:fb12e2b5fd17f9540f28159998306d31d6ae238d8ec6cc21d6b17db6d30136ec
30
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
31
 
32
32
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -67,14 +67,14 @@ IVA'
67
67
  Per generare i periodi fiscali, aprire Contabilità > Configurazione >
68
68
  Contabilità > Intervalli data > Generazione intervalli data:
69
69
 
70
- - Prefisso nome intervallo: prefisso identificativo dell'anno dei
71
- periodi da generare
72
- - Durata: 1 mese
73
- - Numero di intervalli da generare: 12
74
- - Tipo: creare un tipo o utilizzarne uno esistente, non è richiesta una
75
- configurazione particolare per il tipo
76
- - Data iniziale: primo giorno dell'anno dei periodi da generare (ad
77
- esempio 01/01/2018)
70
+ - Prefisso nome intervallo: prefisso identificativo dell'anno dei
71
+ periodi da generare
72
+ - Durata: 1 mese
73
+ - Numero di intervalli da generare: 12
74
+ - Tipo: creare un tipo o utilizzarne uno esistente, non è richiesta una
75
+ configurazione particolare per il tipo
76
+ - Data iniziale: primo giorno dell'anno dei periodi da generare (ad
77
+ esempio 01/01/2018)
78
78
 
79
79
  Tramite Contabilità -> Configurazione -> Contabilità -> Registri IVA è
80
80
  possibile configurare i registri IVA, ad esempio 'vendite', 'acquisti' o
@@ -93,13 +93,13 @@ withholding tax) setting the 'Exclude from VAT registries' field.
93
93
  In order to generate fiscal periods, open Accounting > Configuration >
94
94
  Accounting > Date ranges > Generate Date Ranges:
95
95
 
96
- - Range name prefix: Prefix identifying the year of the periods to be
97
- generated
98
- - Duration: 1 month
99
- - Number of ranges to generate: 12
100
- - Type: Create a type or use an existing one, no specific type's
101
- configuration is required
102
- - Date start: first day of the period's year (for instance 01/01/2018)
96
+ - Range name prefix: Prefix identifying the year of the periods to be
97
+ generated
98
+ - Duration: 1 month
99
+ - Number of ranges to generate: 12
100
+ - Type: Create a type or use an existing one, no specific type's
101
+ configuration is required
102
+ - Date start: first day of the period's year (for instance 01/01/2018)
103
103
 
104
104
  Using the menu Accounting -> Configuration -> Accounting -> VAT
105
105
  registries you can configure VAT registries, like 'Sales', 'Purchases'
@@ -155,17 +155,17 @@ Authors
155
155
  Contributors
156
156
  ------------
157
157
 
158
- - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
159
- - Sergio Corato <sergiocorato@gmail.com>
160
- - Elena Carlesso <ecarlesso@linkgroup.it>
161
- - Alex Comba <alex.comba@agilebg.com>
158
+ - Lorenzo Battistini <lorenzo.battistini@agilebg.com>
159
+ - Sergio Corato <sergiocorato@gmail.com>
160
+ - Elena Carlesso <ecarlesso@linkgroup.it>
161
+ - Alex Comba <alex.comba@agilebg.com>
162
162
 
163
163
  Other credits
164
164
  -------------
165
165
 
166
166
  The development of this module has been financially supported by:
167
167
 
168
- - Odoo Italia Network
168
+ - Odoo Italia Network
169
169
 
170
170
  Maintainers
171
171
  -----------
@@ -1,6 +1,6 @@
1
- odoo/addons/l10n_it_vat_registries/README.rst,sha256=PbfJBoAfks0sk3GaqdAWP6Uenl6UUWTHZDnr83i5Sys,6064
1
+ odoo/addons/l10n_it_vat_registries/README.rst,sha256=lSvFe2w2exnBvYNBKLgrCEY1iFSv_cAE0QvTF54fhf0,6044
2
2
  odoo/addons/l10n_it_vat_registries/__init__.py,sha256=JqDSCLCkAweuTaARbhG1B8Lkrgg-ZjR4Jbkty4ySwok,107
3
- odoo/addons/l10n_it_vat_registries/__manifest__.py,sha256=kF2ZvZE58h63cHhJgwSuN7tm5T0y3vq07b4-eRL6IVs,1181
3
+ odoo/addons/l10n_it_vat_registries/__manifest__.py,sha256=YvlcoVhhLCvtVE3Z4sBL0cUysrfrH9d6zmbqDzYXEY0,1181
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
@@ -83,21 +83,21 @@ odoo/addons/l10n_it_vat_registries/readme/CONTRIBUTORS.md,sha256=mqsG-iv709t8dWO
83
83
  odoo/addons/l10n_it_vat_registries/readme/CREDITS.md,sha256=adgy2b0E705AYaKihyQS_KXVgutgR3jQ33Se-BZvMF8,89
84
84
  odoo/addons/l10n_it_vat_registries/readme/DESCRIPTION.md,sha256=wtW9ElobuDdencAdgRd6QzLDx1C5eeDzQOnDOLK-C4Q,96
85
85
  odoo/addons/l10n_it_vat_registries/readme/USAGE.md,sha256=DtBGHIk1gM695eu4_SwWqSeIyuX1mf4M5kArnojCkpY,792
86
- odoo/addons/l10n_it_vat_registries/report/report_registro_iva.xml,sha256=TjfGoISZb9eykWP1kfauqBS4J6Gl0XNXMR33IdI_Qcs,20105
86
+ odoo/addons/l10n_it_vat_registries/report/report_registro_iva.xml,sha256=IKPPOt2ORvIz6ecjpShZkVII4bowMEEFvRYvTZN-i68,19785
87
87
  odoo/addons/l10n_it_vat_registries/report/reports.xml,sha256=Fa1gWHLxQQU1quNUmr0bkGASqhAC2IBqfbUDkmSkeCE,588
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=Pv8n9zR3hlhuZcl2IgL76OuS8c1Q090zzB1TrpXHCMs,441
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=-w03J1-a6mr5JdIvT30UhKSxQWjxDPOiYSJIp2TSgpA,16604
91
+ odoo/addons/l10n_it_vat_registries/static/description/index.html,sha256=en1PSPUsODAxGg12rqW_qUjjRTsucATScSHb_i9X9cY,16687
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=TQwBBKqaIb-8mzfD4fBtaRGCVyqZZT5lTiltFrekZEI,493
95
95
  odoo/addons/l10n_it_vat_registries/views/account_tax_registry_view.xml,sha256=iXC4sFLvbX_SwmprHLjP_MyTsxXdKQeAhh2Mx_Xddoc,1377
96
96
  odoo/addons/l10n_it_vat_registries/views/account_view.xml,sha256=smsqdM_bMeyrC4Enej3NEf3gDx8U6VFlky7Or_lRUNI,628
97
97
  odoo/addons/l10n_it_vat_registries/wizard/__init__.py,sha256=tQ0lmoCQMclXMoP1kPEjgE9hDNd_qX46lks89WDXYQ0,98
98
- odoo/addons/l10n_it_vat_registries/wizard/print_registro_iva.py,sha256=LvNv00ztWjTcLJFhBpYYInheZICFFIXwRoC2yFtZXSo,4473
98
+ odoo/addons/l10n_it_vat_registries/wizard/print_registro_iva.py,sha256=dO9S1s54e5-68X55Ie8HpY7dWeqfO66KTZMhsF73X2U,4556
99
99
  odoo/addons/l10n_it_vat_registries/wizard/print_registro_iva.xml,sha256=M8nhQh0PgYArzs8eS2V0OAwzgeELJ20AfXYVc4eC3pg,2869
100
- odoo_addon_l10n_it_vat_registries-16.0.1.2.1.2.dist-info/METADATA,sha256=0UPQ5I9zvMpUtv1u5kJtt2xb9k6PNjbkLhdgnuNP8Zg,6836
101
- odoo_addon_l10n_it_vat_registries-16.0.1.2.1.2.dist-info/WHEEL,sha256=n-3R37xDTBUi7r4325OZjhJyVIEQGKiCsyQgb8zW73A,81
102
- odoo_addon_l10n_it_vat_registries-16.0.1.2.1.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
- odoo_addon_l10n_it_vat_registries-16.0.1.2.1.2.dist-info/RECORD,,
100
+ odoo_addon_l10n_it_vat_registries-16.0.1.2.2.dist-info/METADATA,sha256=VKtxZN-jcivv1CFcBQhGC4Z1h24gI7Nfm7_hJj1k8lQ,6814
101
+ odoo_addon_l10n_it_vat_registries-16.0.1.2.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
102
+ odoo_addon_l10n_it_vat_registries-16.0.1.2.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
103
+ odoo_addon_l10n_it_vat_registries-16.0.1.2.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: Whool 1.0
2
+ Generator: Whool 1.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5