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

@@ -11,7 +11,7 @@ Libro de IVA
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:025e1246158da2322fa2a79ce574f25a423b2e14729b5049af6a41422b779695
14
+ !! source digest: sha256:a9d45e5d633b50ea58a22b47561373e4889bfe384c2d0123c665d101f7301de9
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -21,13 +21,13 @@ Libro de IVA
21
21
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22
22
  :alt: License: AGPL-3
23
23
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
24
- :target: https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_vat_book
24
+ :target: https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_vat_book
25
25
  :alt: OCA/l10n-spain
26
26
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27
- :target: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_vat_book
27
+ :target: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_vat_book
28
28
  :alt: Translate me on Weblate
29
29
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30
- :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=17.0
30
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=18.0
31
31
  :alt: Try me on Runboat
32
32
 
33
33
  |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -106,7 +106,7 @@ Bug Tracker
106
106
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
107
107
  In case of trouble, please check there if your issue has already been reported.
108
108
  If you spotted it first, help us to smash it by providing a detailed and welcomed
109
- `feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
109
+ `feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
110
110
 
111
111
  Do not contact contributors directly about support or help with technical issues.
112
112
 
@@ -151,6 +151,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
151
151
  mission is to support the collaborative development of Odoo features and
152
152
  promote its widespread use.
153
153
 
154
- This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_vat_book>`_ project on GitHub.
154
+ This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_vat_book>`_ project on GitHub.
155
155
 
156
156
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -10,7 +10,7 @@
10
10
 
11
11
  {
12
12
  "name": "Libro de IVA",
13
- "version": "17.0.1.3.2",
13
+ "version": "18.0.1.0.0",
14
14
  "author": "PRAXYA, ForgeFlow, Tecnativa, Odoo Community Association (OCA)",
15
15
  "website": "https://github.com/OCA/l10n-spain",
16
16
  "license": "AGPL-3",
@@ -1,6 +1,6 @@
1
1
  id,account_xmlid_id:id,book_type,fee_amount_xlsx_column,fee_type_xlsx_column,name,special_tax_group,tax_agency_ids/id,tax_xmlid_ids/id
2
2
  aeat_vat_book_map_line_s_iva,,"issued","O","N","IVA repercutido","","l10n_es_aeat.aeat_tax_agency_spain","s_iva0b,s_iva0s,s_iva2b,s_iva2s,s_iva4b,s_iva4s,s_iva5b,s_iva5s,s_iva7-5b,s_iva7-5s,s_iva10b,s_iva10s,s_iva21b,s_iva21s,s_iva0_isp,s_iva0_sp_i,s_iva0_g_i,s_iva0_g_e,s_iva0,s_iva0_art22,s_iva0_art23,s_iva0_e,s_iva0_ic,s_iva0_nsd,s_iva_ns,s_iva_ns_b,s_iva_e"
3
- aeat_vat_book_map_line_p_iva,"common_472","received","P","O","IVA soportado","","l10n_es_aeat.aeat_tax_agency_spain","p_iva0_s_bc,p_iva0_s_sc,p_iva2_bc,p_iva2_sc,p_iva4_bc,p_iva4_sc,p_iva4_bi,p_iva5_bc,p_iva5_sc,p_iva7-5_bc,p_iva7-5_sc,p_iva10_bc,p_iva10_sc,p_iva10_bi,p_iva21_bc,p_iva21_sc,p_iva21_bi,p_iva0_bc,p_iva0_ic_sc,p_iva2_ic_sc,p_iva4_sp_in,p_iva5_ic_sc,p_iva7-5_ic_sc,p_iva10_sp_in,p_iva21_sp_in,p_iva0_ic_bc,p_iva2_ic_bc,p_iva4_ic_bc,p_iva5_ic_bc,p_iva7-5_ic_bc,p_iva10_ic_bc,p_iva21_ic_bc,p_iva4_ic_bi,p_iva10_ic_bi,p_iva21_ic_bi,p_iva0_ibc,p_iva2_ibc,p_iva4_ibc,p_iva5_ibc,p_iva7-5_ibc,p_iva10_ibc,p_iva21_ibc,p_iva12_agr,p_iva21_isp,p_iva10_isp,p_iva4_isp,p_iva21_isp_bi,p_iva10_isp_bi,p_iva4_isp_bi,p_iva21_sp_ex,p_iva10_sp_ex,p_iva7-5_isc,p_iva5_isc,p_iva4_sp_ex,p_iva2_isc,p_iva0_isc,p_iva4_bi,p_iva10_bi,p_iva21_bi,p_iva0_ns,p_iva0_ns_b,p_iva21_ibc_group,p_iva4_ibc_group,p_iva10_ibc_group,p_dua_exempt"
3
+ aeat_vat_book_map_line_p_iva,"common_472","received","P","O","IVA soportado","","l10n_es_aeat.aeat_tax_agency_spain","p_iva0_s_bc,p_iva0_s_sc,p_iva2_bc,p_iva2_sc,p_iva4_bc,p_iva4_sc,p_iva4_bi,p_iva5_bc,p_iva5_sc,p_iva7-5_bc,p_iva7-5_sc,p_iva10_bc,p_iva10_sc,p_iva10_bi,p_iva21_bc,p_iva21_sc,p_iva21_bi,p_iva0_bc,p_iva0_ic_sc,p_iva2_ic_sc,p_iva4_sp_in,p_iva5_ic_sc,p_iva7-5_ic_sc,p_iva10_sp_in,p_iva21_sp_in,p_iva0_ic_bc,p_iva2_ic_bc,p_iva4_ic_bc,p_iva5_ic_bc,p_iva7-5_ic_bc,p_iva10_ic_bc,p_iva21_ic_bc,p_iva4_ic_bi,p_iva10_ic_bi,p_iva21_ic_bi,p_iva0_ibc,p_iva2_ibc,p_iva4_ibc,p_iva5_ibc,p_iva7-5_ibc,p_iva10_ibc,p_iva21_ibc,p_iva12_agr,p_iva21_isp,p_iva10_isp,p_iva4_isp,p_iva21_isp_bi,p_iva10_isp_bi,p_iva4_isp_bi,p_iva21_sp_ex,p_iva10_sp_ex,p_iva7-5_isc,p_iva5_isc,p_iva4_sp_ex,p_iva2_isc,p_iva0_isc,p_iva4_bi,p_iva10_bi,p_iva21_bi,p_iva0_ns,p_iva0_ns_b"
4
4
  aeat_vat_book_map_line_p_iva_nd,,"received",,,"IVA soportado no deducible","","l10n_es_aeat.aeat_tax_agency_spain","p_iva2_nd,p_iva4_nd,p_iva5_nd,p_iva7-5_nd,p_iva10_nd,p_iva0_nd"
5
5
  aeat_vat_book_map_line_s_req,,"issued","Q","P","Recargo Eq.","req","l10n_es_aeat.aeat_tax_agency_spain","s_req0,s_req05,s_req062,s_req014,s_req52"
6
6
  aeat_vat_book_map_line_p_req,,"received","S","R","Recargo Eq.","req","l10n_es_aeat.aeat_tax_agency_spain","p_req0,p_req05,p_req062,p_req014,p_req52"
@@ -100,7 +100,3 @@ p_req05,account_tax_template_p_req05
100
100
  p_req062,account_tax_template_p_req062
101
101
  p_req014,account_tax_template_p_req014
102
102
  p_req52,account_tax_template_p_req52
103
- p_iva21_ibc_group,account_tax_template_p_iva21_ibc_group
104
- p_iva4_ibc_group,account_tax_template_p_iva4_ibc_group
105
- p_iva10_ibc_group,account_tax_template_p_iva10_ibc_group
106
- p_dua_exempt,account_tax_template_p_dua_exempt
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: Odoo Server 17.0\n"
7
+ "Project-Id-Version: Odoo Server 18.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "Last-Translator: \n"
10
10
  "Language-Team: \n"
@@ -779,14 +779,12 @@ msgstr ""
779
779
  #. module: l10n_es_vat_book
780
780
  #. odoo-python
781
781
  #: code:addons/l10n_es_vat_book/models/l10n_es_vat_book.py:0
782
- #, python-format
783
782
  msgid "This book has warnings. Fix it before confirm"
784
783
  msgstr ""
785
784
 
786
785
  #. module: l10n_es_vat_book
787
786
  #. odoo-python
788
787
  #: code:addons/l10n_es_vat_book/models/l10n_es_vat_book.py:0
789
- #, python-format
790
788
  msgid "This company doesn't have VAT"
791
789
  msgstr ""
792
790
 
@@ -897,14 +895,12 @@ msgstr ""
897
895
  #. module: l10n_es_vat_book
898
896
  #. odoo-python
899
897
  #: code:addons/l10n_es_vat_book/models/l10n_es_vat_book.py:0
900
- #, python-format
901
898
  msgid "Without Partner"
902
899
  msgstr ""
903
900
 
904
901
  #. module: l10n_es_vat_book
905
902
  #. odoo-python
906
903
  #: code:addons/l10n_es_vat_book/models/l10n_es_vat_book.py:0
907
- #, python-format
908
904
  msgid "Without VAT"
909
905
  msgstr ""
910
906
 
@@ -153,19 +153,19 @@ class L10nEsVatBook(models.Model):
153
153
  "base_move_line_ids": tax_line.base_move_line_ids.ids,
154
154
  "move_line_ids": tax_line.move_line_ids.ids,
155
155
  }
