From 955f5572adb2bf8a46331eea19337cddc85e3fcf Mon Sep 17 00:00:00 2001 From: agaldona Date: Fri, 17 Apr 2015 13:15:42 +0200 Subject: [PATCH 01/31] [ADD] l10n_es_aeat_mod216: nuevo modulo para sacar el modelo 216 del AEAT --- l10n_es_aeat_mod216/README.rst | 29 ++++ l10n_es_aeat_mod216/__init__.py | 22 +++ l10n_es_aeat_mod216/__openerp__.py | 35 ++++ l10n_es_aeat_mod216/models/__init__.py | 21 +++ l10n_es_aeat_mod216/models/mod216.py | 74 +++++++++ .../security/ir.model.access.csv | 2 + l10n_es_aeat_mod216/views/mod216_view.xml | 72 +++++++++ l10n_es_aeat_mod216/wizard/__init__.py | 21 +++ .../wizard/export_mod216_to_boe.py | 152 ++++++++++++++++++ .../wizard/export_mod216_to_boe.xml | 20 +++ 10 files changed, 448 insertions(+) create mode 100644 l10n_es_aeat_mod216/README.rst create mode 100644 l10n_es_aeat_mod216/__init__.py create mode 100644 l10n_es_aeat_mod216/__openerp__.py create mode 100644 l10n_es_aeat_mod216/models/__init__.py create mode 100644 l10n_es_aeat_mod216/models/mod216.py create mode 100644 l10n_es_aeat_mod216/security/ir.model.access.csv create mode 100644 l10n_es_aeat_mod216/views/mod216_view.xml create mode 100644 l10n_es_aeat_mod216/wizard/__init__.py create mode 100644 l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py create mode 100644 l10n_es_aeat_mod216/wizard/export_mod216_to_boe.xml diff --git a/l10n_es_aeat_mod216/README.rst b/l10n_es_aeat_mod216/README.rst new file mode 100644 index 00000000000..a6f86b4b18b --- /dev/null +++ b/l10n_es_aeat_mod216/README.rst @@ -0,0 +1,29 @@ +Presentación del Modelo AEAT 216 +================================ +Modelo 216 de la AEAT. + +Credits +======= + +Contributors +------------ + +* MálagaTIC (http://www.malagatic.com) +* Carlos Sánchez Cifuentes +* Pedro M. Baeza +* AvanzOSC (http://www.avanzosc.es) + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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 http://odoo-community.org. diff --git a/l10n_es_aeat_mod216/__init__.py b/l10n_es_aeat_mod216/__init__.py new file mode 100644 index 00000000000..6353085b47d --- /dev/null +++ b/l10n_es_aeat_mod216/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from . import models +from . import wizard diff --git a/l10n_es_aeat_mod216/__openerp__.py b/l10n_es_aeat_mod216/__openerp__.py new file mode 100644 index 00000000000..30bd4e10a97 --- /dev/null +++ b/l10n_es_aeat_mod216/__openerp__.py @@ -0,0 +1,35 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +{ + 'name': 'AEAT modelo 216', + 'version': '1.0', + 'category': "Localisation/Accounting", + 'author': "Spanish Localization Team,Odoo Community Association (OCA)", + 'website': "https://github.com/OCA/l10n-spain", + 'license': 'AGPL-3', + 'depends': ['l10n_es_aeat'], + 'data': [ + 'wizard/export_mod216_to_boe.xml', + 'views/mod216_view.xml', + 'security/ir.model.access.csv'], + 'active': False, + 'installable': True, +} diff --git a/l10n_es_aeat_mod216/models/__init__.py b/l10n_es_aeat_mod216/models/__init__.py new file mode 100644 index 00000000000..2483e813818 --- /dev/null +++ b/l10n_es_aeat_mod216/models/__init__.py @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from . import mod216 diff --git a/l10n_es_aeat_mod216/models/mod216.py b/l10n_es_aeat_mod216/models/mod216.py new file mode 100644 index 00000000000..f9c5fe2e6b6 --- /dev/null +++ b/l10n_es_aeat_mod216/models/mod216.py @@ -0,0 +1,74 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from openerp import fields, models, api + + +class L10nEsAeatMod216Report(models.Model): + + _description = 'AEAT 216 report' + _inherit = 'l10n.es.aeat.report' + _name = 'l10n.es.aeat.mod216.report' + + number = fields.Char(default='216') + casilla_01 = fields.Integer('Casilla [01]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 1 - Núm. Rentas') + casilla_02 = fields.Float('Casilla [02]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 2 - Base ret. ing. ' + 'cuenta') + casilla_03 = fields.Float('Casilla [03]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 3 - Retenciones ' + 'ingresos a cuenta') + casilla_04 = fields.Integer('Casilla [04]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 4 - Núm. Rentas') + casilla_05 = fields.Float('Casilla [05]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 5 - Base ret. ing. ' + 'cuenta.') + casilla_06 = fields.Float('Casilla [06]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 6 - Resultado ing. ' + 'anteriores declaraciones') + casilla_07 = fields.Integer('Casilla [07]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 7 - Resultado ' + 'ingresar') + currency_id = fields.Many2one('res.currency', string='Moneda', + related='company_id.currency_id', store=True) + period_id = fields.Many2one('account.period', 'Periodo', readonly=True, + states={'draft': [('readonly', False)]}, + required=True) + tipo_declaracion = fields.Selection( + [('I', 'Ingreso'), ('U', 'Domiciliación'), + ('G', 'Ingreso a anotar en CCT'), ('N', 'Negativa')], + string='Tipo de declaración', readonly=True, + states={'draft': [('readonly', False)]}, required=True) + + def __init__(self, pool, cr): + self._aeat_number = '216' + super(L10nEsAeatMod216Report, self).__init__(pool, cr) + + @api.multi + def calculate(self): + self.ensure_one() diff --git a/l10n_es_aeat_mod216/security/ir.model.access.csv b/l10n_es_aeat_mod216/security/ir.model.access.csv new file mode 100644 index 00000000000..f2088a846dc --- /dev/null +++ b/l10n_es_aeat_mod216/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_l10n_es_aeat_mod216_manager,l10n_es_aeat_mod216 manager,model_l10n_es_aeat_mod216_report,l10n_es_aeat.group_account_aeat,1,1,1,1 diff --git a/l10n_es_aeat_mod216/views/mod216_view.xml b/l10n_es_aeat_mod216/views/mod216_view.xml new file mode 100644 index 00000000000..9440e04f3e1 --- /dev/null +++ b/l10n_es_aeat_mod216/views/mod216_view.xml @@ -0,0 +1,72 @@ + + + + + l10n_es.aeat.mod216.report.form + l10n.es.aeat.mod216.report + + + + + + + + + + + + + + + + + + + + + + + + + + l10n_es.aeat.mod216.report.tree + l10n.es.aeat.mod216.report + + + + Declaraciones AEAT 216 + + + + + + + + + Declaración AEAT 216 + l10n.es.aeat.mod216.report + form + form,tree + Crea y consulta las declaraciones del modelo 216 de la AEAT. + + + + + form + + + + + + + tree + + + + + + + + diff --git a/l10n_es_aeat_mod216/wizard/__init__.py b/l10n_es_aeat_mod216/wizard/__init__.py new file mode 100644 index 00000000000..8dd90ae59ab --- /dev/null +++ b/l10n_es_aeat_mod216/wizard/__init__.py @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from . import export_mod216_to_boe diff --git a/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py new file mode 100644 index 00000000000..8136be63b43 --- /dev/null +++ b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py @@ -0,0 +1,152 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from openerp import models, api + + +class L10nEsAeatMod216ExportToBoe(models.TransientModel): + + _inherit = 'l10n.es.aeat.report.export_to_boe' + _name = 'l10n.es.aeat.mod216.export_to_boe' + + @api.multi + def _get_formatted_declaration_record(self, report): + res = '' + # Inicio del identificador de modelo y página: Constante "', 5) + return res + + @api.multi + def _get_formatted_main_record(self, report): + res = '' + # Constante ''(5) + res += self._formatString('', 5) + # Reservado para el AEAT (Dejar en blanco)(300) + res += self._formatString('', 300) + # Constante ''(6) + res += self._formatString('', 6) + # Contenido del fichero. + res += self._get_formatted_sub_declaration_record(report) + res += self._get_formatted_sub_main_record(report) + res += self._get_formatted_sub_other_records(report) + return res + + @api.multi + def _get_formatted_other_records(self, report): + res = '' + # Indicador de fin de registro (18). + res += self._formatString('', 5) + # Fin de registro Constante CRLF(Hexadecimal 0D0A, Decimal 1310) + res += '\x0A\x0D' + return res + + @api.multi + def _get_formatted_sub_declaration_record(self, report): + res = '' + # Inicio del identificador de modelo y página: Constante "" + res += self._formatString('>', 1) + # Indicador de página complementaria: En blanco + res += self._formatString('', 1) + # Tipo de declaración: I (ingreso), U (domiciliación), + # G (ingreso a anotar en CCT), N (negativa) + res += self._formatString(report.tipo_declaracion, 1) + # Identificación. Sujeto pasivo. NIF + res += self._formatString(report.company_vat, 9) + # Identificación. Sujeto pasivo. Denominación (o Apellidos y Nombre) + res += self._formatString(report.company_name, 60) + # Identificación. Nombre (solo personas fisicas) + res += self._formatString('', 20) + # Devengado. Ejercicio + res += self._formatNumber(report.fiscalyear_id.code, 4) + # Devengado. Periodo: "01" ... "12" o "1T" … "4T" + res += self._formatString(report.period_id.code[0:2], 2) + return res + + @api.multi + def _get_formatted_sub_main_record(self, report): + res = '' + # Liquidación + # Partida 1 + # Num. Rentas + res += self._formatNumber(report.casilla_01, 17) + # Liquidación + # Partida 2 + # Base ret. ing. cuenta. + res += self._formatNumber(report.casilla_02, 17) + # Liquidación + # Partida 3 + # Retenciones ingresos a cuenta + res += self._formatNumber(report.casilla_03, 17) + # Liquidación + # Partida 4 + # Num. Rentas + res += self._formatNumber(report.casilla_04, 17) + # Liquidación + # Partida 5 + # Base ret. ing.cuenta. + res += self._formatNumber(report.casilla_05, 17) + # Liquidación + # Partida 6 + # Resultado ing. anteriores declaraciones + res += self._formatNumber(report.casilla_06, 17) + # Liquidación + # Partida 7 + # Resultado ingresar + res += self._formatNumber(report.casilla_07, 17) + return res + + @api.multi + def _get_formatted_sub_other_records(self, report): + res = '' + # Domicializacion IBAN + res += self._formatNumber(0, 34) + # Declaración complementaria (1). + res += self._formatString('1' if report.type == 'X' else '0', 1) + # Número de justificante de la declaración anterior (13). + res += self._formatString(report.previous_number + if report.type == 'C' else '', 13) + # Reservado para la AEAT (100). + res += self._formatString('', 100) + # Reservado para el sello electrónico de la AEAT (13). + res += self._formatString('', 13) + # Indicador de fin de registro (12). + res += self._formatString('', 12) + return res diff --git a/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.xml b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.xml new file mode 100644 index 00000000000..5ca3c8f3d8b --- /dev/null +++ b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.xml @@ -0,0 +1,20 @@ + + + + + + Exportar archivo BOE AEAT 216 + ir.actions.act_window + l10n.es.aeat.mod216.export_to_boe + form + form + new + + + + + form + + + + From c927409f24ac2ef7f08ad4c671f4830b2ab967f6 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 28 Jun 2015 13:19:47 +0200 Subject: [PATCH 02/31] =?UTF-8?q?[IMP+FIX]=20l10n=5Fes=5Faeat=5Fmod216:=20?= =?UTF-8?q?README,=20manifiesto,=20icono,=20ajustes,=20c=C3=A1lculo=20por?= =?UTF-8?q?=20c=C3=B3digos=20de=20impuestos=20generalizado=20+=20tratamien?= =?UTF-8?q?to=20residentes=20216=20y=20c=C3=A1lculo,=20traducciones?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_es_aeat_mod216/README.rst | 22 +- l10n_es_aeat_mod216/__openerp__.py | 17 +- l10n_es_aeat_mod216/i18n/en.po | 374 +++++++++++++++++ l10n_es_aeat_mod216/i18n/es.po | 374 +++++++++++++++++ l10n_es_aeat_mod216/i18n/gl.po | 375 ++++++++++++++++++ .../i18n/l10n_es_aeat_mod216.pot | 358 +++++++++++++++++ l10n_es_aeat_mod216/i18n/pt.po | 374 +++++++++++++++++ l10n_es_aeat_mod216/models/__init__.py | 4 +- l10n_es_aeat_mod216/models/mod111.py | 33 ++ l10n_es_aeat_mod216/models/mod216.py | 83 ++-- l10n_es_aeat_mod216/models/res_partner.py | 25 ++ .../static/description/icon.png | Bin 0 -> 6188 bytes .../static/description/icon_source.svg | 99 +++++ l10n_es_aeat_mod216/views/mod216_view.xml | 6 +- .../views/res_partner_view.xml | 16 + .../wizard/export_mod216_to_boe.py | 25 +- 16 files changed, 2129 insertions(+), 56 deletions(-) create mode 100644 l10n_es_aeat_mod216/i18n/en.po create mode 100644 l10n_es_aeat_mod216/i18n/es.po create mode 100644 l10n_es_aeat_mod216/i18n/gl.po create mode 100644 l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot create mode 100644 l10n_es_aeat_mod216/i18n/pt.po create mode 100644 l10n_es_aeat_mod216/models/mod111.py create mode 100644 l10n_es_aeat_mod216/models/res_partner.py create mode 100644 l10n_es_aeat_mod216/static/description/icon.png create mode 100644 l10n_es_aeat_mod216/static/description/icon_source.svg create mode 100644 l10n_es_aeat_mod216/views/res_partner_view.xml diff --git a/l10n_es_aeat_mod216/README.rst b/l10n_es_aeat_mod216/README.rst index a6f86b4b18b..786a29acab8 100644 --- a/l10n_es_aeat_mod216/README.rst +++ b/l10n_es_aeat_mod216/README.rst @@ -1,17 +1,23 @@ Presentación del Modelo AEAT 216 ================================ -Modelo 216 de la AEAT. -Credits -======= +Modelo 216 de la AEAT. IRNR. Impuesto sobre la Renta de no Residentes. Rentas +obtenidas sin mediación de establecimiento permanente. Retenciones e ingresos +a cuenta. -Contributors ------------- +Problemas conocidos / Hoja de ruta +================================== + +* Permitir periodos trimestrales. + +Créditos +======== + +Contribuidores +-------------- -* MálagaTIC (http://www.malagatic.com) -* Carlos Sánchez Cifuentes * Pedro M. Baeza -* AvanzOSC (http://www.avanzosc.es) +* Ainara Galdona Maintainer ---------- diff --git a/l10n_es_aeat_mod216/__openerp__.py b/l10n_es_aeat_mod216/__openerp__.py index 30bd4e10a97..8912b05e0a3 100644 --- a/l10n_es_aeat_mod216/__openerp__.py +++ b/l10n_es_aeat_mod216/__openerp__.py @@ -1,8 +1,6 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution. -# # 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 @@ -22,14 +20,21 @@ 'name': 'AEAT modelo 216', 'version': '1.0', 'category': "Localisation/Accounting", - 'author': "Spanish Localization Team,Odoo Community Association (OCA)", + 'author': "Serv. Tecnol. Avanzados - Pedro M. Baeza," + "AvanzOSC," + "Antiun Ingeniería S.L.," + "Odoo Community Association (OCA)", 'website': "https://github.com/OCA/l10n-spain", 'license': 'AGPL-3', - 'depends': ['l10n_es_aeat'], + 'depends': [ + 'l10n_es_aeat', + 'l10n_es_aeat_mod111', + ], 'data': [ 'wizard/export_mod216_to_boe.xml', 'views/mod216_view.xml', - 'security/ir.model.access.csv'], - 'active': False, + 'views/res_partner_view.xml', + 'security/ir.model.access.csv' + ], 'installable': True, } diff --git a/l10n_es_aeat_mod216/i18n/en.po b/l10n_es_aeat_mod216/i18n/en.po new file mode 100644 index 00000000000..004485029d9 --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/en.po @@ -0,0 +1,374 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-14 00:52+0000\n" +"PO-Revision-Date: 2015-07-10 10:57+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "AEAT 111 report" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "AEAT 216 report" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "Calculation date" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "Cancelled" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "Casilla [01]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "Casilla [02]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "Casilla [03]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "Casilla [04]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "Casilla [05]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "Casilla [06]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "Casilla [07]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "Company" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "Complementary" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "Crea y consulta las declaraciones del modelo 216 de la AEAT." + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "Created by" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "Created on" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "DVD" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "Declaraciones AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "Declaración" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "Declaración AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "Declaration number" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "Domiciliación" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "Done" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "Draft" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "Export Report to BOE Format" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "Export config" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "Exportar archivo BOE AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "File" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "File name" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "Fiscal year" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "Full Name" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "ID" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "Ingreso" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "Ingreso a anotar en CCT" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "Is resident" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "L.R. VAT number" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "Legal Representative VAT number." + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "Liquidación" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "Liquidación - Partida 1 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "Liquidación - Partida 2 - Base ret. ing. cuenta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "Liquidación - Partida 3 - Retenciones ingresos a cuenta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "Liquidación - Partida 4 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "Liquidación - Partida 5 - Base ret. ing. cuenta." + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "Liquidación - Partida 7 - Resultado ingresar" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "Modelo 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "Moneda" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "Must have name and surname." + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "Negativa" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "Normal" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "Period type" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "Period(s)" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "Periodo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "Phone" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "Previous declaration number" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "Processed" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "Sequence" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "State" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "Statement Type" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "Substitutive" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "Support Type" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "Tax lines" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "Telematics" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "Tipo de declaración" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "VAT number" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "get" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "open" diff --git a/l10n_es_aeat_mod216/i18n/es.po b/l10n_es_aeat_mod216/i18n/es.po new file mode 100644 index 00000000000..0761581a333 --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/es.po @@ -0,0 +1,374 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-14 00:52+0000\n" +"PO-Revision-Date: 2015-07-10 10:58+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "Declaración AEAT 111" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "Declaración AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "Fecha de cálculo" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "Cancelada" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "Casilla [01]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "Casilla [02]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "Casilla [03]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "Casilla [04]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "Casilla [05]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "Casilla [06]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "Casilla [07]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "Compañía" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "Complementaria" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "Crea y consulta las declaraciones del modelo 216 de la AEAT." + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "Creado en" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "DVD" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "Declaraciones AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "Declaración" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "Declaración AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "Nº declaración" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "Domiciliación" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "Realizada" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "Borrador" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "Exportar declaración al formato BOE" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "Configuración de exportación" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "Exportar archivo BOE AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "Archivo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "Nombre de archivo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "Ejercicio fiscal" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "Nombre completo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "ID" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "Ingreso" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "Ingreso a anotar en CCT" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "Es residente" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "NIF representante legal" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "NIF representante legal" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "Liquidación" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "Liquidación - Partida 1 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "Liquidación - Partida 2 - Base ret. ing. cuenta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "Liquidación - Partida 3 - Retenciones ingresos a cuenta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "Liquidación - Partida 4 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "Liquidación - Partida 5 - Base ret. ing. cuenta." + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "Liquidación - Partida 7 - Resultado ingresar" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "Modelo 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "Moneda" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "Debe tener nombre y apellidos." + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "Negativa" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "Normal" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "Empresa" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "Tipo de periodo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "Periodo(s)" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "Periodo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "Teléfono" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "Nº declaración previa" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "Procesada" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "Secuencia" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "Estado" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "Tipo de declaración" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "Sustitutiva" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "Tipo de soporte" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "Lineas de impuestos" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "Telemático" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "Tipo de declaración" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "NIF" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "obtener" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "abierto" diff --git a/l10n_es_aeat_mod216/i18n/gl.po b/l10n_es_aeat_mod216/i18n/gl.po new file mode 100644 index 00000000000..da4ba6e9dab --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/gl.po @@ -0,0 +1,375 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +# Alejandro Santana , 2015 +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 15:09+0000\n" +"PO-Revision-Date: 2015-09-04 08:29+0000\n" +"Last-Translator: Alejandro Santana \n" +"Language-Team: Galician (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "Declaración AEAT 111" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "Declaración AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "Data de cálculo" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "Cancelada" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "Casilla [01]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "Casilla [02]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "Casilla [03]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "Casilla [04]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "Casa [05]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "Casa [06]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "Casa [07]" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "Compañía" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "Complementaria" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "Crea e consulta as declaracións do modelo 216 da AEAT." + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "Creado o" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "DVD" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "Declaracións AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "Declaración" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "Declaración AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "Nº declaración" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "Domiciliación" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "Realizado" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "Borrador" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "Exportar a formato BOE" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "Padrón de exportación" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "Exportar arquivo BOE AEAT 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "Ficheiro" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "Nome do ficheiro" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "Exercicio fiscal" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "Nome completo" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "ID" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "Ingreso" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "Ingreso a anotar na CCT" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "É residente" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "NIF repr. legal" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "Derradeira actualización feita por" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "Actualizado por derradeira vez o" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "NIF do representante legal." + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "Liquidación" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "Liquidación - Partida 1 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "Liquidación - Partida 2 - Base ret. ing. conta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "Liquidación - Partida 3 - Retencións ingresos a conta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "Liquidación - Partida 4 - Núm. Rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "Liquidación - Partida 5 - Base ret. ing. conta" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaracións" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "Liquidación - Partida 7 - Resultado a ingresar" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "Modelo 216" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "Divisa" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "Debe conter nome e apelidos" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "Negativa" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "Normal" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "Empresa" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "Tipo de período" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "Período(s)" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "Período" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "Teléfono" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "Nº da declaración anterior" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "Procesada" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "Secuencia" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "Provincia" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "Tipo de declaración" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "Substitutiva" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "Tipo de soporte" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "Liñas de impostos" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "Telemática" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "Tipo de declaración" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "NIF" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "obter" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "aberto" diff --git a/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot b/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot new file mode 100644 index 00000000000..0c1c0dbe64e --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot @@ -0,0 +1,358 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-28 13:20+0000\n" +"PO-Revision-Date: 2015-06-28 13:20+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_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "" + diff --git a/l10n_es_aeat_mod216/i18n/pt.po b/l10n_es_aeat_mod216/i18n/pt.po new file mode 100644 index 00000000000..ea31a045441 --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/pt.po @@ -0,0 +1,374 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-14 00:52+0000\n" +"PO-Revision-Date: 2015-07-10 10:57+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "Data processada" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "Empresa" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "Concluído" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "Rascunho" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "Processado" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "Sequência" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "Estado" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "" diff --git a/l10n_es_aeat_mod216/models/__init__.py b/l10n_es_aeat_mod216/models/__init__.py index 2483e813818..df173c6f002 100644 --- a/l10n_es_aeat_mod216/models/__init__.py +++ b/l10n_es_aeat_mod216/models/__init__.py @@ -1,8 +1,6 @@ # -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution. -# # 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 @@ -19,3 +17,5 @@ ############################################################################## from . import mod216 +from . import mod111 +from . import res_partner diff --git a/l10n_es_aeat_mod216/models/mod111.py b/l10n_es_aeat_mod216/models/mod111.py new file mode 100644 index 00000000000..c4b19a130c3 --- /dev/null +++ b/l10n_es_aeat_mod216/models/mod111.py @@ -0,0 +1,33 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution. +# +# 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 . +# +############################################################################## + +from openerp import models, api + + +class L10nEsAeatMod111Report(models.Model): + _inherit = 'l10n.es.aeat.mod111.report' + + @api.multi + def _get_partner_domain(self): + res = super(L10nEsAeatMod111Report, self)._get_partner_domain() + partners = self.env['res.partner'].search( + [('is_resident', '=', False)]) + res += [('partner_id', 'in', partners.ids)] + return res diff --git a/l10n_es_aeat_mod216/models/mod216.py b/l10n_es_aeat_mod216/models/mod216.py index f9c5fe2e6b6..f8bcb2aa982 100644 --- a/l10n_es_aeat_mod216/models/mod216.py +++ b/l10n_es_aeat_mod216/models/mod216.py @@ -28,37 +28,41 @@ class L10nEsAeatMod216Report(models.Model): _name = 'l10n.es.aeat.mod216.report' number = fields.Char(default='216') - casilla_01 = fields.Integer('Casilla [01]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 1 - Núm. Rentas') - casilla_02 = fields.Float('Casilla [02]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 2 - Base ret. ing. ' - 'cuenta') - casilla_03 = fields.Float('Casilla [03]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 3 - Retenciones ' - 'ingresos a cuenta') - casilla_04 = fields.Integer('Casilla [04]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 4 - Núm. Rentas') - casilla_05 = fields.Float('Casilla [05]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 5 - Base ret. ing. ' - 'cuenta.') - casilla_06 = fields.Float('Casilla [06]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 6 - Resultado ing. ' - 'anteriores declaraciones') - casilla_07 = fields.Integer('Casilla [07]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 7 - Resultado ' - 'ingresar') - currency_id = fields.Many2one('res.currency', string='Moneda', - related='company_id.currency_id', store=True) - period_id = fields.Many2one('account.period', 'Periodo', readonly=True, - states={'draft': [('readonly', False)]}, - required=True) + casilla_01 = fields.Integer( + 'Casilla [01]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 1 - Núm. Rentas') + casilla_02 = fields.Float( + 'Casilla [02]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 2 - Base ret. ing. cuenta') + casilla_03 = fields.Float( + 'Casilla [03]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 3 - Retenciones ingresos a cuenta') + casilla_04 = fields.Integer( + 'Casilla [04]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 4 - Núm. Rentas') + casilla_05 = fields.Float( + 'Casilla [05]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 5 - Base ret. ing. cuenta.') + casilla_06 = fields.Float( + 'Casilla [06]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 6 - Resultado ing. anteriores ' + 'declaraciones') + casilla_07 = fields.Integer( + 'Casilla [07]', readonly=True, + states={'calculated': [('readonly', False)]}, + help='Liquidación - Partida 7 - Resultado ingresar') + currency_id = fields.Many2one( + 'res.currency', string='Moneda', + related='company_id.currency_id', store=True) + period_id = fields.Many2one( + 'account.period', 'Periodo', readonly=True, + states={'draft': [('readonly', False)]}, required=True) tipo_declaracion = fields.Selection( [('I', 'Ingreso'), ('U', 'Domiciliación'), ('G', 'Ingreso a anotar en CCT'), ('N', 'Negativa')], @@ -69,6 +73,23 @@ def __init__(self, pool, cr): self._aeat_number = '216' super(L10nEsAeatMod216Report, self).__init__(pool, cr) + @api.multi + def _get_partner_domain(self): + res = super(L10nEsAeatMod216Report, self)._get_partner_domain() + partners = self.env['res.partner'].search( + [('is_resident', '=', True)]) + res += [('partner_id', 'in', partners.ids)] + return res + @api.multi def calculate(self): self.ensure_one() + move_lines_base = self._get_tax_code_lines( + 'IRPBI', periods=self.period_id) + move_lines_cuota = self._get_tax_code_lines( + 'ITRPC', periods=self.period_id) + partner_lst = set([x.partner_id for x in + (move_lines_base + move_lines_cuota)]) + self.casilla_01 = len(partner_lst) + self.casilla_02 = sum([x.tax_amount for x in move_lines_base]) + self.casilla_03 = sum([x.tax_amount for x in move_lines_cuota]) diff --git a/l10n_es_aeat_mod216/models/res_partner.py b/l10n_es_aeat_mod216/models/res_partner.py new file mode 100644 index 00000000000..4f73393fcdd --- /dev/null +++ b/l10n_es_aeat_mod216/models/res_partner.py @@ -0,0 +1,25 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# 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 . +# +############################################################################## + +from openerp import models, fields + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + is_resident = fields.Boolean(string='Is resident') diff --git a/l10n_es_aeat_mod216/static/description/icon.png b/l10n_es_aeat_mod216/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..251f4ebc9d905cd432d30427773ec28479716cc6 GIT binary patch literal 6188 zcmV+{7}Mv8P)v# zK^X;tI`FBe=rE$AqtOw?WfTD&H%I~xbi~0S0n|}sbOcd}0=^I+Y>KEXvM(V?*Li;w zV3w}#s_Lrl4*tHczb~mi_ukWePv7<2a}|*=Hoq>VQUshEQ9f~lyiQKW*jQ^3O;p4= zj9xehr53uNOFST;^(JS)e`2jjw9q2XAvYrr)M6KOi3b!)f01Et`(mv~w20gQ0HpjL zpv0BDVvW#)dUbvuYc-;UI|h(DWHa!*D|y8QGMTaYNwL-<8n|Ns0Eucc@SSV<#g-VJu~64Agt19)xVQH1+l%P;1rv5d;UFxFZ)MFdOZ821bSAa~H)ARoAzXYA1M$yAWY zXG*c4C~1aB_*tI21^}SsK2T+@=Nk)zi^9H82d@Kt zy6gGIj;G0dw^6K>utlK!Qb3{P8TqDBNZs8x03+8d;73pLjy}oYdoSSt~f7D>H;#^wTY zSJeTb_XYsa`kR@czKBX$-jj$BpX(fo{$V8i=saHWL39itD@#Yzoq!&d^1Mb#KSt#b ziM1LP5y6M3paZ=slF1eSi;e*R*Jv`8kss8HwHl{b*Zc~gr3J}j75|Bz z0RZUblYn2MTBdiLi?8I5u~y;~njUuD{{%-XCG$WPb7o)n3-DM}%k&gAiCY$(7i%qK z``L8>t6fs1A7FG10N_Z;%fOnbm+K9+(e>DSLLDl}0IaP~h$^i3Z}bgd{_p@IcLEai zvb`aL%=~bpZ*NiRKFhM2tgZB~>&jRmH)A=-yqJ{j1tKqU*OFQ>DY_{65}>E$1Z9C3 zw*aT`PXu)!cICT>q8*3Jtp5sKMINvrT&%k8-CprQ>*7{X zEwZplCt!f}1T3lgD26Qn(5k^yP~XN>2luFp9(X3IC2IbAuyeXgg{ybDVIhH6{CrW~ery=JP-wn_(hV%q`$FT9t;3Llly=pu~x$+I#Js4E>BBXpL8S8%T^jqdnM>& zH}nZbVdu_?VTG~>Z%3&qUh5J)B#T=XT3MI3pL1ce`k*|j#<8=e}#rfxlN zNKB}^VpUpN_$Kl2v1dRwdZ|woX@KyQCpl|sB5;?L9|M|RIOd)pHO*wihpk3xGJFn;-p zhc|V-AT4ad>_LkV7I~pl3{Yrls#~!JWEBbM+B~4Pt%RD&Qt6nU)NppFkrSSlP37l5325OIUC9k?k4-0i~iHKi>8>Q;SE z38@MG+Tok8+##D0dCpC}V$2haS<)<$45YA0CzNvHSNWJy1VRb8W&oSI^gKr=@G)Q- zSV5s4+1$Nn_>GIB$DahYxusi-X$<9#m%OErL^R(#!0u+#`>NCKzlRfY#Q?T;@7_p! zvIJDP(Wzh8C3kDi4@^B$FT;qqz3@gqg^JHBbue}FJc2IZr83> zx%d|VT`VO~bS!Ul=#j8;*#qB!>TB0E6b&UWk(FiZ`<9~Qt3Ww8m?~3Mr=9<2O|b}3 z^%}hh^s$vl)WqU$={+puem8L3kz(x7ib8CVQ5&5?5Ph~jBREod4}OqSutFK+{9+AJY}(r!}i_a3yG zz_9@or>0$i$X}hN2LdG}CH2EfY5WD)5kWceL{l_>_$Ix1vn;^DB9fY_Qg$u3mBM}@ zP~4+OGjv}8aE_Do0-yQ(GN5fifi;hy(fK!_;bJUCV+3+lnHbKCuR%7o!*b zuHpmP(DW=smH-XxXD9br9rahmRu^z$XyEWqsnIsWyd4>L0C3`MrGPPU~@A9Kv<<8uXSU@l@CU&0U>S! zG}uR*uw`ZE87M2KdaH2=(K1x(fqfBaU`1$CYI+xO;KHq7LwTuob;^e2hwQ6nLYuF% zft9Z17egMnXmP@MjdtDPAZaIN_6Bqr+;RPv?w$tD%F+>S zJT*Mlz=ZS~BLa@1xr9{lRU$P7>4rR5`a3#IZ93U$k3O5Z#lp74dO@JjNQBkp3aB zU!9Al95qlsqVwOX^S2-o42K)hbcV0P2xA6lh{K1Eu8Um^A%WXJj5EP?Jwi) zjKA^3W$!ww{9lgM)SX zu)ZxRD$A8EUblIp{|_jSj%Ej8Z1+!Ce)ChbtiRt;`c3=FMhdp)_I~qI>Z1J)LzY6fem2dItRkKO-IrCK8xVHuU-kiwR z{UO)e8lbDmjta2ADFe`yHr#3=5uQmeD2U(7A#?haAnJCnvOlx_0Y16uX(psQ-;rIh zqb(QB`4itA40}ufU^HX$dWRRYPsK4nhP5PWU+sE{IbJB^D!Bvyg;IHLXWOIs_pG>i zvg5%Xz^B{Kr~mwW*;isY+Pp$%23gA-_+o}e11Rp+vojXmycNtj=kw2xg_n#20^CKF z@aRraO1LX+DJyP%lGY8K`?xGD?#|Wo@8iJn(1)U`D?k^v9df-@JJAB@W)}@r*F)Fi zZ{%;r?1A5d*bS&ujh6NI^U)1|Wm>;^)b=~?`5s%I!H{>ybF9qq%<_|w2vr^yGjUBl`zS@dmHdASAN8CmZAQ zKN(2|Rnf$_;qhW?(&}|L3y%u(haW??AABl73-DC$f3R@qbeh$5?$dg>tQJESj3@hB zyIyssj3G1cBDXSAo4clU)io6~hFld6a%6vU`%Rl_=5g&Yc}ozku_Ah5%PnO0&!$t; z$nL-1cAzN(-kCt*9@nSw1+@P9Lb9?V-hk7@r&+Qlfh9Gz@&Pmn8*3mz3y^hb9-rMb zCF08eX6LzFI`=^@Djy(?Z9Q&vBO?uw3oHpLiQ|PI3(U;e1eki$UVhF-*8Tor9__V| z1TAD-rLas})sKtkJj9MeA?|RD7&XO8tbuT7B9`LM9F)Tc-ix%bm{Ygp397^zsO2l? zu}c^7(T&g1u2E#C&W;EC-2ShT+_Q89#{;fU*{jk7%@^?nT&lQR`a!~trjtYGrx?{ap7y%A@-X@4@;zk3I3b~!sW?~nla(#g4YwbKkVU}sn< zB@U0U#39*(-aNm_&K2(rewo~BXS!1P?``hNMYA7{cI5;3Ko1&gz$$8U_w@d{usDQF z$x$gyimJD-M@V6_`e;lRQMW545%04f5BRzJqu=q`YEPEw?J$a*L5>__6~M;S^u@~T z;$g*m?N_gg?X_qwAVo<7PlQ?T5LVa%-yLkqh`e!pzN4)h*+t4u5=%Pp+Hl*>IU0Zt z_kl@3VO{bg(=E2h`lLQm)a*-8dAL;h^VVHN*O`yUOXUMJr?gi1*o#3p)przkOMf1? zx61nx&;nzcJk@gy)5m+nS7QdWyUE*s7(t9wVfr0YIHIZD5PoWZu1 z>QBv8{Hpx%a`E2`{2JI;sjq8V<;%LHGfxCo9?Qva^)B%Fj<$?md@IHKn!A;yyD0pi zO~q#Xrc?d^ZC0<|FG%HPqy{zrvY}~;tWTPaQr`i0;!@=wEl*_J2czgU_rdtB{9ozI z=se4gJy69dwEg+#y$(_#eqH<)DL`KHKU zx#R8d0XR=k?Nb$ZPrm|T8L++GnpLe-oF2TCqNFrXlQ8;tSMNPI9`G}H#Q>(P>`$5Q z%7q`%=1Fn}S-M{!s96_xOMeHEo$c2a-07}fks+%{plp>KfE^Y-Pcd1T$zCQINGcOy+^tjw;u>~4*CZ~_-C0y}wbu1w3 zlY7a!W;4;twxXEgapnJlQg@KD`|?Va4-hDy1UNh96MvkC9J)W0K+IYI<1(bAt56I> z)HT=(N8=2|esrc#rp-{@cA9T)W#&x)UhrI>=x~exotZNzsAH_>UJDhG!e;eR>N=DR z0Qv!qqcq7phGH6lD> zrd2EvHgSf(3)A~oa*Pdc0INu#UbD48if78Xh0({qM4~oLwc8naSozGwEg-M~I3sf9 z;(`ar8T53;2bP*QDQtcvn*NbDIz>!5@Gi(4^gSP_&bS-1ATw_gFvZn8V})=SQ7OzG zc*-%>(lk(Y-nkSc-VERe;3xl<7N9P0 z9mdsVsX*hzMCzop@t=KGb4^{Ip1`2KwdmB=osE*bk4wpXu<})Rw+*YqGZU*FpDqBk z2wj`6I{zFlGFdlZ1n^%NJ`Qz&13(e*2{0G1=I40JKl`C;u7qcg3v}tr?2Khl-2mzU zlYo1GMxpXh3a+^c4EYJ;q&6RFCP@s-^F(Z94)thr9l~3ZsBGu;&x-C$JDxXjJ~WXtEBl9MvJd zkqP8vym-<8>H@2Q_D-^D*g&!3&Bk`SgrDc+m2Ay?@X&?29`v5P8Q8la>=xj4oGot; z0sa|QDl`94kSquJ$0G+RFH1RT0Dl1<4k28M5enAy+V?9iOki1VrCvjTtsq-K+k(gz zl&r(&E2M1a52`cQU^KsGdD=06p1^Xl)y{fDN#sgnq+{W1#m`U((I5&WWAd_SBlPFiG$GU)CrUTrF@oTO6S_veYBz?yu z&C@3GC+Ur0Ou^DteNDIcF)lJmZ?=Hb*F^qwxtrJ)8gQA(d(UFtB>v6hx!C~nY7B$= zH}0<}nl05n3Iw}G{bOMJiN6CF&HqYHpDke9d`j?NMC%Y~TAHN!%tU^PiM#;2O`cn6 z0Tf2}RW1gv{_f4u4I-k5OrR0Xw%)nq47l^>&M+z(c?^f)C!T($(a7)z8xS#A`qH zjr6p}sY{rdyZF*D>2%;tjOFF2M1IRi7nA2(FuI44KmkUjZw7t=_5kyMOCl`$H_QJJ zyw5&>xwFR{j0z9t=XbG5epbc+(@oNj!F%m_`p}8sbM2F_Nbd`bqzlLop;r;XTdQ#< z@(UvQ5T`4tz%I2#RD#o;~naTTeFq(dG zTPYiuT@G~!!?(eVcY{2ug|V;jo5IWhPFB9zX`PuE=jS4esTw(E~DgG7)_s<0UYMnE#q*naJzxQh|~ZYV!l7I0q9XdwjGA|PcYdm2fCjYOv3uc zNx0XS4$6rCcXE2Y>+%^gb=nFh + + + + + + + image/svg+xml + + + + + + + + + + + + + + + 216 + diff --git a/l10n_es_aeat_mod216/views/mod216_view.xml b/l10n_es_aeat_mod216/views/mod216_view.xml index 9440e04f3e1..2929d68a47f 100644 --- a/l10n_es_aeat_mod216/views/mod216_view.xml +++ b/l10n_es_aeat_mod216/views/mod216_view.xml @@ -67,6 +67,10 @@ - + diff --git a/l10n_es_aeat_mod216/views/res_partner_view.xml b/l10n_es_aeat_mod216/views/res_partner_view.xml new file mode 100644 index 00000000000..2857ff80216 --- /dev/null +++ b/l10n_es_aeat_mod216/views/res_partner_view.xml @@ -0,0 +1,16 @@ + + + + + + view.partner.form.mod296 + res.partner + + + + + + + + + diff --git a/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py index 8136be63b43..6ae55a4760f 100644 --- a/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py +++ b/l10n_es_aeat_mod216/wizard/export_mod216_to_boe.py @@ -18,7 +18,7 @@ # ############################################################################## -from openerp import models, api +from openerp import models, api, fields class L10nEsAeatMod216ExportToBoe(models.TransientModel): @@ -36,9 +36,12 @@ def _get_formatted_declaration_record(self, report): # Discriminante: Constante "01" res += self._formatString('0', 1) # Devengado. Ejercicio - res += self._formatNumber(report.fiscalyear_id.code, 4) + res += self._formatString( + fields.Date.from_string(report.fiscalyear_id.date_start).year, 4) # Devengado. Periodo: "01" ... "12" o "1T" … "4T" - res += self._formatString(report.period_id.code[0:2], 2) + res += self._formatString( + fields.Date.from_string(report.period_id.date_start).month, 2, + fill='0', align='>') # Tipo y cierre res += self._formatString('0000>', 5) return res @@ -65,8 +68,11 @@ def _get_formatted_other_records(self, report): res += self._formatString('', 5) # Fin de registro Constante CRLF(Hexadecimal 0D0A, Decimal 1310) res += '\x0A\x0D' @@ -91,13 +97,16 @@ def _get_formatted_sub_declaration_record(self, report): # Identificación. Sujeto pasivo. NIF res += self._formatString(report.company_vat, 9) # Identificación. Sujeto pasivo. Denominación (o Apellidos y Nombre) - res += self._formatString(report.company_name, 60) + res += self._formatString(report.company_id.name, 60) # Identificación. Nombre (solo personas fisicas) res += self._formatString('', 20) # Devengado. Ejercicio - res += self._formatNumber(report.fiscalyear_id.code, 4) + res += self._formatString( + fields.Date.from_string(report.fiscalyear_id.date_start).year, 4) # Devengado. Periodo: "01" ... "12" o "1T" … "4T" - res += self._formatString(report.period_id.code[0:2], 2) + res += self._formatString( + fields.Date.from_string(report.period_id.date_start).month, 2, + fill='0', align='>') return res @api.multi From fca09b936128a895e846b11cae7db849140db514 Mon Sep 17 00:00:00 2001 From: cubells Date: Tue, 29 Sep 2015 19:49:46 +0200 Subject: [PATCH 03/31] =?UTF-8?q?[FIX]=20Correcci=C3=B3n=20c=C3=A1lculo=20?= =?UTF-8?q?diversos=20modelos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_es_aeat_mod216/__openerp__.py | 2 +- l10n_es_aeat_mod216/i18n/ca.po | 406 +++++++++++++++++++++++++++ l10n_es_aeat_mod216/i18n/en.po | 43 ++- l10n_es_aeat_mod216/i18n/es.po | 43 ++- l10n_es_aeat_mod216/i18n/gl.po | 38 ++- l10n_es_aeat_mod216/models/mod216.py | 17 +- 6 files changed, 538 insertions(+), 11 deletions(-) create mode 100644 l10n_es_aeat_mod216/i18n/ca.po diff --git a/l10n_es_aeat_mod216/__openerp__.py b/l10n_es_aeat_mod216/__openerp__.py index 8912b05e0a3..be9622cbe4c 100644 --- a/l10n_es_aeat_mod216/__openerp__.py +++ b/l10n_es_aeat_mod216/__openerp__.py @@ -18,7 +18,7 @@ { 'name': 'AEAT modelo 216', - 'version': '1.0', + 'version': '8.0.1.0.0', 'category': "Localisation/Accounting", 'author': "Serv. Tecnol. Avanzados - Pedro M. Baeza," "AvanzOSC," diff --git a/l10n_es_aeat_mod216/i18n/ca.po b/l10n_es_aeat_mod216/i18n/ca.po new file mode 100644 index 00000000000..435756dfbb0 --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/ca.po @@ -0,0 +1,406 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-01 08:00+0000\n" +"PO-Revision-Date: 2015-10-01 08:02+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Casilla [01]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Casilla [02]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Casilla [03]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Casilla [04]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Casilla [05]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Casilla [06]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Casilla [07]" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_resident:0 +msgid "Is resident" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "Diari" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Partida 1 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Partida 4 - Núm. Rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_07:0 +msgid "Liquidación - Partida 7 - Resultado ingresar" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_id:0 +msgid "Periodo" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "" +"This account will be the counterpart for all the journal items that are " +"regularized when posting the report." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "" diff --git a/l10n_es_aeat_mod216/i18n/en.po b/l10n_es_aeat_mod216/i18n/en.po index 004485029d9..b9541b1bff1 100644 --- a/l10n_es_aeat_mod216/i18n/en.po +++ b/l10n_es_aeat_mod216/i18n/en.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-14 00:52+0000\n" -"PO-Revision-Date: 2015-07-10 10:57+0000\n" +"POT-Creation-Date: 2015-10-09 13:57+0000\n" +"PO-Revision-Date: 2015-10-08 14:10+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: English (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/en/)\n" "MIME-Version: 1.0\n" @@ -27,6 +27,11 @@ msgstr "AEAT 111 report" msgid "AEAT 216 report" msgstr "AEAT 216 report" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" +msgstr "Account entry" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -82,6 +87,11 @@ msgstr "Company" msgid "Complementary" msgstr "Complementary" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "Counterpart account" + #. module: l10n_es_aeat_mod216 #: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." @@ -195,6 +205,16 @@ msgstr "Ingreso a anotar en CCT" msgid "Is resident" msgstr "Is resident" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "Journal" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "Journal in which post the move." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,representative_vat:0 msgid "L.R. VAT number" @@ -307,6 +327,11 @@ msgstr "Periodo" msgid "Phone" msgstr "Phone" +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "Posted" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,previous_number:0 msgid "Previous declaration number" @@ -343,6 +368,13 @@ msgstr "Substitutive" msgid "Support Type" msgstr "Support Type" +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:91 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:98 +#, python-format +msgid "Tabla de impuestos desactualizada." +msgstr "Tabla de impuestos desactualizada." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tax_lines:0 msgid "Tax lines" @@ -353,6 +385,13 @@ msgstr "Tax lines" msgid "Telematics" msgstr "Telematics" +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "" +"This account will be the counterpart for all the journal items that are " +"regularized when posting the report." +msgstr "This account will be the counterpart for all the journal items that are regularized when posting the report." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 msgid "Tipo de declaración" diff --git a/l10n_es_aeat_mod216/i18n/es.po b/l10n_es_aeat_mod216/i18n/es.po index 0761581a333..55c6dada574 100644 --- a/l10n_es_aeat_mod216/i18n/es.po +++ b/l10n_es_aeat_mod216/i18n/es.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-14 00:52+0000\n" -"PO-Revision-Date: 2015-07-10 10:58+0000\n" +"POT-Creation-Date: 2015-10-16 07:49+0000\n" +"PO-Revision-Date: 2015-10-14 16:44+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/es/)\n" "MIME-Version: 1.0\n" @@ -27,6 +27,11 @@ msgstr "Declaración AEAT 111" msgid "AEAT 216 report" msgstr "Declaración AEAT 216" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" +msgstr "Entrada cuenta" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -82,6 +87,11 @@ msgstr "Compañía" msgid "Complementary" msgstr "Complementaria" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "Cuenta contrapartida" + #. module: l10n_es_aeat_mod216 #: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." @@ -195,6 +205,16 @@ msgstr "Ingreso a anotar en CCT" msgid "Is resident" msgstr "Es residente" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "Diario" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "Diario en el que publicar el movimiento." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,representative_vat:0 msgid "L.R. VAT number" @@ -307,6 +327,11 @@ msgstr "Periodo" msgid "Phone" msgstr "Teléfono" +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "Contabilizado" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,previous_number:0 msgid "Previous declaration number" @@ -343,6 +368,13 @@ msgstr "Sustitutiva" msgid "Support Type" msgstr "Tipo de soporte" +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:91 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:98 +#, python-format +msgid "Tabla de impuestos desactualizada." +msgstr "Tabla de impuestos desactualizada." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tax_lines:0 msgid "Tax lines" @@ -353,6 +385,13 @@ msgstr "Lineas de impuestos" msgid "Telematics" msgstr "Telemático" +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "" +"This account will be the counterpart for all the journal items that are " +"regularized when posting the report." +msgstr "Esta cuenta será la contrapartida para todos los elementos del diario que están regularizados al contabilizar el informe." + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 msgid "Tipo de declaración" diff --git a/l10n_es_aeat_mod216/i18n/gl.po b/l10n_es_aeat_mod216/i18n/gl.po index da4ba6e9dab..a8031df8389 100644 --- a/l10n_es_aeat_mod216/i18n/gl.po +++ b/l10n_es_aeat_mod216/i18n/gl.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-09 15:09+0000\n" -"PO-Revision-Date: 2015-09-04 08:29+0000\n" -"Last-Translator: Alejandro Santana \n" +"POT-Creation-Date: 2015-10-01 08:00+0000\n" +"PO-Revision-Date: 2015-10-01 08:02+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Galician (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/gl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,6 +28,11 @@ msgstr "Declaración AEAT 111" msgid "AEAT 216 report" msgstr "Declaración AEAT 216" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -83,6 +88,11 @@ msgstr "Compañía" msgid "Complementary" msgstr "Complementaria" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "" + #. module: l10n_es_aeat_mod216 #: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." @@ -196,6 +206,16 @@ msgstr "Ingreso a anotar na CCT" msgid "Is resident" msgstr "É residente" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "Diario" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,representative_vat:0 msgid "L.R. VAT number" @@ -308,6 +328,11 @@ msgstr "Período" msgid "Phone" msgstr "Teléfono" +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,previous_number:0 msgid "Previous declaration number" @@ -354,6 +379,13 @@ msgstr "Liñas de impostos" msgid "Telematics" msgstr "Telemática" +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "" +"This account will be the counterpart for all the journal items that are " +"regularized when posting the report." +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 msgid "Tipo de declaración" diff --git a/l10n_es_aeat_mod216/models/mod216.py b/l10n_es_aeat_mod216/models/mod216.py index f8bcb2aa982..7451d294465 100644 --- a/l10n_es_aeat_mod216/models/mod216.py +++ b/l10n_es_aeat_mod216/models/mod216.py @@ -18,7 +18,7 @@ # ############################################################################## -from openerp import fields, models, api +from openerp import fields, models, api, exceptions, _ class L10nEsAeatMod216Report(models.Model): @@ -84,10 +84,21 @@ def _get_partner_domain(self): @api.multi def calculate(self): self.ensure_one() + tax_code_obj = self.env['account.tax.code'] + tax_code = tax_code_obj.search([('code', '=', 'IRPBI')]) + if not tax_code: + raise exceptions.Warning( + _('Tabla de impuestos desactualizada.') + ) move_lines_base = self._get_tax_code_lines( - 'IRPBI', periods=self.period_id) + tax_code, periods=self.period_id) + tax_code = tax_code_obj.search([('code', '=', 'ITRPC')]) + if not tax_code: + raise exceptions.Warning( + _('Tabla de impuestos desactualizada.') + ) move_lines_cuota = self._get_tax_code_lines( - 'ITRPC', periods=self.period_id) + tax_code, periods=self.period_id) partner_lst = set([x.partner_id for x in (move_lines_base + move_lines_cuota)]) self.casilla_01 = len(partner_lst) From 8a72bcae31214daf949de2deb300d6444b99b56b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 18 Oct 2015 18:50:48 +0200 Subject: [PATCH 04/31] =?UTF-8?q?[IMP]=20l10n=5Fes=5Faeat=5F*:=20C=C3=A1lc?= =?UTF-8?q?ulo=20de=20importes=20de=20impuestos=20por=20cadena=20en=20luga?= =?UTF-8?q?r=20de=20recordset=20+=20gestionar=20grupos=20de=20compa=C3=B1?= =?UTF-8?q?=C3=ADas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_es_aeat_mod216/i18n/en.po | 11 ++--------- l10n_es_aeat_mod216/i18n/es.po | 11 ++--------- l10n_es_aeat_mod216/models/mod216.py | 21 +++++---------------- 3 files changed, 9 insertions(+), 34 deletions(-) diff --git a/l10n_es_aeat_mod216/i18n/en.po b/l10n_es_aeat_mod216/i18n/en.po index b9541b1bff1..f5296a89797 100644 --- a/l10n_es_aeat_mod216/i18n/en.po +++ b/l10n_es_aeat_mod216/i18n/en.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-09 13:57+0000\n" -"PO-Revision-Date: 2015-10-08 14:10+0000\n" +"POT-Creation-Date: 2015-10-20 19:02+0000\n" +"PO-Revision-Date: 2015-10-18 17:09+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: English (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/en/)\n" "MIME-Version: 1.0\n" @@ -368,13 +368,6 @@ msgstr "Substitutive" msgid "Support Type" msgstr "Support Type" -#. module: l10n_es_aeat_mod216 -#: code:addons/l10n_es_aeat_mod216/models/mod216.py:91 -#: code:addons/l10n_es_aeat_mod216/models/mod216.py:98 -#, python-format -msgid "Tabla de impuestos desactualizada." -msgstr "Tabla de impuestos desactualizada." - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tax_lines:0 msgid "Tax lines" diff --git a/l10n_es_aeat_mod216/i18n/es.po b/l10n_es_aeat_mod216/i18n/es.po index 55c6dada574..e15fda3a7c1 100644 --- a/l10n_es_aeat_mod216/i18n/es.po +++ b/l10n_es_aeat_mod216/i18n/es.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-16 07:49+0000\n" -"PO-Revision-Date: 2015-10-14 16:44+0000\n" +"POT-Creation-Date: 2015-10-20 19:02+0000\n" +"PO-Revision-Date: 2015-10-18 17:09+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/es/)\n" "MIME-Version: 1.0\n" @@ -368,13 +368,6 @@ msgstr "Sustitutiva" msgid "Support Type" msgstr "Tipo de soporte" -#. module: l10n_es_aeat_mod216 -#: code:addons/l10n_es_aeat_mod216/models/mod216.py:91 -#: code:addons/l10n_es_aeat_mod216/models/mod216.py:98 -#, python-format -msgid "Tabla de impuestos desactualizada." -msgstr "Tabla de impuestos desactualizada." - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tax_lines:0 msgid "Tax lines" diff --git a/l10n_es_aeat_mod216/models/mod216.py b/l10n_es_aeat_mod216/models/mod216.py index 7451d294465..3d81ce7189a 100644 --- a/l10n_es_aeat_mod216/models/mod216.py +++ b/l10n_es_aeat_mod216/models/mod216.py @@ -18,7 +18,7 @@ # ############################################################################## -from openerp import fields, models, api, exceptions, _ +from openerp import fields, models, api class L10nEsAeatMod216Report(models.Model): @@ -84,23 +84,12 @@ def _get_partner_domain(self): @api.multi def calculate(self): self.ensure_one() - tax_code_obj = self.env['account.tax.code'] - tax_code = tax_code_obj.search([('code', '=', 'IRPBI')]) - if not tax_code: - raise exceptions.Warning( - _('Tabla de impuestos desactualizada.') - ) move_lines_base = self._get_tax_code_lines( - tax_code, periods=self.period_id) - tax_code = tax_code_obj.search([('code', '=', 'ITRPC')]) - if not tax_code: - raise exceptions.Warning( - _('Tabla de impuestos desactualizada.') - ) + ['IRPBI'], periods=self.period_id) move_lines_cuota = self._get_tax_code_lines( - tax_code, periods=self.period_id) + ['ITRPC'], periods=self.period_id) partner_lst = set([x.partner_id for x in (move_lines_base + move_lines_cuota)]) self.casilla_01 = len(partner_lst) - self.casilla_02 = sum([x.tax_amount for x in move_lines_base]) - self.casilla_03 = sum([x.tax_amount for x in move_lines_cuota]) + self.casilla_02 = sum(move_lines_base.mapped('tax_amount')) + self.casilla_03 = sum(move_lines_cuota.mapped('tax_amount')) From 2fdc796dc13af91e41b823f2280d71de6be07166 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Wed, 4 Nov 2015 13:32:07 +0100 Subject: [PATCH 05/31] =?UTF-8?q?[IMP]=20l10n=5Fes=5Faeat=5Fmod216=20mejor?= =?UTF-8?q?as=20visuales=20y=20c=C3=A1lculo=20autom=C3=A1tico=20de=20la=20?= =?UTF-8?q?liquidaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_es_aeat_mod216/README.rst | 38 +- l10n_es_aeat_mod216/__openerp__.py | 2 +- l10n_es_aeat_mod216/i18n/en.po | 180 ++++--- l10n_es_aeat_mod216/i18n/es.po | 183 ++++--- l10n_es_aeat_mod216/i18n/gl.po | 180 ++++--- .../i18n/l10n_es_aeat_mod216.pot | 189 +++++--- l10n_es_aeat_mod216/i18n/sl.po | 450 ++++++++++++++++++ l10n_es_aeat_mod216/models/mod111.py | 2 +- l10n_es_aeat_mod216/models/mod216.py | 87 +++- l10n_es_aeat_mod216/models/res_partner.py | 3 +- l10n_es_aeat_mod216/views/mod216_view.xml | 70 ++- .../views/res_partner_view.xml | 2 +- 12 files changed, 1067 insertions(+), 319 deletions(-) create mode 100644 l10n_es_aeat_mod216/i18n/sl.po diff --git a/l10n_es_aeat_mod216/README.rst b/l10n_es_aeat_mod216/README.rst index 786a29acab8..07722006d45 100644 --- a/l10n_es_aeat_mod216/README.rst +++ b/l10n_es_aeat_mod216/README.rst @@ -1,3 +1,8 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +================================ Presentación del Modelo AEAT 216 ================================ @@ -5,10 +10,36 @@ Modelo 216 de la AEAT. IRNR. Impuesto sobre la Renta de no Residentes. Rentas obtenidas sin mediación de establecimiento permanente. Retenciones e ingresos a cuenta. -Problemas conocidos / Hoja de ruta -================================== -* Permitir periodos trimestrales. +Uso +=== + +Primero deberemos indicar los proveedores que son no residentes, en la ficha +de la empresa: Contabilidad > Proveedores > Proveedores, pestaña de +Contabilidad. El campo "Es no residente" tiene que estar marcado para que +las retenciones realizadas a éste proveedor se incluyan en el modelo 216 + +Para crear un modelo, por ejemplo de un trimestre del año: + +1. Ir a Contabilidad > Informe > Informes legales > Declaraciones AEAT > Modelo 216 +2. Pulsar en el botón "Crear" +3. Seleccionar el ejercicio fiscal y el tipo de período, los periodos incluidos + se calculan automáticamente +4. Seleccionar el tipo de declaración +5. Rellenar el teléfono de contacto, necesario para la exportacion BOE +6. Guardar y pulsar en el botón "Calcular" +7. Rellenar (si es necesario) aquellos campos que Odoo no calcula automáticamente: + + * Rentas no sometidas a retención/ingreso a cuenta: [04] Nº de rentas y [05] Base de retenciones + * Resultados a ingresar anteriores: [06] + +8. Cuando los valores sean los correctos, pulsar en el botón "Confirmar" +9. Podemos exportar en formato BOE para presentarlo telemáticamente en el portal + de la AEAT + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Pruébalo en Runbot + :target: https://runbot.odoo-community.org/runbot/189/8.0 Créditos ======== @@ -18,6 +49,7 @@ Contribuidores * Pedro M. Baeza * Ainara Galdona +* Antonio Espinosa Maintainer ---------- diff --git a/l10n_es_aeat_mod216/__openerp__.py b/l10n_es_aeat_mod216/__openerp__.py index be9622cbe4c..317a71151ee 100644 --- a/l10n_es_aeat_mod216/__openerp__.py +++ b/l10n_es_aeat_mod216/__openerp__.py @@ -18,7 +18,7 @@ { 'name': 'AEAT modelo 216', - 'version': '8.0.1.0.0', + 'version': '8.0.1.1.0', 'category': "Localisation/Accounting", 'author': "Serv. Tecnol. Avanzados - Pedro M. Baeza," "AvanzOSC," diff --git a/l10n_es_aeat_mod216/i18n/en.po b/l10n_es_aeat_mod216/i18n/en.po index f5296a89797..5b1030aa31c 100644 --- a/l10n_es_aeat_mod216/i18n/en.po +++ b/l10n_es_aeat_mod216/i18n/en.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-20 19:02+0000\n" -"PO-Revision-Date: 2015-10-18 17:09+0000\n" +"POT-Creation-Date: 2015-11-05 19:24+0000\n" +"PO-Revision-Date: 2015-11-04 16:44+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: English (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/en/)\n" "MIME-Version: 1.0\n" @@ -27,11 +27,27 @@ msgstr "AEAT 111 report" msgid "AEAT 216 report" msgstr "AEAT 216 report" +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:131 +#, python-format +msgid "Account Move Lines" +msgstr "Account Move Lines" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,move_id:0 msgid "Account entry" msgstr "Account entry" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_cuota:0 +msgid "Account move lines for amounts" +msgstr "Account move lines for amounts" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_base:0 +msgid "Account move lines for bases" +msgstr "Account move lines for bases" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -42,41 +58,6 @@ msgstr "Calculation date" msgid "Cancelled" msgstr "Cancelled" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Casilla [01]" -msgstr "Casilla [01]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Casilla [02]" -msgstr "Casilla [02]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Casilla [03]" -msgstr "Casilla [03]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Casilla [04]" -msgstr "Casilla [04]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Casilla [05]" -msgstr "Casilla [05]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Casilla [06]" -msgstr "Casilla [06]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Casilla [07]" -msgstr "Casilla [07]" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,company_id:0 msgid "Company" @@ -201,9 +182,9 @@ msgid "Ingreso a anotar en CCT" msgstr "Ingreso a anotar en CCT" #. module: l10n_es_aeat_mod216 -#: field:res.partner,is_resident:0 -msgid "Is resident" -msgstr "Is resident" +#: field:res.partner,is_non_resident:0 +msgid "Is non-resident" +msgstr "Is non-resident" #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,journal_id:0 @@ -243,39 +224,47 @@ msgid "Liquidación" msgstr "Liquidación" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Liquidación - Partida 1 - Núm. Rentas" -msgstr "Liquidación - Partida 1 - Núm. Rentas" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" -msgstr "Liquidación - Partida 2 - Base ret. ing. cuenta" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" -msgstr "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "" +"Liquidación - Casilla [06] A deducir (exclusivamente en caso de " +"complementaria): Resultados a ingresar de anteriores declaraciones por el " +"mismo concepto, ejercicio y período" +msgstr "Liquidación - Casilla [06] A deducir (exclusivamente en caso de complementaria): Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Liquidación - Partida 4 - Núm. Rentas" -msgstr "Liquidación - Partida 4 - Núm. Rentas" +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[04] Número de rentas" +msgstr "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [04] Número de rentas" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." -msgstr "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[05] Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [05] Base de retenciones e ingresos a cuenta/Importe de las rentas" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" -msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] " +"Número de rentas" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] " +"Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] Base de retenciones e ingresos a cuenta/Importe de las rentas" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Liquidación - Partida 7 - Resultado ingresar" -msgstr "Liquidación - Partida 7 - Resultado ingresar" +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] " +"Retenciones e ingresos a cuenta" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] Retenciones e ingresos a cuenta" #. module: l10n_es_aeat_mod216 #: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report @@ -317,11 +306,6 @@ msgstr "Period type" msgid "Period(s)" msgstr "Period(s)" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,period_id:0 -msgid "Periodo" -msgstr "Periodo" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,contact_phone:0 msgid "Phone" @@ -342,11 +326,36 @@ msgstr "Previous declaration number" msgid "Processed" msgstr "Processed" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas no sometidas a retención" +msgstr "Rentas no sometidas a retención" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas sometidas a retención" +msgstr "Rentas sometidas a retención" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Resultado" +msgstr "Resultado" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,sequence:0 msgid "Sequence" msgstr "Sequence" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for amount" +msgstr "Show account move lines for amount" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for base" +msgstr "Show account move lines for base" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.export_to_boe,state:0 #: field:l10n.es.aeat.mod216.report,state:0 @@ -395,6 +404,36 @@ msgstr "Tipo de declaración" msgid "VAT number" msgstr "VAT number" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "[01] Número de rentas" +msgstr "[01] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "[02] Base de retenciones" +msgstr "[02] Base de retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "[03] Retenciones" +msgstr "[03] Retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "[04] Número de rentas" +msgstr "[04] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "[05] Base de retenciones" +msgstr "[05] Base de retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "[06] Resultados a ingresar anteriores" +msgstr "[06] Resultados a ingresar anteriores" + #. module: l10n_es_aeat_mod216 #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "get" @@ -404,3 +443,8 @@ msgstr "get" #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "open" msgstr "open" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "{'invisible': 1}" +msgstr "{'invisible': 1}" diff --git a/l10n_es_aeat_mod216/i18n/es.po b/l10n_es_aeat_mod216/i18n/es.po index e15fda3a7c1..59ba829214c 100644 --- a/l10n_es_aeat_mod216/i18n/es.po +++ b/l10n_es_aeat_mod216/i18n/es.po @@ -3,13 +3,14 @@ # * l10n_es_aeat_mod216 # # Translators: +# Carles Antolí , 2015 msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-20 19:02+0000\n" -"PO-Revision-Date: 2015-10-18 17:09+0000\n" -"Last-Translator: OCA Transbot \n" +"POT-Creation-Date: 2015-11-26 01:42+0000\n" +"PO-Revision-Date: 2015-11-12 18:01+0000\n" +"Last-Translator: Carles Antolí \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,11 +28,27 @@ msgstr "Declaración AEAT 111" msgid "AEAT 216 report" msgstr "Declaración AEAT 216" +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:131 +#, python-format +msgid "Account Move Lines" +msgstr "Apuntes contables" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,move_id:0 msgid "Account entry" msgstr "Entrada cuenta" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_cuota:0 +msgid "Account move lines for amounts" +msgstr "Apuntes contable para las cuotas " + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_base:0 +msgid "Account move lines for bases" +msgstr "Apuntes contables para las bases" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -42,41 +59,6 @@ msgstr "Fecha de cálculo" msgid "Cancelled" msgstr "Cancelada" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Casilla [01]" -msgstr "Casilla [01]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Casilla [02]" -msgstr "Casilla [02]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Casilla [03]" -msgstr "Casilla [03]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Casilla [04]" -msgstr "Casilla [04]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Casilla [05]" -msgstr "Casilla [05]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Casilla [06]" -msgstr "Casilla [06]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Casilla [07]" -msgstr "Casilla [07]" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,company_id:0 msgid "Company" @@ -201,9 +183,9 @@ msgid "Ingreso a anotar en CCT" msgstr "Ingreso a anotar en CCT" #. module: l10n_es_aeat_mod216 -#: field:res.partner,is_resident:0 -msgid "Is resident" -msgstr "Es residente" +#: field:res.partner,is_non_resident:0 +msgid "Is non-resident" +msgstr "Es no residente" #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,journal_id:0 @@ -243,39 +225,47 @@ msgid "Liquidación" msgstr "Liquidación" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Liquidación - Partida 1 - Núm. Rentas" -msgstr "Liquidación - Partida 1 - Núm. Rentas" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" -msgstr "Liquidación - Partida 2 - Base ret. ing. cuenta" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" -msgstr "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "" +"Liquidación - Casilla [06] A deducir (exclusivamente en caso de " +"complementaria): Resultados a ingresar de anteriores declaraciones por el " +"mismo concepto, ejercicio y período" +msgstr "Liquidación - Casilla [06] A deducir (exclusivamente en caso de complementaria): Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Liquidación - Partida 4 - Núm. Rentas" -msgstr "Liquidación - Partida 4 - Núm. Rentas" +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[04] Número de rentas" +msgstr "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [04] Número de rentas" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." -msgstr "Liquidación - Partida 5 - Base ret. ing. cuenta." +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[05] Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [05] Base de retenciones e ingresos a cuenta/Importe de las rentas" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" -msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] " +"Número de rentas" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] " +"Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] Base de retenciones e ingresos a cuenta/Importe de las rentas" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Liquidación - Partida 7 - Resultado ingresar" -msgstr "Liquidación - Partida 7 - Resultado ingresar" +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] " +"Retenciones e ingresos a cuenta" +msgstr "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] Retenciones e ingresos a cuenta" #. module: l10n_es_aeat_mod216 #: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report @@ -317,11 +307,6 @@ msgstr "Tipo de periodo" msgid "Period(s)" msgstr "Periodo(s)" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,period_id:0 -msgid "Periodo" -msgstr "Periodo" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,contact_phone:0 msgid "Phone" @@ -342,11 +327,36 @@ msgstr "Nº declaración previa" msgid "Processed" msgstr "Procesada" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas no sometidas a retención" +msgstr "Rentas no sometidas a retención" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas sometidas a retención" +msgstr "Rentas sometidas a retención" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Resultado" +msgstr "Resultado" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,sequence:0 msgid "Sequence" msgstr "Secuencia" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for amount" +msgstr "Mostrar apuntes de la cuota" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for base" +msgstr "Mostrar apuntes de la base" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.export_to_boe,state:0 #: field:l10n.es.aeat.mod216.report,state:0 @@ -395,6 +405,36 @@ msgstr "Tipo de declaración" msgid "VAT number" msgstr "NIF" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "[01] Número de rentas" +msgstr "[01] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "[02] Base de retenciones" +msgstr "[02] Base de retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "[03] Retenciones" +msgstr "[03] Retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "[04] Número de rentas" +msgstr "[04] Número de rentas" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "[05] Base de retenciones" +msgstr "[05] Base de retenciones" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "[06] Resultados a ingresar anteriores" +msgstr "[06] Resultados a ingresar anteriores" + #. module: l10n_es_aeat_mod216 #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "get" @@ -404,3 +444,8 @@ msgstr "obtener" #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "open" msgstr "abierto" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "{'invisible': 1}" +msgstr "{'invisible': 1}" diff --git a/l10n_es_aeat_mod216/i18n/gl.po b/l10n_es_aeat_mod216/i18n/gl.po index a8031df8389..1aec8864e0b 100644 --- a/l10n_es_aeat_mod216/i18n/gl.po +++ b/l10n_es_aeat_mod216/i18n/gl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: l10n-spain (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-01 08:00+0000\n" -"PO-Revision-Date: 2015-10-01 08:02+0000\n" +"POT-Creation-Date: 2015-11-05 19:24+0000\n" +"PO-Revision-Date: 2015-11-04 16:44+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Galician (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/gl/)\n" "MIME-Version: 1.0\n" @@ -28,11 +28,27 @@ msgstr "Declaración AEAT 111" msgid "AEAT 216 report" msgstr "Declaración AEAT 216" +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:131 +#, python-format +msgid "Account Move Lines" +msgstr "Apuntes contables" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,move_id:0 msgid "Account entry" msgstr "" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_cuota:0 +msgid "Account move lines for amounts" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_base:0 +msgid "Account move lines for bases" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,calculation_date:0 msgid "Calculation date" @@ -43,41 +59,6 @@ msgstr "Data de cálculo" msgid "Cancelled" msgstr "Cancelada" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Casilla [01]" -msgstr "Casilla [01]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Casilla [02]" -msgstr "Casilla [02]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Casilla [03]" -msgstr "Casilla [03]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Casilla [04]" -msgstr "Casilla [04]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Casilla [05]" -msgstr "Casa [05]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Casilla [06]" -msgstr "Casa [06]" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Casilla [07]" -msgstr "Casa [07]" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,company_id:0 msgid "Company" @@ -202,9 +183,9 @@ msgid "Ingreso a anotar en CCT" msgstr "Ingreso a anotar na CCT" #. module: l10n_es_aeat_mod216 -#: field:res.partner,is_resident:0 -msgid "Is resident" -msgstr "É residente" +#: field:res.partner,is_non_resident:0 +msgid "Is non-resident" +msgstr "" #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,journal_id:0 @@ -244,39 +225,47 @@ msgid "Liquidación" msgstr "Liquidación" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Liquidación - Partida 1 - Núm. Rentas" -msgstr "Liquidación - Partida 1 - Núm. Rentas" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" -msgstr "Liquidación - Partida 2 - Base ret. ing. conta" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" -msgstr "Liquidación - Partida 3 - Retencións ingresos a conta" +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "" +"Liquidación - Casilla [06] A deducir (exclusivamente en caso de " +"complementaria): Resultados a ingresar de anteriores declaraciones por el " +"mismo concepto, ejercicio y período" +msgstr "" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Liquidación - Partida 4 - Núm. Rentas" -msgstr "Liquidación - Partida 4 - Núm. Rentas" +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[04] Número de rentas" +msgstr "" #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." -msgstr "Liquidación - Partida 5 - Base ret. ing. conta" +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[05] Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" -msgstr "Liquidación - Partida 6 - Resultado ing. anteriores declaracións" +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] " +"Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] " +"Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Liquidación - Partida 7 - Resultado ingresar" -msgstr "Liquidación - Partida 7 - Resultado a ingresar" +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] " +"Retenciones e ingresos a cuenta" +msgstr "" #. module: l10n_es_aeat_mod216 #: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report @@ -318,11 +307,6 @@ msgstr "Tipo de período" msgid "Period(s)" msgstr "Período(s)" -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,period_id:0 -msgid "Periodo" -msgstr "Período" - #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,contact_phone:0 msgid "Phone" @@ -343,11 +327,36 @@ msgstr "Nº da declaración anterior" msgid "Processed" msgstr "Procesada" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas no sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Resultado" +msgstr "Resultado" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,sequence:0 msgid "Sequence" msgstr "Secuencia" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for amount" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for base" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.export_to_boe,state:0 #: field:l10n.es.aeat.mod216.report,state:0 @@ -396,6 +405,36 @@ msgstr "Tipo de declaración" msgid "VAT number" msgstr "NIF" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "[01] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "[02] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "[03] Retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "[04] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "[05] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "[06] Resultados a ingresar anteriores" +msgstr "" + #. module: l10n_es_aeat_mod216 #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "get" @@ -405,3 +444,8 @@ msgstr "obter" #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 msgid "open" msgstr "aberto" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "{'invisible': 1}" +msgstr "" diff --git a/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot b/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot index 0c1c0dbe64e..99598228769 100644 --- a/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot +++ b/l10n_es_aeat_mod216/i18n/l10n_es_aeat_mod216.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-06-28 13:20+0000\n" -"PO-Revision-Date: 2015-06-28 13:20+0000\n" +"POT-Creation-Date: 2015-11-04 13:08+0000\n" +"PO-Revision-Date: 2015-11-04 13:08+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -26,48 +26,24 @@ msgid "AEAT 216 report" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,calculation_date:0 -msgid "Calculation date" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: selection:l10n.es.aeat.mod216.report,state:0 -msgid "Cancelled" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Casilla [01]" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Casilla [02]" +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:129 +#, python-format +msgid "Account Move Lines" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Casilla [03]" +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Casilla [04]" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Casilla [05]" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Casilla [06]" +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Casilla [07]" +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" msgstr "" #. module: l10n_es_aeat_mod216 @@ -80,6 +56,11 @@ msgstr "" msgid "Complementary" msgstr "" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "" + #. module: l10n_es_aeat_mod216 #: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." @@ -188,6 +169,21 @@ msgstr "" msgid "Ingreso a anotar en CCT" msgstr "" +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_non_resident:0 +msgid "Is non-resident" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,representative_vat:0 msgid "L.R. VAT number" @@ -216,38 +212,33 @@ msgid "Liquidación" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_01:0 -msgid "Liquidación - Partida 1 - Núm. Rentas" -msgstr "" - -#. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_02:0 -msgid "Liquidación - Partida 2 - Base ret. ing. cuenta" +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "Liquidación - Casilla [06] A deducir (exclusivamente en caso de complementaria): Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_03:0 -msgid "Liquidación - Partida 3 - Retenciones ingresos a cuenta" +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [04] Número de rentas" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_04:0 -msgid "Liquidación - Partida 4 - Núm. Rentas" +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [05] Base de retenciones e ingresos a cuenta/Importe de las rentas" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_05:0 -msgid "Liquidación - Partida 5 - Base ret. ing. cuenta." +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] Número de rentas" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_06:0 -msgid "Liquidación - Partida 6 - Resultado ing. anteriores declaraciones" +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] Base de retenciones e ingresos a cuenta/Importe de las rentas" msgstr "" #. module: l10n_es_aeat_mod216 -#: help:l10n.es.aeat.mod216.report,casilla_07:0 -msgid "Liquidación - Partida 7 - Resultado ingresar" +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] Retenciones e ingresos a cuenta" msgstr "" #. module: l10n_es_aeat_mod216 @@ -260,6 +251,16 @@ msgstr "" msgid "Moneda" msgstr "" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_base:0 +msgid "Account move lines for bases" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_cuota:0 +msgid "Account move lines for amounts" +msgstr "" + #. module: l10n_es_aeat_mod216 #: help:l10n.es.aeat.mod216.report,contact_name:0 msgid "Must have name and surname." @@ -281,8 +282,13 @@ msgid "Partner" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:l10n.es.aeat.mod216.report,period_id:0 -msgid "Periodo" +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" msgstr "" #. module: l10n_es_aeat_mod216 @@ -290,6 +296,11 @@ msgstr "" msgid "Phone" msgstr "" +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,previous_number:0 msgid "Previous declaration number" @@ -300,6 +311,21 @@ msgstr "" msgid "Processed" msgstr "" +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas no sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Resultado" +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,sequence:0 msgid "Sequence" @@ -326,11 +352,21 @@ msgstr "" msgid "Support Type" msgstr "" +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "" + #. module: l10n_es_aeat_mod216 #: selection:l10n.es.aeat.mod216.report,support_type:0 msgid "Telematics" msgstr "" +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "This account will be the counterpart for all the journal items that are regularized when posting the report." +msgstr "" + #. module: l10n_es_aeat_mod216 #: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 msgid "Tipo de declaración" @@ -342,17 +378,52 @@ msgid "VAT number" msgstr "" #. module: l10n_es_aeat_mod216 -#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 -msgid "get" +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for base" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for amount" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "[01] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "[02] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "[03] Retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "[04] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "[05] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "[06] Resultados a ingresar anteriores" msgstr "" #. module: l10n_es_aeat_mod216 #: selection:l10n.es.aeat.mod216.export_to_boe,state:0 -msgid "open" +msgid "get" msgstr "" #. module: l10n_es_aeat_mod216 -#: field:res.partner,is_resident:0 -msgid "Is resident" +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" msgstr "" diff --git a/l10n_es_aeat_mod216/i18n/sl.po b/l10n_es_aeat_mod216/i18n/sl.po new file mode 100644 index 00000000000..c00c433e176 --- /dev/null +++ b/l10n_es_aeat_mod216/i18n/sl.po @@ -0,0 +1,450 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_es_aeat_mod216 +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: l10n-spain (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-11-05 19:24+0000\n" +"PO-Revision-Date: 2015-11-05 13:07+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-l10n-spain-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod111_report +msgid "AEAT 111 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_report +msgid "AEAT 216 report" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: code:addons/l10n_es_aeat_mod216/models/mod216.py:131 +#, python-format +msgid "Account Move Lines" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_id:0 +msgid "Account entry" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_cuota:0 +msgid "Account move lines for amounts" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,move_lines_base:0 +msgid "Account move lines for bases" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,calculation_date:0 +msgid "Calculation date" +msgstr "Datum izračuna" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Cancelled" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_id:0 +msgid "Company" +msgstr "Družba" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Complementary" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "Counterpart account" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,help:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Crea y consulta las declaraciones del modelo 216 de la AEAT." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_uid:0 +#: field:l10n.es.aeat.mod216.report,create_uid:0 +msgid "Created by" +msgstr "Ustvaril" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,create_date:0 +#: field:l10n.es.aeat.mod216.report,create_date:0 +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "DVD" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_tree +msgid "Declaraciones AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_l10n_es_aeat_mod216_report +msgid "Declaración AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,number:0 +msgid "Declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Domiciliación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Done" +msgstr "Opravljeno" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Draft" +msgstr "Osnutek" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_l10n_es_aeat_mod216_export_to_boe +msgid "Export Report to BOE Format" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,export_config:0 +msgid "Export config" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.actions.act_window,name:l10n_es_aeat_mod216.action_wizard_aeat_mod216_export +msgid "Exportar archivo BOE AEAT 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,data:0 +msgid "File" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,name:0 +msgid "File name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,fiscalyear_id:0 +msgid "Fiscal year" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Full Name" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,id:0 +#: field:l10n.es.aeat.mod216.report,id:0 +msgid "ID" +msgstr "ID" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Ingreso a anotar en CCT" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:res.partner,is_non_resident:0 +msgid "Is non-resident" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,journal_id:0 +msgid "Journal in which post the move." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "L.R. VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_uid:0 +#: field:l10n.es.aeat.mod216.report,write_uid:0 +msgid "Last Updated by" +msgstr "Zadnji posodobil" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,write_date:0 +#: field:l10n.es.aeat.mod216.report,write_date:0 +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,representative_vat:0 +msgid "Legal Representative VAT number." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Liquidación" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "" +"Liquidación - Casilla [06] A deducir (exclusivamente en caso de " +"complementaria): Resultados a ingresar de anteriores declaraciones por el " +"mismo concepto, ejercicio y período" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[04] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "" +"Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla " +"[05] Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] " +"Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] " +"Base de retenciones e ingresos a cuenta/Importe de las rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "" +"Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] " +"Retenciones e ingresos a cuenta" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.ui.menu,name:l10n_es_aeat_mod216.menu_aeat_mod216_report +msgid "Modelo 216" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,currency_id:0 +msgid "Moneda" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,contact_name:0 +msgid "Must have name and surname." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Negativa" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Normal" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: model:ir.model,name:l10n_es_aeat_mod216.model_res_partner +msgid "Partner" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,period_type:0 +msgid "Period type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,periods:0 +msgid "Period(s)" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,contact_phone:0 +msgid "Phone" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Posted" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,previous_number:0 +msgid "Previous declaration number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,state:0 +msgid "Processed" +msgstr "Obdelano" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas no sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Rentas sometidas a retención" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Resultado" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,sequence:0 +msgid "Sequence" +msgstr "Zaporedje" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for amount" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "Show account move lines for base" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.export_to_boe,state:0 +#: field:l10n.es.aeat.mod216.report,state:0 +msgid "State" +msgstr "Stanje" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,type:0 +msgid "Statement Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,type:0 +msgid "Substitutive" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,support_type:0 +msgid "Support Type" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tax_lines:0 +msgid "Tax lines" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.report,support_type:0 +msgid "Telematics" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: help:l10n.es.aeat.mod216.report,counterpart_account:0 +msgid "" +"This account will be the counterpart for all the journal items that are " +"regularized when posting the report." +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,tipo_declaracion:0 +msgid "Tipo de declaración" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,company_vat:0 +msgid "VAT number" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_01:0 +msgid "[01] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_02:0 +msgid "[02] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_03:0 +msgid "[03] Retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_04:0 +msgid "[04] Número de rentas" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_05:0 +msgid "[05] Base de retenciones" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: field:l10n.es.aeat.mod216.report,casilla_06:0 +msgid "[06] Resultados a ingresar anteriores" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "get" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: selection:l10n.es.aeat.mod216.export_to_boe,state:0 +msgid "open" +msgstr "" + +#. module: l10n_es_aeat_mod216 +#: view:l10n.es.aeat.mod216.report:l10n_es_aeat_mod216.view_l10n_es_aeat_mod216_report_form +msgid "{'invisible': 1}" +msgstr "" diff --git a/l10n_es_aeat_mod216/models/mod111.py b/l10n_es_aeat_mod216/models/mod111.py index c4b19a130c3..bdc325bdbe2 100644 --- a/l10n_es_aeat_mod216/models/mod111.py +++ b/l10n_es_aeat_mod216/models/mod111.py @@ -28,6 +28,6 @@ class L10nEsAeatMod111Report(models.Model): def _get_partner_domain(self): res = super(L10nEsAeatMod111Report, self)._get_partner_domain() partners = self.env['res.partner'].search( - [('is_resident', '=', False)]) + [('is_non_resident', '=', False)]) res += [('partner_id', 'in', partners.ids)] return res diff --git a/l10n_es_aeat_mod216/models/mod216.py b/l10n_es_aeat_mod216/models/mod216.py index 3d81ce7189a..c7253030199 100644 --- a/l10n_es_aeat_mod216/models/mod216.py +++ b/l10n_es_aeat_mod216/models/mod216.py @@ -18,7 +18,7 @@ # ############################################################################## -from openerp import fields, models, api +from openerp import fields, models, api, _ class L10nEsAeatMod216Report(models.Model): @@ -29,40 +29,54 @@ class L10nEsAeatMod216Report(models.Model): number = fields.Char(default='216') casilla_01 = fields.Integer( - 'Casilla [01]', readonly=True, + '[01] Número de rentas', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 1 - Núm. Rentas') + help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - ' + 'Casilla [01] Número de rentas') casilla_02 = fields.Float( - 'Casilla [02]', readonly=True, + '[02] Base de retenciones', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 2 - Base ret. ing. cuenta') + help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - ' + 'Casilla [02] Base de retenciones e ingresos a cuenta/Importe ' + 'de las rentas') casilla_03 = fields.Float( - 'Casilla [03]', readonly=True, + '[03] Retenciones', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 3 - Retenciones ingresos a cuenta') + help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - ' + 'Casilla [03] Retenciones e ingresos a cuenta') casilla_04 = fields.Integer( - 'Casilla [04]', readonly=True, + '[04] Número de rentas', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 4 - Núm. Rentas') + help='Liquidación - Rentas no sometidas a retención/ingreso a cuenta' + ' - Casilla [04] Número de rentas') casilla_05 = fields.Float( - 'Casilla [05]', readonly=True, + '[05] Base de retenciones', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 5 - Base ret. ing. cuenta.') + help='Liquidación - Rentas no sometidas a retención/ingreso a cuenta' + ' - Casilla [05] Base de retenciones e ingresos a cuenta/Importe ' + 'de las rentas') casilla_06 = fields.Float( - 'Casilla [06]', readonly=True, + '[06] Resultados a ingresar anteriores', readonly=True, states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 6 - Resultado ing. anteriores ' - 'declaraciones') + help='Liquidación - Casilla [06] A deducir (exclusivamente en caso ' + 'de complementaria): Resultados a ingresar de anteriores ' + 'declaraciones por el mismo concepto, ejercicio y período') casilla_07 = fields.Integer( - 'Casilla [07]', readonly=True, - states={'calculated': [('readonly', False)]}, - help='Liquidación - Partida 7 - Resultado ingresar') + '[07] Resultado a ingresar', readonly=True, compute='_compute_07', + help='Liquidación - Casilla [07] Resultado a ingresar ([03] - [06])') + move_lines_base = fields.Many2many( + string="Account move lines for bases", + comodel_name='account.move.line', + relation='mod216_account_move_lines_base_rel', + column1='mod216', column2='account_move_line') + move_lines_cuota = fields.Many2many( + string="Account move lines for amounts", + comodel_name='account.move.line', + relation='mod216_account_move_line_cuota_rel', + column1='mod216', column2='account_move_line') currency_id = fields.Many2one( 'res.currency', string='Moneda', related='company_id.currency_id', store=True) - period_id = fields.Many2one( - 'account.period', 'Periodo', readonly=True, - states={'draft': [('readonly', False)]}, required=True) tipo_declaracion = fields.Selection( [('I', 'Ingreso'), ('U', 'Domiciliación'), ('G', 'Ingreso a anotar en CCT'), ('N', 'Negativa')], @@ -77,7 +91,7 @@ def __init__(self, pool, cr): def _get_partner_domain(self): res = super(L10nEsAeatMod216Report, self)._get_partner_domain() partners = self.env['res.partner'].search( - [('is_resident', '=', True)]) + [('is_non_resident', '=', True)]) res += [('partner_id', 'in', partners.ids)] return res @@ -85,11 +99,38 @@ def _get_partner_domain(self): def calculate(self): self.ensure_one() move_lines_base = self._get_tax_code_lines( - ['IRPBI'], periods=self.period_id) + ['IRPBI'], periods=self.periods) move_lines_cuota = self._get_tax_code_lines( - ['ITRPC'], periods=self.period_id) + ['ITRPC'], periods=self.periods) + self.move_lines_base = move_lines_base.ids + self.move_lines_cuota = move_lines_cuota.ids partner_lst = set([x.partner_id for x in (move_lines_base + move_lines_cuota)]) + # I. Rentas sometidas a retención/ingreso a cuenta self.casilla_01 = len(partner_lst) self.casilla_02 = sum(move_lines_base.mapped('tax_amount')) self.casilla_03 = sum(move_lines_cuota.mapped('tax_amount')) + # II. Rentas no sometidas a retención/ingreso a cuenta + # No existe código de impuesto para calcular las bases + # de la rentas no sometidas a retención. + # El usuario introduce este dato de manera manual. + + @api.one + @api.depends('casilla_03', 'casilla_06') + def _compute_07(self): + self.casilla_07 = self.casilla_03 - self.casilla_06 + + @api.multi + def show_move_lines(self): + move_lines = [] + if self.env.context.get('move_lines_base', False): + move_lines = self.move_lines_base.ids + elif self.env.context.get('move_lines_cuota', False): + move_lines = self.move_lines_cuota.ids + return {'type': 'ir.actions.act_window', + 'name': _('Account Move Lines'), + 'view_mode': 'tree,form', + 'view_type': 'form', + 'res_model': 'account.move.line', + 'domain': [('id', 'in', move_lines)] + } diff --git a/l10n_es_aeat_mod216/models/res_partner.py b/l10n_es_aeat_mod216/models/res_partner.py index 4f73393fcdd..cf8e9ca2321 100644 --- a/l10n_es_aeat_mod216/models/res_partner.py +++ b/l10n_es_aeat_mod216/models/res_partner.py @@ -22,4 +22,5 @@ class ResPartner(models.Model): _inherit = 'res.partner' - is_resident = fields.Boolean(string='Is resident') + is_non_resident = fields.Boolean(string='Is non-resident', + oldname='is_resident') diff --git a/l10n_es_aeat_mod216/views/mod216_view.xml b/l10n_es_aeat_mod216/views/mod216_view.xml index 2929d68a47f..451ccca79a3 100644 --- a/l10n_es_aeat_mod216/views/mod216_view.xml +++ b/l10n_es_aeat_mod216/views/mod216_view.xml @@ -1,32 +1,55 @@ - - l10n_es.aeat.mod216.report.form - l10n.es.aeat.mod216.report - - - - - - - - - - - - + + l10n_es.aeat.mod216.report.form + l10n.es.aeat.mod216.report + + + + + + + + + + + + - - + + - - - - - - - - - - - -