Skip to content
Open
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
94 changes: 94 additions & 0 deletions l10n_es_aeat_sii_invoice_summary_pos/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
=========================================================
Rellenar campos de factura simplificada resumen TPV a SII
=========================================================

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

.. |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/17.0/l10n_es_aeat_sii_invoice_summary_pos
: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-17-0/l10n-spain-17-0-l10n_es_aeat_sii_invoice_summary_pos
: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=17.0
:alt: Try me on Runboat

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

Permite completar los campos de primera y última factura en el resumen
de facturas simplificadas según un rango de fecha seleccionado.

**Table of contents**

.. contents::
:local:

Usage
=====

Para usar este modulo:
----------------------

1. Debes seleccionar el campo Resumen facturas simplificadas SII
2. Seleccionar la fecha de inicio y la fecha de finalización.
3. Click en el botón **Resumen por fechas**.
4. Una vez ejecutada la acción, se completan los campos *Primera
factura* y *Última factura* (si existen datos).
5. Se crea una línea de factura, cuyo nombre se compone de los campos
*Primera factura* y *Última factura* y del importe total del rango de
tickets obtenidos. Tenga en cuenta que cada vez que se ejecute esta
acción se borran los apuntes anteriores, por lo cual considere
agregar las apuntes extras a posteriori.

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_aeat_sii_invoice_summary_pos%0Aversion:%2017.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
-------

* Binhex

Contributors
------------

- Binhex (https://www.binhex.cloud)

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.

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions l10n_es_aeat_sii_invoice_summary_pos/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright 2025 Binhex <https://www.binhex.cloud>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
from . import models
21 changes: 21 additions & 0 deletions l10n_es_aeat_sii_invoice_summary_pos/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Binhex <https://www.binhex.cloud>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
{
"name": "Rellenar campos de factura simplificada resumen TPV a SII",
"summary": """
Rellenar automáticamente los campos primera y última factura de
resúmenes simplificados TPV a SII.
""",
"version": "17.0.1.0.0",
"depends": [
"l10n_es_aeat_sii_invoice_summary",
"point_of_sale",
],
"category": "Accounting & Finance",
"author": "Binhex, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-spain",
"data": ["data/res_partner_data.xml", "views/account_move_view.xml"],
"installable": True,
"application": False,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="l10n_es.partner_simplified" model="res.partner">
<field name="aeat_simplified_invoice" eval="True" />
</record>
</odoo>
103 changes: 103 additions & 0 deletions l10n_es_aeat_sii_invoice_summary_pos/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_aeat_sii_invoice_summary_pos
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 15:43+0000\n"
"PO-Revision-Date: 2025-05-09 15:43+0000\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_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_end_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_end_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_end_date
msgid "End Date"
msgstr "Fecha fin"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "First Invoice"
msgstr "Primera factura"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_pos_order__is_presented
msgid "Is Presented"
msgstr "Esta presente"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move_line__is_sii_line
msgid "Is Sii Line"
msgstr "SII Linea"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "Last Invoice"
msgstr "Última factura"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Pedidos de TPV"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "SII Information"
msgstr "SII Información"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "Select the start date and end date."
msgstr "Seleccione la fecha de inicio y fin."

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_tickets
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_tickets
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_tickets
msgid "Sii Tickets"
msgstr "SII Tickets"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_start_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_start_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_start_date
msgid "Start Date"
msgstr "Fecha inicio"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "Start date must be before end date."
msgstr "Fecha inicio debe ser menor que la fecha fin."

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "Summary by dates"
msgstr "Resumen por fechas"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "The First invoice and Last invoice fields cannot be empty."
msgstr "La Primera factura y Última factura no pueden ser vacios."
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_aeat_sii_invoice_summary_pos
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 15:50+0000\n"
"PO-Revision-Date: 2025-05-09 15:50+0000\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_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_end_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_end_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_end_date
msgid "End Date"
msgstr "Fecha fin"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "First Invoice"
msgstr "Primera factura"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_pos_order__is_presented
msgid "Is Presented"
msgstr "Esta presente"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move_line__is_sii_line
msgid "Is Sii Line"
msgstr "SII Linea"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "Last Invoice"
msgstr "Última factura"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model,name:l10n_es_aeat_sii_invoice_summary_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Pedidos de TPV"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "SII Information"
msgstr "SII Información"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "Select the start date and end date."
msgstr "Seleccione la fecha de inicio y fin."

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_tickets
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_tickets
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_tickets
msgid "Sii Tickets"
msgstr "SII Tickets"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_bank_statement_line__sii_start_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_move__sii_start_date
#: model:ir.model.fields,field_description:l10n_es_aeat_sii_invoice_summary_pos.field_account_payment__sii_start_date
msgid "Start Date"
msgstr "Fecha inicio"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "Start date must be before end date."
msgstr "Fecha inicio debe ser menor que la fecha fin."

#. module: l10n_es_aeat_sii_invoice_summary_pos
#: model_terms:ir.ui.view,arch_db:l10n_es_aeat_sii_invoice_summary_pos.invoice_sii_move_summary_form_view_inherit
msgid "Summary by dates"
msgstr "Resumen por fechas"

#. module: l10n_es_aeat_sii_invoice_summary_pos
#. odoo-python
#: code:addons/l10n_es_aeat_sii_invoice_summary_pos/models/account_move.py:0
#, python-format
msgid "The First invoice and Last invoice fields cannot be empty."
msgstr "La Primera factura y Última factura no pueden ser vacios."
5 changes: 5 additions & 0 deletions l10n_es_aeat_sii_invoice_summary_pos/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2025 Binhex <https://www.binhex.cloud>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)

from . import account_move
from . import pos_order
Loading