156
- tax_summary_data_recs[tax_line.tax_id][
157
- "base_amount"
158
- ] += tax_line.base_amount
156
+ tax_summary_data_recs[tax_line.tax_id]["base_amount"] += (
157
+ tax_line.base_amount
158
+ )
159
159
  tax_summary_data_recs[tax_line.tax_id]["tax_amount"] += tax_line.tax_amount
160
- tax_summary_data_recs[tax_line.tax_id][
161
- "total_amount"
162
- ] += tax_line.total_amount
163
- tax_summary_data_recs[tax_line.tax_id][
164
- "base_move_line_ids"
165
- ] += tax_line.base_move_line_ids.ids
166
- tax_summary_data_recs[tax_line.tax_id][
167
- "move_line_ids"
168
- ] += tax_line.move_line_ids.ids
160
+ tax_summary_data_recs[tax_line.tax_id]["total_amount"] += (
161
+ tax_line.total_amount
162
+ )
163
+ tax_summary_data_recs[tax_line.tax_id]["base_move_line_ids"] += (
164
+ tax_line.base_move_line_ids.ids
165
+ )
166
+ tax_summary_data_recs[tax_line.tax_id]["move_line_ids"] += (
167
+ tax_line.move_line_ids.ids
168
+ )
169
169
  return tax_summary_data_recs
170
170
 
171
171
  @api.model
@@ -379,7 +379,7 @@ class L10nEsVatBook(models.Model):
379
379
  def _check_exceptions(self, line_vals):
380
380
  rp_model = self.env["res.partner"]
381
381
  if not line_vals["partner_id"]:
382
- line_vals["exception_text"] = _("Without Partner")
382
+ line_vals["exception_text"] = self.env._("Without Partner")
383
383
  elif not line_vals["vat_number"]: # Doesn't have VAT
384
384
  partner = rp_model.browse(line_vals["partner_id"])
385
385
  country_code, identifier_type, vat_number = partner._parse_aeat_vat_info()
@@ -392,7 +392,7 @@ class L10nEsVatBook(models.Model):
392
392
  identifier_type in req_vat_identif_types
393
393
  and line_vals["partner_id"] not in self.get_pos_partner_ids()
394
394
  ):
395
- line_vals["exception_text"] = _("Without VAT")
395
+ line_vals["exception_text"] = self.env._("Without VAT")
396
396
 
397
397
  def create_vat_book_lines(self, move_lines, line_type, taxes):
398
398
  VatBookLine = self.env["l10n.es.vat.book.line"]
@@ -414,9 +414,8 @@ class L10nEsVatBook(models.Model):
414
414
  tax_group = sp_taxes_dic[tax_line["tax_id"]]["special_tax_group"]
415
415
  line_vals["special_tax_group"] = tax_group
416
416
  tax_line["special_tax_group"] = tax_group
417
- if "other_tax_ids" in tax_line:
418
- sp_taxes[tuple(tax_line["other_tax_ids"])] = tax_line
419
- tax_line.pop("other_tax_ids", None)
417
+ sp_taxes[tuple(tax_line["other_tax_ids"])] = tax_line
418
+ tax_line.pop("other_tax_ids")
420
419
  # Second loop for putting the values in the other lines
421
420
  if sp_taxes:
422
421
  for tax_line in tax_lines.values():
