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

[11.0][MIG] l10n_es_pos #693

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
94 changes: 94 additions & 0 deletions l10n_es_pos/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3

================================================================
Punto de venta Punto de venta adaptado a la legislación española
================================================================

* Adapta el terminal punto de venta a la legislación Española (no se permite la
emisión de tiquets, todo deben ser facturas o facturas simplificadas con
numeración)
* Adapta el ticket de venta a la factura simplificada, añadiendo una secuencia correlativa y el NIF del emisor.
* Incluye los datos del cliente (nombre, NIF y dirección) si hay uno asignado.
* Chequea que no se realice una factura simplificada con valor
superior a 3.000 euros (la cantidad es configurable por TPV).


Instalación
===========

Para instalar este modulo necesitas:

* point_of_sale (Odoo addon)

Se instala automáticamente si está disponible en la lista de addons.

También es necesario definir una secuencia de factura simplificada en la
configuración de cada TPV.


Configuración
=============

Se puede configurar el límite a partir del cual no se considera factura
simplificada, por defecto es 3.000,00 €. También permite modificar la secuencia de factura simplificada.
Para modificarlos es necesario ir a:
Configuracion > Terminal punto de venta (TPV)

`Ver enlace de la AEAT <http://www.agenciatributaria.es/AEAT.internet/Inicio_es_ES/_Segmentos_/Empresas_y_profesionales/Empresas/IVA/Obligaciones_de_facturacion/Tipos_de_factura.shtml>`_


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 smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_pos%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.


Licencia
========

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/agpl-3.0-standalone.html>.


Créditos
========

Contribuidores
--------------

* Endika Iglesias <endikaig@antiun.com>
* Pedro M. Baeza [Serv. Tecnológicos Avanzados] <pedro.baeza@serviciosbaeza.com>
* Antonio Espinosa <antonioea@antiun.com>
* Rafael Blasco <rafabn@antiun.com>
* David Gómez <david.gomez@aselcis.com>
* Miguel Paraíso <miguel.paraiso@aselcis.com>


Mantenedor
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
24 changes: 24 additions & 0 deletions l10n_es_pos/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright 2017 - Aselcis Consulting (http://www.aselcis.com)
# - David Gómez <david.gomez@aselcis.com>
# - Miguel Paraíso <miguel.paraiso@aselcis.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import models
29 changes: 29 additions & 0 deletions l10n_es_pos/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details

{
'name': "Punto de venta adaptado a la legislación española",
'summary': """
Añade todo lo necesario para adaptar el TPV a la legislación Española.
""",
'description': """
Añade todo lo necesario para adaptar el TPV a la legislación Española.
""",

'website': "https://www.aselcis.com",
'category': 'Point Of Sale',
'author': "Antiun Ingeniería S.L., "
"Serv. Tecnol. Avanzados - Pedro M. Baeza, "
"Aselcis Consulting, "
"Spanish Localization Team, "
"Odoo Community Association (OCA)",
'version': '11.0.1.0.0',
'depends': ['point_of_sale'],
'license': 'AGPL-3',
'data': [
'views/pos_templates.xml',
'views/pos_views.xml',
],
'qweb': ['static/src/xml/pos.xml'],
'installable': True,
}
125 changes: 125 additions & 0 deletions l10n_es_pos/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_pos
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-14 15:52+0000\n"
"PO-Revision-Date: 2017-11-14 17:03+0100\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.4\n"
"Last-Translator: \n"
"Language: es\n"

#. module: l10n_es_pos
#: code:addons/l10n_es_pos/models/pos.py:92
#, python-format
msgid ""
"Already exists other POS config with the same Sim.Inv prefix. You should "
"change this field value."
msgstr ""
"Ya existe otra configuración con el mismo prefijo de Factura Simplificada. "
"Debería cambiar el valor de este campo."

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:27
#, python-format
msgid "Customer:"
msgstr "Cliente:"

#. module: l10n_es_pos
#: model:ir.ui.view,arch_db:l10n_es_pos.view_pos_order_filter_simplified_invoice
msgid "Invoices"
msgstr "Facturas"

#. module: l10n_es_pos
#: model:ir.model.fields,help:l10n_es_pos.field_pos_config_simplified_invoice_limit
msgid "Over this amount is not legally possible to create a simplified invoice"
msgstr ""
"Por encima de esta cantidad, no es posible crear legalmente una Factura "
"Simplificada"

#. module: l10n_es_pos
#: model:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
msgid "Over this amount is not legally possible to create a simplified invoice"
msgstr ""
"Por encima de esta cantidad, no es posible crear legalmente una Factura "
"Simplificada"

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_pos_order
msgid "Point of Sale Orders"
msgstr "Pedidos del punto de venta"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config_simplified_invoice_limit
msgid "Sim.Inv limit amount"
msgstr "Límite de Fac. Simpl."

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config_simple_invoice_number
msgid "Sim.Inv number"
msgstr "Número de Fac. Simp."

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config_simple_invoice_padding
msgid "Sim.Inv padding"
msgstr "Espaciado de Fac. Simp."

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_config_simple_invoice_prefix
msgid "Sim.Inv prefix"
msgstr "Prefijo de Fac. Simp."

#. module: l10n_es_pos
#: model:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
msgid "Simplified Invoices"
msgstr "Facturas Simplificadas"

#. module: l10n_es_pos
#: model:ir.model.fields,field_description:l10n_es_pos.field_pos_order_simplified_invoice
msgid "Simplified invoice"
msgstr "Factura Simplificada"

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:6
#, python-format
msgid "Simplified invoice:"
msgstr "Factura simplificada:"

#. module: l10n_es_pos
#: model:ir.ui.view,arch_db:l10n_es_pos.view_pos_order_filter_simplified_invoice
msgid "Simplified invoices"
msgstr "Facturas simplificadas"

#. module: l10n_es_pos
#: model:ir.ui.view,arch_db:l10n_es_pos.pos_config_view_form
msgid "TPVXXX#"
msgstr ""

#. module: l10n_es_pos
#. openerp-web
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:12
#: code:addons/l10n_es_pos/static/src/xml/pos.xml:29
#, python-format
msgid "VAT:"
msgstr "NIF:"

#. module: l10n_es_pos
#: code:addons/l10n_es_pos/models/pos.py:59
#, python-format
msgid "You need to define a simplified invoice prefix."
msgstr "Necesitas definir un prefijo de factura simplificada."

#. module: l10n_es_pos
#: model:ir.model,name:l10n_es_pos.model_pos_config
msgid "pos.config"
msgstr ""
24 changes: 24 additions & 0 deletions l10n_es_pos/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright 2017 - Aselcis Consulting (http://www.aselcis.com)
# - David Gómez <david.gomez@aselcis.com>
# - Miguel Paraíso <miguel.paraiso@aselcis.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import pos