odoo-addon-l10n-es-vat-book 16.0.1.7.0.1__py3-none-any.whl → 16.0.1.7.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-es-vat-book might be problematic. Click here for more details.

@@ -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
  Libro de IVA
3
7
  ============
@@ -7,13 +11,13 @@ Libro de IVA
7
11
  !! This file is generated by oca-gen-addon-readme !!
8
12
  !! changes will be overwritten. !!
9
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:d15df3786d06476c6c7279ace67ff5ad372da4e0ba853b617a66c485109659cc
14
+ !! source digest: sha256:63ae4c7c9af2c23bfb2278f1af7eea8c0266f7d28842beff2aaff76d65f35c91
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/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--spain-lightgray.png?logo=github
@@ -10,7 +10,7 @@
10
10
 
11
11
  {
12
12
  "name": "Libro de IVA",
13
- "version": "16.0.1.7.0",
13
+ "version": "16.0.1.7.2",
14
14
  "author": "PRAXYA, ForgeFlow, Tecnativa, Odoo Community Association (OCA)",
15
15
  "website": "https://github.com/OCA/l10n-spain",
16
16
  "license": "AGPL-3",
@@ -416,8 +416,9 @@ class L10nEsVatBook(models.Model):
416
416
  tax_group = sp_taxes_dic[tax_line["tax_id"]]["special_tax_group"]
417
417
  line_vals["special_tax_group"] = tax_group
418
418
  tax_line["special_tax_group"] = tax_group
419
- sp_taxes[tuple(tax_line["other_tax_ids"])] = tax_line
420
- tax_line.pop("other_tax_ids")
419
+ if "other_tax_ids" in tax_line:
420
+ sp_taxes[tuple(tax_line["other_tax_ids"])] = tax_line
421
+ tax_line.pop("other_tax_ids", None)
421
422
  # Second loop for putting the values in the other lines
422
423
  if sp_taxes:
423
424
  for tax_line in tax_lines.values():
@@ -459,7 +460,11 @@ class L10nEsVatBook(models.Model):
459
460
  domain += [
460
461
  ("tax_agency_ids", "in", [False] + rec.tax_agency_ids.ids),
461
462
  ]
462
- map_lines = self.env["aeat.vat.book.map.line"].search(domain)
463
+ map_lines = (
464
+ self.env["aeat.vat.book.map.line"]
465
+ .with_context(active_test=False)
466
+ .search(domain)
467
+ )
463
468
  taxes = self.env["account.tax"]
464
469
  accounts = {}
465
470
  for map_line in map_lines:
@@ -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>Libro de 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="libro-de-iva">
364
- <h1 class="title">Libro de 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="libro-de-iva">
370
+ <h1>Libro de 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:d15df3786d06476c6c7279ace67ff5ad372da4e0ba853b617a66c485109659cc
375
+ !! source digest: sha256:63ae4c7c9af2c23bfb2278f1af7eea8c0266f7d28842beff2aaff76d65f35c91
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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_vat_book"><img alt="OCA/l10n-spain" src="https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_vat_book"><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-spain&amp;target_branch=16.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="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-spain/tree/16.0/l10n_es_vat_book"><img alt="OCA/l10n-spain" src="https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_vat_book"><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-spain&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>Módulo que calcula el libro de IVA español.</p>
374
379
  <p>Esto módulo introduce el menú “Libro de IVA” en Contabilidad -&gt; Informe -&gt;
375
380
  Declaraciones AEAT -&gt; Libro de IVA.</p>
@@ -398,7 +403,7 @@ contables relacionados con la factura.</p>
398
403
  </ul>
399
404
  </div>
400
405
  <div class="section" id="installation">
401
- <h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
406
+ <h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
402
407
  <p>Para instalar este modulo necesitas:</p>
403
408
  <ul class="simple">
404
409
  <li>account</li>
@@ -418,7 +423,7 @@ módulo ‘account_invoice_tax_required’, disponible en
418
423
  </ul>
419
424
  </div>
420
425
  <div class="section" id="configuration">
421
- <h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
426
+ <h2><a class="toc-backref" href="#toc-entry-2">Configuration</a></h2>
422
427
  <p>Los códigos de impuestos incluidos en el Libro de IVA pueden verse en:
423
428
  Contabilidad -&gt; Configuración -&gt; AEAT -&gt; Mapeo AEAT libro de IVA</p>
424
429
  <p>Los clientes utilizados para ventas por caja deben tener marcado el campo
@@ -426,7 +431,7 @@ Contabilidad -&gt; Configuración -&gt; AEAT -&gt; Mapeo AEAT libro de IVA</p>
426
431
  informado siguiendo lo especificado en el formato BOE.</p>
427
432
  </div>
428
433
  <div class="section" id="usage">
429
- <h1><a class="toc-backref" href="#toc-entry-3">Usage</a></h1>
434
+ <h2><a class="toc-backref" href="#toc-entry-3">Usage</a></h2>
430
435
  <ol class="arabic simple">
431
436
  <li>Ve a <em>Contabilidad &gt; Declaraciones AEAT &gt; Libro de IVA</em>.</li>
432
437
  <li>Crea un nuevo registro.</li>
@@ -436,7 +441,7 @@ informado siguiendo lo especificado en el formato BOE.</p>
436
441
  </ol>
437
442
  </div>
438
443
  <div class="section" id="known-issues-roadmap">
439
- <h1><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h1>
444
+ <h2><a class="toc-backref" href="#toc-entry-4">Known issues / Roadmap</a></h2>
440
445
  <p>Funcionalidades del Libro Registro de IVA no incluídas por el momento:</p>
441
446
  <ul class="simple">
442
447
  <li>Criterio de caja</li>
@@ -444,7 +449,7 @@ informado siguiendo lo especificado en el formato BOE.</p>
444
449
  </ul>
445
450
  </div>
446
451
  <div class="section" id="bug-tracker">
447
- <h1><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h1>
452
+ <h2><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h2>
448
453
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-spain/issues">GitHub Issues</a>.
449
454
  In case of trouble, please check there if your issue has already been reported.
450
455
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -452,9 +457,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
452
457
  <p>Do not contact contributors directly about support or help with technical issues.</p>
453
458
  </div>
454
459
  <div class="section" id="credits">
455
- <h1><a class="toc-backref" href="#toc-entry-6">Credits</a></h1>
460
+ <h2><a class="toc-backref" href="#toc-entry-6">Credits</a></h2>
456
461
  <div class="section" id="authors">
457
- <h2><a class="toc-backref" href="#toc-entry-7">Authors</a></h2>
462
+ <h3><a class="toc-backref" href="#toc-entry-7">Authors</a></h3>
458
463
  <ul class="simple">
459
464
  <li>PRAXYA</li>
460
465
  <li>ForgeFlow</li>
@@ -462,7 +467,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
462
467
  </ul>
463
468
  </div>
464
469
  <div class="section" id="contributors">
465
- <h2><a class="toc-backref" href="#toc-entry-8">Contributors</a></h2>
470
+ <h3><a class="toc-backref" href="#toc-entry-8">Contributors</a></h3>
466
471
  <ul class="simple">
467
472
  <li>Daniel Rodriguez &lt;<a class="reference external" href="mailto:drl.9319&#64;gmail.com">drl.9319&#64;gmail.com</a>&gt;</li>
468
473
  <li>Jordi Ballester (ForgeFlow) &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
@@ -485,7 +490,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
485
490
  </ul>
486
491
  </div>
487
492
  <div class="section" id="maintainers">
488
- <h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
493
+ <h3><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h3>
489
494
  <p>This module is maintained by the OCA.</p>
490
495
  <a class="reference external image-reference" href="https://odoo-community.org">
491
496
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -498,5 +503,6 @@ promote its widespread use.</p>
498
503
  </div>
499
504
  </div>
500
505
  </div>
506
+ </div>
501
507
  </body>
502
508
  </html>
@@ -32,6 +32,8 @@ class TestL10nEsAeatVatBook(TestL10nEsAeatModBase):
32
32
  # Sale invoices
33
33
  sale = self._invoice_sale_create("2017-01-13")
34
34
  self._invoice_refund(sale, "2017-01-14")
35
+ # Deactivate a tax template for checking that everything continues working
36
+ self.env.ref("l10n_es.account_tax_template_p_iva21_sc").active = False
35
37
  # Create model
36
38
  self.company.vat = "ES12345678Z"
37
39
  vat_book = self.env["l10n.es.vat.book"].create(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_es_vat_book
3
- Version: 16.0.1.7.0.1
3
+ Version: 16.0.1.7.2
4
4
  Summary: Libro de IVA
5
5
  Home-page: https://github.com/OCA/l10n-spain
6
6
  Author: PRAXYA, ForgeFlow, Tecnativa, Odoo Community Association (OCA)
@@ -15,6 +15,10 @@ Requires-Dist: odoo-addon-l10n-es-aeat<16.1dev,>=16.0dev
15
15
  Requires-Dist: odoo-addon-report-xlsx<16.1dev,>=16.0dev
16
16
  Requires-Dist: odoo<16.1dev,>=16.0a
17
17
 
18
+ .. image:: https://odoo-community.org/readme-banner-image
19
+ :target: https://odoo-community.org/get-involved?utm_source=readme
20
+ :alt: Odoo Community Association
21
+
18
22
  ============
19
23
  Libro de IVA
20
24
  ============
@@ -24,13 +28,13 @@ Libro de IVA
24
28
  !! This file is generated by oca-gen-addon-readme !!
25
29
  !! changes will be overwritten. !!
26
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:d15df3786d06476c6c7279ace67ff5ad372da4e0ba853b617a66c485109659cc
31
+ !! source digest: sha256:63ae4c7c9af2c23bfb2278f1af7eea8c0266f7d28842beff2aaff76d65f35c91
28
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
33
 
30
34
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
31
35
  :target: https://odoo-community.org/page/development-status
32
36
  :alt: Beta
33
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
37
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
34
38
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
35
39
  :alt: License: AGPL-3
36
40
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
@@ -1,6 +1,6 @@
1
- odoo/addons/l10n_es_vat_book/README.rst,sha256=GzkdMYvVmy1KZsu4oQWSi2iOCz2IL7djCXkuvVWRPBk,5150
1
+ odoo/addons/l10n_es_vat_book/README.rst,sha256=gblg-H2x3ztpt7AnxLaV-OiSdn9iACFRCCO6_KD3R7Q,5315
2
2
  odoo/addons/l10n_es_vat_book/__init__.py,sha256=RYGen4VvN9c8GXvMfZMuO7ERiyRCUJfuAbgo0aC3DEU,42
3
- odoo/addons/l10n_es_vat_book/__manifest__.py,sha256=YDRhHzBBq31lEtT8RZsvWBxuWG9z4l4X_mPMGxcBtSQ,1275
3
+ odoo/addons/l10n_es_vat_book/__manifest__.py,sha256=TRkpD2zAjLa8Olhcj-QBN-ias2ceWcJt-pHPNQ4xkjA,1275
4
4
  odoo/addons/l10n_es_vat_book/data/aeat_vat_book_map_data.xml,sha256=BXq09PN6NNmFpF6SUWO8jRn4oMBi4_mhCgI_KDqSY9g,9371
5
5
  odoo/addons/l10n_es_vat_book/i18n/bg.po,sha256=cC1S1f9JaZgkVBEf801hbD5gDELltRsDqn8TObtBhvE,35610
6
6
  odoo/addons/l10n_es_vat_book/i18n/ca.po,sha256=1cBLEwu6NxpQW33hK5ZBSm9B59uKZQ7mfVFuWrwP52o,41187
@@ -25,7 +25,7 @@ odoo/addons/l10n_es_vat_book/i18n/tr.po,sha256=OnyZS5MwpHrbOnELRthpaCmf6LTooevT1
25
25
  odoo/addons/l10n_es_vat_book/i18n/vi.po,sha256=3mmx1p8zy1l8u4nPTd_BrMJAQfBXA-FSlF_yRrpjzC4,35491
26
26
  odoo/addons/l10n_es_vat_book/models/__init__.py,sha256=V0ONDc9wKn8JF0Soh2NCORHEAQ7EcOn16SNkxjA50WU,226
27
27
  odoo/addons/l10n_es_vat_book/models/aeat_vat_book_map_line.py,sha256=nMmTWgo7zZ1biPgB05UUs2JjQX2F48PM22RcmKxF6WI,1363
28
- odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book.py,sha256=k6Mz5yTSByzUDDjLp4Y05-dAEKbqtttUN3ayYnpnyF4,22668
28
+ odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book.py,sha256=wXXhPjpKnKKRtTVqITGumn_ZiQQNogsry5ENnoyBQvo,22844
29
29
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_line.py,sha256=9LqiNYUGomYBVIyvdT1qTnNwHKTM3df6jJxWvnoIsLk,2146
30
30
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_line_tax.py,sha256=5Xn13NYxaPFRyfkbJvNEoUvSWzr54HiCD1GsHtmenLk,2405
31
31
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_summary.py,sha256=jKvai8td7NQwT2suuY-dA1AfQxRvM6VBIVuHZnfwSrY,1208
@@ -46,15 +46,15 @@ odoo/addons/l10n_es_vat_book/report/vat_book_xlsx.xml,sha256=sZd6sU-mnZUN-odM8R5
46
46
  odoo/addons/l10n_es_vat_book/security/ir.model.access.csv,sha256=D-VRSm4gZ7A0LOlIH9JL-EXkH7EzbubObuFL634GuUs,871
47
47
  odoo/addons/l10n_es_vat_book/security/ir_rule.xml,sha256=4HkdO_WPIAK6hXcVUIFTLmzl0af-tVplhO-o2Xsic1M,521
48
48
  odoo/addons/l10n_es_vat_book/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
49
- odoo/addons/l10n_es_vat_book/static/description/index.html,sha256=fnW1zNIQyObloaZ2PqCs-N-Yq3liKlWKCamtSgBWAnY,16421
49
+ odoo/addons/l10n_es_vat_book/static/description/index.html,sha256=qlpY3t3QzZG4O10hnKZBZHPPtVQrJems00PCkL6WnjQ,16646
50
50
  odoo/addons/l10n_es_vat_book/tests/__init__.py,sha256=4dynCSzE14Nz6hAqV9vEmx8lEt3Byn-gqNKA0-wj7uc,41
51
- odoo/addons/l10n_es_vat_book/tests/test_l10n_es_aeat_vat_book.py,sha256=TZbI7wn8fHKo1jkL03a-YskBhQ3FDxMoCzL_TBbKVpQ,4587
51
+ odoo/addons/l10n_es_vat_book/tests/test_l10n_es_aeat_vat_book.py,sha256=0ZX-VxhPM41J1ooiIVIHs3B1NuJdMK-dDWrja6XRfHM,4749
52
52
  odoo/addons/l10n_es_vat_book/views/aeat_vat_book_map_view.xml,sha256=qJNTR5sZtyByKXunE2BK8xzBul4TNH5nVCAEA-5CFMI,1269
53
53
  odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book.xml,sha256=tGOI04-SsWENVcv8JJVmnlOzRMhYOO2ek7nEy5T0GRA,5649
54
54
  odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_line.xml,sha256=0M2D2H77sZVnjxzZpb6zDqNRGSK3xbmbi_gVbQnoh0E,4689
55
55
  odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_summary.xml,sha256=PTX2BDmnE6bIZjlMlRH6R479DdZgDPzG0WO_e-iC2gU,1333
56
56
  odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_tax_summary.xml,sha256=HGDXXDWt3hVT3HEd-QXg_w9DGsiiZ_BDBG1YJUtVZ4Y,2086
57
- odoo_addon_l10n_es_vat_book-16.0.1.7.0.1.dist-info/METADATA,sha256=gjzavfdM2yPtkU_zCU_Cw_1ympYDbkcHNB4iNcBp5wQ,5784
58
- odoo_addon_l10n_es_vat_book-16.0.1.7.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
59
- odoo_addon_l10n_es_vat_book-16.0.1.7.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
60
- odoo_addon_l10n_es_vat_book-16.0.1.7.0.1.dist-info/RECORD,,
57
+ odoo_addon_l10n_es_vat_book-16.0.1.7.2.dist-info/METADATA,sha256=QE2sH70TN-lFJtd7LQCTOMxhLdh7rfLnc5Ipe8tvwDQ,5947
58
+ odoo_addon_l10n_es_vat_book-16.0.1.7.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
59
+ odoo_addon_l10n_es_vat_book-16.0.1.7.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
60
+ odoo_addon_l10n_es_vat_book-16.0.1.7.2.dist-info/RECORD,,