@@ -448,7 +447,7 @@ class L10nEsVatBook(models.Model):
448
447
  """
449
448
  for rec in self:
450
449
  if not rec.company_id.partner_id.vat:
451
- raise UserError(_("This company doesn't have VAT"))
450
+ raise UserError(self.env._("This company doesn't have VAT"))
452
451
  rec._clear_old_data()
453
452
  # Searches for all possible usable lines to report
454
453
  moves = rec._get_account_move_lines()
@@ -572,7 +571,7 @@ class L10nEsVatBook(models.Model):
572
571
 
573
572
  def button_confirm(self):
574
573
  if any(l.exception_text for l in self.line_ids):
575
- raise UserError(_("This book has warnings. Fix it before confirm"))
574
+ raise UserError(self.env._("This book has warnings. Fix it before confirm"))
576
575
  return super().button_confirm()
577
576
 
578
577
  def export_xlsx(self):
@@ -26,8 +26,8 @@
26
26
  </td>
27
27
  <td class="td_detail_table">
28
28
  <span t-esc="o._format_date(o.date_start)" />-<span
29
- t-esc="o._format_date(o.date_end)"
30
- />
29
+ t-esc="o._format_date(o.date_end)"
30
+ />
31
31
  </td>
32
32
  </tr>
33
33
  </tbody>
@@ -58,9 +58,9 @@ class VatNumberXlsx(models.AbstractModel):
58
58
  sheet = workbook.add_worksheet("EXPEDIDAS")
59
59
 
60
60
  sheet.merge_range("B1:Q1", "LIBRO REGISTRO FACTURAS EXPEDIDAS", title_format)
61
- sheet.write("A2", "Ejercicio: %s" % book.year)
62
- sheet.write("A3", "NIF: %s" % book.company_vat)
63
- sheet.merge_range("A4:D4", "NOMBRE/RAZÓN SOCIAL: %s" % book.company_id.name)
61
+ sheet.write("A2", f"Ejercicio: {book.year}")
62
+ sheet.write("A3", f"NIF: {book.company_vat}")
63
+ sheet.write("A4:D4", f"NOMBRE/RAZÓN SOCIAL: {book.company_id.name}")
64
64
 
65
65
  sheet.merge_range("C6:E6", "Identificación de la Factura", header_format)
66
66
  sheet.merge_range("F6:H6", "NIF Destinatario", header_format)
@@ -212,9 +212,9 @@ class VatNumberXlsx(models.AbstractModel):
212
212
  sheet = workbook.add_worksheet("RECIBIDAS")
213
213
 
214
214
  sheet.merge_range("B1:S1", "LIBRO REGISTRO FACTURAS RECIBIDAS", title_format)
215
- sheet.write("A2", "Ejercicio: %s" % book.year)
216
- sheet.write("A3", "NIF: %s" % book.company_vat)
217
- sheet.merge_range("A4:D4", "NOMBRE/RAZÓN SOCIAL: %s" % book.company_id.name)
215
+ sheet.write("A2", f"Ejercicio: {book.year}")
216
+ sheet.write("A3", f"NIF: {book.company_vat}")
217
+ sheet.write("A4:D4", f"NOMBRE/RAZÓN SOCIAL: {book.company_id.name}")
218
218
 
219
219
  sheet.merge_range(
220
220
  "C6:D6", "Identificación Factura del Expedidor", header_format
@@ -372,9 +372,9 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:025e1246158da2322fa2a79ce574f25a423b2e14729b5049af6a41422b779695
375
+ !! source digest: sha256:a9d45e5d633b50ea58a22b47561373e4889bfe384c2d0123c665d101f7301de9
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/17.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-17-0/l10n-spain-17-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=17.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/18.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-18-0/l10n-spain-18-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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p>Módulo que calcula el libro de IVA español.</p>
379
379
  <p>Esto módulo introduce el menú “Libro de IVA” en Contabilidad -&gt; Informe
380
380
  -&gt; Declaraciones AEAT -&gt; Libro de IVA.</p>
@@ -453,7 +453,7 @@ usados.</li>
453
453
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-spain/issues">GitHub Issues</a>.
454
454
  In case of trouble, please check there if your issue has already been reported.
455
455
  If you spotted it first, help us to smash it by providing a detailed and welcomed
456
- <a class="reference external" href="https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
456
+ <a class="reference external" href="https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
457
457
  <p>Do not contact contributors directly about support or help with technical issues.</p>
458
458
  </div>
459
459
  <div class="section" id="credits">
@@ -494,7 +494,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
494
494
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
495
495
  mission is to support the collaborative development of Odoo features and
496
496
  promote its widespread use.</p>
497
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_vat_book">OCA/l10n-spain</a> project on GitHub.</p>
497
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_vat_book">OCA/l10n-spain</a> project on GitHub.</p>
498
498
  <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>
499
499
  </div>
500
500
  </div>
@@ -3,7 +3,7 @@
3
3
  <record model="ir.actions.act_window" id="action_aeat_vat_book_mapping">
4
4
  <field name="name">AEAT vat book map</field>
5
5
  <field name="res_model">aeat.vat.book.map.line</field>
6
- <field name="view_mode">tree,form</field>
6
+ <field name="view_mode">list,form</field>
7
7
  </record>
8
8
  <menuitem
9
9
  id="menu_aeat_vat_book_map"
@@ -15,7 +15,7 @@
15
15
  <field name="name">aeat.vat.book.map.lines.view.tree</field>
16
16
  <field name="model">aeat.vat.book.map.line</field>
17
17
  <field name="arch" type="xml">
18
- <tree editable="bottom">
18
+ <list editable="bottom">
19
19
  <field name="name" />
20
20
  <field name="book_type" />
21
21
  <field name="special_tax_group" />
@@ -24,7 +24,7 @@
24
24
  <field name="tax_xmlid_ids" widget="many2many_tags" />
25
25
  <field name="account_xmlid_id" />
26
26
  <field name="tax_agency_ids" widget="many2many_tags" />
27
- </tree>
27
+ </list>
28
28
  </field>
29
29
  </record>
30
30
  </odoo>
@@ -98,7 +98,7 @@
98
98
  <record id="l10n_es_vat_book_action" model="ir.actions.act_window">
99
99
  <field name="name">VAT Book</field>
100
100
  <field name="res_model">l10n.es.vat.book</field>
101
- <field name="view_mode">tree,form</field>
101
+ <field name="view_mode">list,form</field>
102
102
  <field name="help" type="html">
103
103
  <p class="oe_view_nocontent_create">
104
104
  Click to create a new VAT book.
@@ -107,7 +107,7 @@
107
107
  </record>
108
108
  <record model="ir.actions.act_window.view" id="action_l10n_vat_book_report_tree">
109
109
  <field name="sequence" eval="2" />
110
- <field name="view_mode">tree</field>
110
+ <field name="view_mode">list</field>
111
111
  <field name="view_id" ref="view_l10n_es_vat_book_tree" />
112
112
  <field name="act_window_id" ref="l10n_es_vat_book_action" />
113
113
  </record>
@@ -119,7 +119,7 @@
119
119
  </record>
120
120
  <menuitem
121
121
  id="menu_vat_book_report"
122
- parent="l10n_es_aeat.menu_l10n_es_aeat_submenu"
122
+ parent="l10n_es_aeat.menu_root_aeat"
123
123
  action="l10n_es_vat_book_action"
124
124
  name="Libro de IVA"
125
125
  />
@@ -20,7 +20,7 @@
20
20
  <notebook>
21
21
  <page name="taxes" string="Taxes">
22
22
  <field name="tax_line_ids" nolabel="1">
23
- <tree decoration-muted="special_tax_group">
23
+ <list decoration-muted="special_tax_group">
24
24
  <field name="base_amount" />
25
25
  <field name="tax_id" />
26
26
  <field name="tax_amount" />
@@ -38,7 +38,7 @@
38
38
  name="total_amount_special_include"
39
39
  column_invisible="not parent.special_tax_group"
40
40
  />
41
- </tree>
41
+ </list>
42
42
  <form>
43
43
  <group>
44
44
  <group>
@@ -71,7 +71,7 @@
71
71
  <field name="name">view.l10n_es_vat_book_line.tree</field>
72
72
  <field name="model">l10n.es.vat.book.line</field>
73
73
  <field name="arch" type="xml">
74
- <tree decoration-danger="exception_text">
74
+ <list decoration-danger="exception_text">
75
75
  <field name="ref" />
76
76
  <field name="external_ref" />
77
77
  <field name="invoice_date" />
@@ -82,7 +82,7 @@
82
82
  <field name="total_amount" />
83
83
  <field name="special_tax_group" />
84
84
  <field name="exception_text" />
85
- </tree>
85
+ </list>
86
86
  </field>
87
87
  </record>
88
88
  </odoo>
@@ -21,13 +21,13 @@
21
21
  <field name="name">view.l10n_es_vat_book_summary.tree</field>
22
22
  <field name="model">l10n.es.vat.book.summary</field>
23
23
  <field name="arch" type="xml">
24
- <tree decoration-muted="special_tax_group">
24
+ <list decoration-muted="special_tax_group">
25
25
  <field name="book_type" />
26
26
  <field name="special_tax_group" />
27
27
  <field name="base_amount" />
28
28
  <field name="tax_amount" />
29
29
  <field name="total_amount" />
30
- </tree>
30
+ </list>
31
31
  </field>
32
32
  </record>
33
33
  </odoo>
@@ -21,7 +21,7 @@
21
21
  <field name="name">view.l10n_es_vat_book_tax_summary.tree</field>
22
22
  <field name="model">l10n.es.vat.book.tax.summary</field>
23
23
  <field name="arch" type="xml">
24
- <tree decoration-muted="special_tax_group">
24
+ <list decoration-muted="special_tax_group">
25
25
  <field name="special_tax_group" />
26
26
  <field name="base_amount" />
27
27
  <!-- We don't add a visibility condition, as that would mean to have
@@ -44,7 +44,7 @@
44
44
  icon="fa-search-plus"
45
45
  />
46
46
  <field name="total_amount" />
47
- </tree>
47
+ </list>
48
48
  </field>
49
49
  </record>
50
50
  </odoo>
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-l10n_es_vat_book
3
- Version: 17.0.1.3.2
3
+ Version: 18.0.1.0.0.2
4
4
  Requires-Python: >=3.10
5
- Requires-Dist: odoo-addon-l10n_es_aeat>=17.0dev,<17.1dev
6
- Requires-Dist: odoo-addon-report_xlsx>=17.0dev,<17.1dev
7
- Requires-Dist: odoo>=17.0a,<17.1dev
5
+ Requires-Dist: odoo-addon-l10n_es_aeat==18.0.*
6
+ Requires-Dist: odoo-addon-report_xlsx==18.0.*
7
+ Requires-Dist: odoo==18.0.*
8
8
  Summary: Libro de IVA
9
9
  Home-page: https://github.com/OCA/l10n-spain
10
10
  License: AGPL-3
@@ -12,7 +12,7 @@ Author: PRAXYA, ForgeFlow, Tecnativa, Odoo Community Association (OCA)
12
12
  Author-email: support@odoo-community.org
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Framework :: Odoo
15
- Classifier: Framework :: Odoo :: 17.0
15
+ Classifier: Framework :: Odoo :: 18.0
16
16
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
17
17
 
18
18
  .. image:: https://odoo-community.org/readme-banner-image
@@ -28,7 +28,7 @@ Libro de IVA
28
28
  !! This file is generated by oca-gen-addon-readme !!
29
29
  !! changes will be overwritten. !!
30
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31
- !! source digest: sha256:025e1246158da2322fa2a79ce574f25a423b2e14729b5049af6a41422b779695
31
+ !! source digest: sha256:a9d45e5d633b50ea58a22b47561373e4889bfe384c2d0123c665d101f7301de9
32
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
33
33
 
34
34
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -38,13 +38,13 @@ Libro de IVA
38
38
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
39
39
  :alt: License: AGPL-3
40
40
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
41
- :target: https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_vat_book
41
+ :target: https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_vat_book
42
42
  :alt: OCA/l10n-spain
43
43
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
44
- :target: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_vat_book
44
+ :target: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_vat_book
45
45
  :alt: Translate me on Weblate
46
46
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
47
- :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=17.0
47
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=18.0
48
48
  :alt: Try me on Runboat
49
49
 
50
50
  |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -123,7 +123,7 @@ Bug Tracker
123
123
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
124
124
  In case of trouble, please check there if your issue has already been reported.
125
125
  If you spotted it first, help us to smash it by providing a detailed and welcomed
126
- `feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
126
+ `feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
127
127
 
128
128
  Do not contact contributors directly about support or help with technical issues.
129
129
 
@@ -168,6 +168,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
168
168
  mission is to support the collaborative development of Odoo features and
169
169
  promote its widespread use.
170
170
 
171
- This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_vat_book>`_ project on GitHub.
171
+ This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_vat_book>`_ project on GitHub.
172
172
 
173
173
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -1,9 +1,9 @@
1
- odoo/addons/l10n_es_vat_book/README.rst,sha256=lhEeYOv_08V9CbnBJMqfA1RFz_i8pTBephURMv-J2fU,5129
1
+ odoo/addons/l10n_es_vat_book/README.rst,sha256=jmM-VhB2HgiMqLIth_k-eSMR9_eEx4AgK0CU8cAWpVs,5129
2
2
  odoo/addons/l10n_es_vat_book/__init__.py,sha256=RYGen4VvN9c8GXvMfZMuO7ERiyRCUJfuAbgo0aC3DEU,42
3
- odoo/addons/l10n_es_vat_book/__manifest__.py,sha256=x6KPed1mRsQFgaR2z58FoHFJAq8J4sxXr0EHEYDYHZQ,1379
4
- odoo/addons/l10n_es_vat_book/data/aeat.vat.book.map.line.csv,sha256=VFsOFKP-wueQkfTIJlBxDz5V47lUg8YGYig5OdNpC1Q,1897
3
+ odoo/addons/l10n_es_vat_book/__manifest__.py,sha256=hsMZnjczZBwDtU5JP-crcJWRIQdVUZ4lhMyBIiS5Wuk,1379
4
+ odoo/addons/l10n_es_vat_book/data/aeat.vat.book.map.line.csv,sha256=8JXGxtshM038akfskHMFuX7zYFvM84dXwyOl5KeUh_A,1831
5
5
  odoo/addons/l10n_es_vat_book/data/l10n.es.aeat.map.tax.line.account.csv,sha256=0m96HT-KrZREvaknHK-FIfjqDcV0mdAwTeTyPtkAZFI,38
6
- odoo/addons/l10n_es_vat_book/data/l10n.es.aeat.map.tax.line.tax.csv,sha256=7nxLQ3FSBIjjfMhj5QSD8JScYGm9TcHhVA3tWeOpAjE,4559
6
+ odoo/addons/l10n_es_vat_book/data/l10n.es.aeat.map.tax.line.tax.csv,sha256=8d0b_FEzqOPynhO3CJS4L30ij5PtktTDbyKInlm0GT4,4343
7
7
  odoo/addons/l10n_es_vat_book/i18n/bg.po,sha256=Vbqs2mYFUJnLndd6k8v2Tovmk73x1g02jcY5aRY-Eec,34789
8
8
  odoo/addons/l10n_es_vat_book/i18n/ca.po,sha256=DtQMaP4eluLC_FOQB7ct1FOE4Gl_a1nVF6Zkr64QQCg,40409
9
9
  odoo/addons/l10n_es_vat_book/i18n/cs.po,sha256=0cV_RtqbfsAlleb_O-Ivlpa0bpZ0e-Z7eAiiVAyolI4,34707
@@ -15,7 +15,7 @@ odoo/addons/l10n_es_vat_book/i18n/eu.po,sha256=K9k2MqapSS1zG5k2qEJetxD6GJKlnESrb
15
15
  odoo/addons/l10n_es_vat_book/i18n/fr.po,sha256=FGvy4h9OjIFwxV0nKd2RbdMHlpUYADURLwNdeeXrCN0,34693
16
16
  odoo/addons/l10n_es_vat_book/i18n/gl.po,sha256=9zAwtKo1kyDwh6O12rAPuKWZBFLxjgN7tdRB4t4V4Lw,34756
17
17
  odoo/addons/l10n_es_vat_book/i18n/hr.po,sha256=Yh5D-jawQO7tFD0OIoNvx1v2BOkuRRJPMF9WVCG6Uu8,34739
18
- odoo/addons/l10n_es_vat_book/i18n/l10n_es_vat_book.pot,sha256=TWVc14dJgxKPOzhluUzQnlaPHyroSWJ4peGsWLr4K9Q,34204
18
+ odoo/addons/l10n_es_vat_book/i18n/l10n_es_vat_book.pot,sha256=cUDwHn6kwPt-2rl8IhscXDosUzUhvbWzdWUwZVhNHYI,34136
19
19
  odoo/addons/l10n_es_vat_book/i18n/nl.po,sha256=oD6e-Ku5lbrQOeCslk5HA_wPMyLCuAPZoMUy1ZFPzkM,34691
20
20
  odoo/addons/l10n_es_vat_book/i18n/pl.po,sha256=mL6yB2YOX4_ougbs798BgFLVxUxT66nlVAul2Xd_eoA,34847
21
21
  odoo/addons/l10n_es_vat_book/i18n/pt.po,sha256=xQb5KCyrXzahSJeW8iNgaqkH_V2EVKmWPFPI1jiZ4T0,34704
@@ -27,7 +27,7 @@ odoo/addons/l10n_es_vat_book/i18n/tr.po,sha256=FCCwDWSMkfy9BI5HjacB517-O3VLSo94r
27
27
  odoo/addons/l10n_es_vat_book/i18n/vi.po,sha256=XHp9iq_8_W38_wIPz5PGpPVn-ARYHW7wTKEtZqz7_Y4,34670
28
28
  odoo/addons/l10n_es_vat_book/models/__init__.py,sha256=V0ONDc9wKn8JF0Soh2NCORHEAQ7EcOn16SNkxjA50WU,226
29
29
  odoo/addons/l10n_es_vat_book/models/aeat_vat_book_map_line.py,sha256=KiWM5Ss1scORwau9nzRfFC0Z73ESmNPgbuSsPRM4RnY,2075
30
- odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book.py,sha256=zAAwDwaRU_w-F5FlR9fJfFOARTtNyMu2h2jJjt3ecc4,22679
30
+ odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book.py,sha256=8H0_4vC8tgCnl6TuF62QwGo6VwVFzyxa1-Cnbo981EU,22661
31
31
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_line.py,sha256=9LqiNYUGomYBVIyvdT1qTnNwHKTM3df6jJxWvnoIsLk,2146
32
32
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_line_tax.py,sha256=5Xn13NYxaPFRyfkbJvNEoUvSWzr54HiCD1GsHtmenLk,2405
33
33
  odoo/addons/l10n_es_vat_book/models/l10n_es_vat_book_summary.py,sha256=7NKIt1v_hx-5PXs4rbpdngX-4cIPpbRtht2LRQ26HV8,1202
@@ -39,24 +39,24 @@ odoo/addons/l10n_es_vat_book/readme/INSTALL.md,sha256=szULZOUnQsfO-mRKmnF_PsGmAR
39
39
  odoo/addons/l10n_es_vat_book/readme/ROADMAP.md,sha256=6jBDDFeZ1iDh9yAb6p8RUWcfrObxSxCwxpzpCteeilg,171
40
40
  odoo/addons/l10n_es_vat_book/readme/USAGE.md,sha256=WTI42NoWwgTi0lmaj9icm_TFvGcnks_fit7kJwwEyos,227
41
41
  odoo/addons/l10n_es_vat_book/report/__init__.py,sha256=QS0o-fQFNABxF_-bBmduhokP3PWyj7GhHU2mEeGdKXI,28
42
- odoo/addons/l10n_es_vat_book/report/common_templates.xml,sha256=bGTZrPV2YG8G6p7YSr3J-6shOxAT10EZqaQeKBuylFg,10054
42
+ odoo/addons/l10n_es_vat_book/report/common_templates.xml,sha256=Hu_8s9pR6Ll4ui-0rCHG68gB2pzXpCXKZnh35xSWGbI,10046
43
43
  odoo/addons/l10n_es_vat_book/report/report_views.xml,sha256=CiXGZY8KFwZFqAxjWMYWXIR0iUSBxaS67eCl9lMxAQk,2277
44
44
  odoo/addons/l10n_es_vat_book/report/vat_book_invoices_issued.xml,sha256=9RnQeHVKFBXG2hQH-Vf41oHs1yrz2sknaj4bDhKrs7Y,4127
45
45
  odoo/addons/l10n_es_vat_book/report/vat_book_invoices_received.xml,sha256=l43OPxfR2IlVACmyRWgEYp7x62Q0k9bQG7jdEFwjwIs,4121
46
- odoo/addons/l10n_es_vat_book/report/vat_book_xlsx.py,sha256=KgC1MUAvUhkJS4sEAvNCK68YneoQ1iTXeW9mvKcYhYk,16398
46
+ odoo/addons/l10n_es_vat_book/report/vat_book_xlsx.py,sha256=OaEur3VHXETwZOAhborEK3rh3QtsQsoCPRcHav8bWnc,16374
47
47
  odoo/addons/l10n_es_vat_book/report/vat_book_xlsx.xml,sha256=sZd6sU-mnZUN-odM8R5MHtt6XfuXkVxPEkyP8XjJMf8,576
48
48
  odoo/addons/l10n_es_vat_book/security/ir.model.access.csv,sha256=D-VRSm4gZ7A0LOlIH9JL-EXkH7EzbubObuFL634GuUs,871
49
49
  odoo/addons/l10n_es_vat_book/security/ir_rule.xml,sha256=4HkdO_WPIAK6hXcVUIFTLmzl0af-tVplhO-o2Xsic1M,521
50
50
  odoo/addons/l10n_es_vat_book/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
51
- odoo/addons/l10n_es_vat_book/static/description/index.html,sha256=np_66oFZYww678Dysd-h8R-Pi2wdbtBphqlfCgjH5vs,16291
51
+ odoo/addons/l10n_es_vat_book/static/description/index.html,sha256=FGopOAK9i8uEga73tPEfRWEkl4syAiBByUlDTOmC8IA,16291
52
52
  odoo/addons/l10n_es_vat_book/tests/__init__.py,sha256=4dynCSzE14Nz6hAqV9vEmx8lEt3Byn-gqNKA0-wj7uc,41
53
53
  odoo/addons/l10n_es_vat_book/tests/test_l10n_es_aeat_vat_book.py,sha256=TZbI7wn8fHKo1jkL03a-YskBhQ3FDxMoCzL_TBbKVpQ,4587
54
- odoo/addons/l10n_es_vat_book/views/aeat_vat_book_map_view.xml,sha256=SfCJvQTce8aBpvANVDQw2QZHWyI7lPsHJthfhteBRww,1272
55
- odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book.xml,sha256=iFp1kPbRUAj1rAS53glpFSiQHsmCDJ3YzGaFKxCPJi4,5586
56
- odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_line.xml,sha256=LIOR6whqXzxqYJC7rtY7JSaxeKsxAatQlooG0JLpRZs,4504
57
- odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_summary.xml,sha256=PTX2BDmnE6bIZjlMlRH6R479DdZgDPzG0WO_e-iC2gU,1333
58
- odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_tax_summary.xml,sha256=HGDXXDWt3hVT3HEd-QXg_w9DGsiiZ_BDBG1YJUtVZ4Y,2086
59
- odoo_addon_l10n_es_vat_book-17.0.1.3.2.dist-info/METADATA,sha256=-E7s2ZJla9W_AmZe5gR5zVzvrurMoSCICdD2NQSt6Rk,5761
60
- odoo_addon_l10n_es_vat_book-17.0.1.3.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
61
- odoo_addon_l10n_es_vat_book-17.0.1.3.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
62
- odoo_addon_l10n_es_vat_book-17.0.1.3.2.dist-info/RECORD,,
54
+ odoo/addons/l10n_es_vat_book/views/aeat_vat_book_map_view.xml,sha256=XmesiXOCjbpV5Bu_WLVyEgGYvD1gQM2EqXei662IlmA,1272
55
+ odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book.xml,sha256=UmfFm2fe8nrU06xwP5k5w2P9eHAM5BHwLrf1EgItG1Q,5575
56
+ odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_line.xml,sha256=gPV_hC4GDZqnNMLlOetIvKuzzyLO4upU5nzTpnZB81Q,4504
57
+ odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_summary.xml,sha256=eofP_7uLFzOxxXZKTIIKckhEJnOHtbZcLU1vtL9OJzE,1333
58
+ odoo/addons/l10n_es_vat_book/views/l10n_es_vat_book_tax_summary.xml,sha256=pZ_xc9TA7kvln4ecgyQxPZaSfxSToCjylUUnMBTHrNE,2086
59
+ odoo_addon_l10n_es_vat_book-18.0.1.0.0.2.dist-info/METADATA,sha256=G6i42RgCQIPsjfbHNcykAUFtVyhVMQmms4NwnucU_Ls,5735
60
+ odoo_addon_l10n_es_vat_book-18.0.1.0.0.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
61
+ odoo_addon_l10n_es_vat_book-18.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
62
+ odoo_addon_l10n_es_vat_book-18.0.1.0.0.2.dist-info/RECORD,,