Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] l10n_es_vat_book_invoice_summary: Migration to 16.0 #3671

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions l10n_es_vat_book_invoice_summary/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
================================
Facturas resumen en libro de IVA
================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:62679bd0f6da157bf7ec60ad978de7995a8aff9a0d6cd95d9c674b9c152b6f73
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_vat_book_invoice_summary
:alt: OCA/l10n-spain
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_vat_book_invoice_summary
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Se rellenan las casillas de resumen de las facturas emitidas en el excel de Libro de IVA

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book_invoice_summary%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Víctor Martínez
* Pedro M. Baeza

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
:target: https://github.com/victoralmau
:alt: victoralmau

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victoralmau|

This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_vat_book_invoice_summary>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_es_vat_book_invoice_summary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import report
13 changes: 13 additions & 0 deletions l10n_es_vat_book_invoice_summary/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Facturas resumen en libro de IVA",
"version": "16.0.1.0.0",
"depends": ["l10n_es_aeat_sii_invoice_summary", "l10n_es_vat_book"],
"category": "Accounting & Finance",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-spain",
"installable": True,
"maintainers": ["victoralmau"],
}
37 changes: 37 additions & 0 deletions l10n_es_vat_book_invoice_summary/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_vat_book_invoice_summary
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-23 11:36+0000\n"
"PO-Revision-Date: 2024-05-23 11:36+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx__id
msgid "ID"
msgstr ""

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model,name:l10n_es_vat_book_invoice_summary.model_report_l10n_es_vat_book_l10n_es_vat_book_xlsx
msgid "Vat Number Xlsx"
msgstr "Número de IVA Xlsx"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_vat_book_invoice_summary
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx__id
msgid "ID"
msgstr ""

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model.fields,field_description:l10n_es_vat_book_invoice_summary.field_report_l10n_es_vat_book_l10n_es_vat_book_xlsx____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_es_vat_book_invoice_summary
#: model:ir.model,name:l10n_es_vat_book_invoice_summary.model_report_l10n_es_vat_book_l10n_es_vat_book_xlsx
msgid "Vat Number Xlsx"
msgstr ""
4 changes: 4 additions & 0 deletions l10n_es_vat_book_invoice_summary/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Víctor Martínez
* Pedro M. Baeza
1 change: 1 addition & 0 deletions l10n_es_vat_book_invoice_summary/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Se rellenan las casillas de resumen de las facturas emitidas en el excel de Libro de IVA
1 change: 1 addition & 0 deletions l10n_es_vat_book_invoice_summary/report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import vat_book_xlsx
20 changes: 20 additions & 0 deletions l10n_es_vat_book_invoice_summary/report/vat_book_xlsx.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from odoo import models


class VatNumberXlsx(models.AbstractModel):
_inherit = "report.l10n_es_vat_book.l10n_es_vat_book_xlsx"

def fill_issued_row_data(
self, sheet, row, line, tax_line, with_total, draft_export
):
"""Add final number if move has is_invoice_summary."""
res = super().fill_issued_row_data(
sheet, row, line, tax_line, with_total, draft_export
)
if line.move_id.is_invoice_summary:
sheet.write("D" + str(row), line.move_id.sii_invoice_summary_start)
sheet.write("E" + str(row), line.move_id.sii_invoice_summary_end)
return res
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading