Merge lp:~acysos-team/openerp-spain/openerp-spain-6.0-mpd340 into lp:~openerp-spain-team/openerp-spain/6.0

Proposed by Ignacio Ibeas (www.acysos.com)
Status: Merged
Merged at revision: 347
Proposed branch: lp:~acysos-team/openerp-spain/openerp-spain-6.0-mpd340
Merge into: lp:~openerp-spain-team/openerp-spain/6.0
Diff against target: 5764 lines (+2034/-2740)
22 files modified
l10n_es_aeat_mod340/__init__.py (+2/-1)
l10n_es_aeat_mod340/__openerp__.py (+41/-31)
l10n_es_aeat_mod340/account.py (+190/-0)
l10n_es_aeat_mod340/account_view.xml (+28/-0)
l10n_es_aeat_mod340/i18n/es.po (+292/-198)
l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot (+385/-312)
l10n_es_aeat_mod340/mod340.py (+10/-47)
l10n_es_aeat_mod340/mod340_view.xml (+28/-26)
l10n_es_aeat_mod340/report/lorem.py (+0/-1982)
l10n_es_aeat_mod340/report/report_view_aeroo.xml (+0/-39)
l10n_es_aeat_mod340/taxes_data.xml (+192/-0)
l10n_es_aeat_mod340/taxes_data_pymes.xml (+192/-0)
l10n_es_aeat_mod340/wizard/calculate_mod340_records.py (+87/-102)
l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py (+18/-2)
l10n_es_aeat_mod340_type0/__init__.py (+27/-0)
l10n_es_aeat_mod340_type0/__openerp__.py (+45/-0)
l10n_es_aeat_mod340_type0/i18n/es.po (+124/-0)
l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot (+124/-0)
l10n_es_aeat_mod340_type0/mod340.py (+55/-0)
l10n_es_aeat_mod340_type0/mod340_view.xml (+41/-0)
l10n_es_aeat_mod340_type0/wizard/__init__.py (+23/-0)
l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py (+130/-0)
To merge this branch: bzr merge lp:~acysos-team/openerp-spain/openerp-spain-6.0-mpd340
Reviewer Review Type Date Requested Status
Pedro Manuel Baeza revisión de código Approve
Review via email: mp+164012@code.launchpad.net

Description of the change

Mejora del Modelo 340:

Ya no depende de una búsqueda textual, para localizar que impuestos deben ser añadidos.

Se utiliza el código de impuesto para comprobar si debe o no ser añadido. Campos "Incluir en el Modelo 340"

Se actualizan las plantillas de códigos de impuestos del l10n_es. Si se instala en una base de datos ya existen, hay que utilizar account_chart_update para actualizar los códigos.

Se elimina la búsqueda de factura por fechas fijas. Ahora se selecciona el periodo inicial y final. De esta forma no tiene que coincidir con el año natural.

Se agrega control para los casos que no coincida con año natural para que los periodos si coincidan con los obligatorios por hacienda, es decir, mes o trimestre.

Se agrega un control de exportación, solo puede ser exportado a BOE si el periodo inicial y final coinciden.

Gracias a por indicar periodo inicial y final, se puede utilizar para imprimir el libro de IVA o cualquier otro informe por periodos. Pendiente mejorar estéticamente el informe impreso.

Se añadir el registro de Tipo 0, actualmente solo obligatorio en la Comunidad Foral de Navarra. Si la compañía no es de Navarra no se inserta este registro.

Pendiente de Migrar a 6.1.

Saludos

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Buenas, Ignacio:

He hecho una revisión de código, aunque no lo he llegado a probar, pero confío en tu experiencia ya con este módulo para asegurar que todo está correcto. Te hago un par de comentarios:

- He visto que actualizas las plantillas de impuestos para marcar o no la casilla para incluir en el modelo 340. Recientemente, se añadió también la plantilla para asociaciones. ¿Podrías por favor incluir también esa plantilla? Al ser ya tres archivos, tal vez tendría cuenta añadirlos en un subdirectorio 'taxes' o similar para una mejor organización.
- Parece ser que utilizas Dolphin y en el ignore de bazaar no le tienes configurado que te excluya los .directory, por lo que en el MP aparece uno de estos archivos.

Por lo demás, todo genial, como siempre ;)

Revision history for this message
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) wrote :

Hola,

No todas las asociaciones están obligadas a presentar el IVA, por eso no se ha añadido, pero pensando más a fondo, si la asociación tiene actividad mercantil debe presentarlo. Lo añado.

El directory ha sido un descuido, suelo borrarlos antes :)

Saludos

Revision history for this message
Jordi Esteve (www.zikzakmedia.com) (jesteve-zikzakmedia) wrote :

Hola Ignacio,

Como Pedro, he hecho una revisión en diagonal del código sin llegarlo a probar.Muy buen aporte, sobretodo el que ya no depende de una búsqueda textual, para localizar que impuestos deben ser añadidos. Sólo planteo dos cuestiones de diseño que no me agradan, pues restringen su uso (tanto, que no lo podríamos usar en la mayoría de nuestras instalaciones):

1) No permite exportar a BOE si el periodo inicial y final no coinciden. Esto limita mucho. Pongo un ejemplo: Una compañía que presenta sus impuestos trimestralmente pero tiene definidos los períodos mensuales para poder sacar los balances y pyg de forma mensual. Puede sacar su listado de impuestos en oerp perfectamente pues indicando el periodo inicial Enero y final Marzo saca los impuestos del 1er trimestre. Creo que lo mismo debería suceder para poder exportar a BOE el 340, poder indicar periodo inicial y final sin que tengan que coincidir. ¿Existe algún problema en la exportación del 340 a BOE si los periodos iniciales y finales no coinciden?

2) Depende del módulo city. ¿Hay alguna necesidad imperioso para hacer que el módulo 340 dependa de city? ¿Porqué hay que tener las ciudades codificadas en entidades aparte en lugar de ser texto, tal como oerp lleva por defecto? A muchas compañías no les gusta usar el módulo city, no veo porqué el disponer del modelo 340 les obligue a ello. Para compaginar compañías que usen city con las que no, supongo que la mejor solución sería que el módulo base l10n_es_aeat_mod340 no tuviera esta dependencia siendo las ciudades campos de texto y hacer un pequeño módulo l10n_es_aeat_mod340_city que la añadiera. Otra solución sería que l10n_es_aeat_mod340 tuviera definidas las ciudades como texto y detectara en el código python si city está instalado o no para rellenarlo a partir de campos texto o many2one.

Insisto en que este aporte está pero que muy bien,

Jordi

Revision history for this message
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) wrote :

> 1) No permite exportar a BOE si el periodo inicial y final no coinciden. Esto
> limita mucho. Pongo un ejemplo: Una compañía que presenta sus impuestos
> trimestralmente pero tiene definidos los períodos mensuales para poder sacar
> los balances y pyg de forma mensual. Puede sacar su listado de impuestos en
> oerp perfectamente pues indicando el periodo inicial Enero y final Marzo saca
> los impuestos del 1er trimestre. Creo que lo mismo debería suceder para poder
> exportar a BOE el 340, poder indicar periodo inicial y final sin que tengan
> que coincidir. ¿Existe algún problema en la exportación del 340 a BOE si los
> periodos iniciales y finales no coinciden?

Se ha hecho para que el usuario no cometa el error de exportar a BOE un año entero que no es un periodo válido. Realmente se puede quitar este filtro no afecta para nada, solo es un control de usuario.
En teoría si se comete este error y se manda el archivo a hacienda que no coincida con los periodos obligatorios, esta le va a dar error, porque no va a coincidir.

>
> 2) Depende del módulo city. ¿Hay alguna necesidad imperioso para hacer que el
> módulo 340 dependa de city? ¿Porqué hay que tener las ciudades codificadas en
> entidades aparte en lugar de ser texto, tal como oerp lleva por defecto? A
> muchas compañías no les gusta usar el módulo city, no veo porqué el disponer
> del modelo 340 les obligue a ello. Para compaginar compañías que usen city con
> las que no, supongo que la mejor solución sería que el módulo base
> l10n_es_aeat_mod340 no tuviera esta dependencia siendo las ciudades campos de
> texto y hacer un pequeño módulo l10n_es_aeat_mod340_city que la añadiera. Otra
> solución sería que l10n_es_aeat_mod340 tuviera definidas las ciudades como
> texto y detectara en el código python si city está instalado o no para
> rellenarlo a partir de campos texto o many2one.

La dependencia del módulo city es por el registro de tipo 0 que pide datos completos de localización. A día de hoy solo obligatorio en la Comunidad Foral de Navarra. Puedo separarlo sin problemas en l10n_es_aeat_mod340 y l10n_es_aeat_mod340_type0.

El que necesite este registro, que instala el modulo adicional.

>
> Insisto en que este aporte está pero que muy bien,
>
> Jordi

348. By Ignacio Ibeas (www.acysos.com)

l10n_es_aeat_mod340: se separan los registros de tipo 0 y se quita la restricción de periodos iguales

Revision history for this message
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) wrote :

Hola,

Se han separado el modulo en 2, el estándar, no dependiente de city, y las empresas que necesitan el registro de tipo 0, dependiente de city. De momento solo obligatorio en la Comunidad Foral de Navarra.

Se quita la restricción de los periodos.

No se actualizan los códigos de impuestos del plan de contabilidad para asociaciones porque solo están en la versión 6.1. Cuando actualicemos el módulo a la 6.1, se añadirá.

Saludos

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Me parecen perfectos los cambios. Con los últimos cambios se cubren todas las casuísticas comentadas.

Un saludo.

review: Approve (revisión de código)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'l10n_es_aeat_mod340/__init__.py'
--- l10n_es_aeat_mod340/__init__.py 2012-02-15 23:33:37 +0000
+++ l10n_es_aeat_mod340/__init__.py 2013-05-17 16:51:41 +0000
@@ -3,7 +3,7 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8# 8#
9# $Id$9# $Id$
@@ -27,4 +27,5 @@
27import mod34027import mod340
28import res_partner28import res_partner
29import account_invoice29import account_invoice
30import account
3031
3132
=== modified file 'l10n_es_aeat_mod340/__openerp__.py'
--- l10n_es_aeat_mod340/__openerp__.py 2012-06-15 16:23:53 +0000
+++ l10n_es_aeat_mod340/__openerp__.py 2013-05-17 16:51:41 +0000
@@ -3,9 +3,8 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8#
9# $Id$8# $Id$
10#9#
11# This program is free software: you can redistribute it and/or modify10# This program is free software: you can redistribute it and/or modify
@@ -24,22 +23,24 @@
24##############################################################################23##############################################################################
2524
26{25{
27 "name" : "Generación de fichero modelo 340",26 'name' : 'Generación de fichero modelo 340 y libro de IVA',
28 "version" : "1.0",27 'version' : '2.0',
29 "author" : "Acysos S.L., Francisco Pascual (Ting), Nan-tic",28 'author' : 'Acysos S.L., Francisco Pascual (Ting), Nan-tic',
30 "website" : "http://www.acysos.com, www.ting.es, www.nan-tic.com",29 'website' : 'www.acysos.com, www.ting.es, www.nan-tic.com',
31 "category" : "Localisation/Accounting",30 'category' : 'Localisation/Accounting',
32 "description" : """31 'description' : '''
33Módulo para la presentación del modelo 340. Exportación a formato AEAT.32Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA
3433
35--- ESTADO ACTUAL -------------------------------------------------------------34Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse.
3635Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable
37Búsqueda de facturas emitidas y recibidas. Excluidas lineas de impuestos con IRPF.36
37Búsqueda de facturas emitidas y recibidas.
38Exportación a formato de AEAT de facturas emitidas y recibidas.38Exportación a formato de AEAT de facturas emitidas y recibidas.
39Exportación de facturas con varios tipos impositivos. Clave de operación C39Exportación de facturas con varios tipos impositivos. Clave de operación C.
40Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial40Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial.
41Facturas rectificativas41Facturas rectificativas.
42Facturas resumen de tiques42Facturas resumen de tiques.
43Permite imprimir el libro de IVA, basado en la misma legislación.
4344
44--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------45--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------
4546
@@ -47,19 +48,28 @@
47Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.48Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.
48Asientos contables de resumen de tiques49Asientos contables de resumen de tiques
49Exportación de asientos resumen de facturas50Exportación de asientos resumen de facturas
5051''',
51ADVERTENCIA: Los periodos de la empresas deben coincidir con los peridos de presentación de IVA.52 'license' : 'AGPL-3',
52""",53 'depends' : ['account',
53 "website" : "www.acysos.com, www.ting.es",54 'base_vat',
54 "license" : "AGPL-3",55 'l10n_es_aeat',
55 "depends" : ["account",56 'account_refund_original',
56 "base_vat",57 'account_chart_update',
57 "l10n_es_aeat",58 'city',
58 "account_refund_original",
59 ],59 ],
60 "init_xml" : [],60 'init_xml' : [],
61 "demo_xml" : [],61 'demo_xml' : [],
62 "update_xml" : ['report/report_view.xml',"mod340_view.xml","mod340_workflow.xml","security/ir.model.access.csv", "res_partner_view.xml","mod340_sequence.xml","account_invoice_view.xml"],62 'update_xml' : [
63 "installable" : True,63 'report/report_view.xml',
64 "active" : False,64 'mod340_view.xml',
65 'mod340_workflow.xml',
66 'security/ir.model.access.csv',
67 'res_partner_view.xml',
68 'mod340_sequence.xml',
69 'account_invoice_view.xml',
70 'account_view.xml',
71 'taxes_data.xml',
72 'taxes_data_pymes.xml'],
73 'installable' : True,
74 'active' : False,
65}75}
6676
=== added file 'l10n_es_aeat_mod340/account.py'
--- l10n_es_aeat_mod340/account.py 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/account.py 2013-05-17 16:51:41 +0000
@@ -0,0 +1,190 @@
1# -*- coding: utf-8 -*-
2##############################################################################
3#
4# Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved
5# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20##############################################################################
21
22from osv import osv, fields
23from tools.translate import _
24
25class account_tax_code_template(osv.osv):
26
27 _inherit = 'account.tax.code.template'
28
29 _columns = {
30 'mod340':fields.boolean("Include in mod340"),
31 }
32
33account_tax_code_template()
34
35class account_tax_code(osv.osv):
36
37 _inherit = 'account.tax.code'
38
39 _columns = {
40 'mod340':fields.boolean("Include in mod340"),
41 }
42
43account_tax_code()
44
45class wizard_update_charts_accounts(osv.osv_memory):
46 _inherit = 'wizard.update.charts.accounts'
47
48 def _find_tax_codes(self, cr, uid, wizard, context=None):
49 """
50 Search for, and load, tax code templates to create/update.
51 """
52 new_tax_codes = 0
53 updated_tax_codes = 0
54 tax_code_template_mapping = {}
55
56 tax_code_templ_obj = self.pool.get('account.tax.code.template')
57 tax_code_obj = self.pool.get('account.tax.code')
58 wiz_tax_code_obj = self.pool.get('wizard.update.charts.accounts.tax.code')
59
60 # Remove previous tax codes
61 wiz_tax_code_obj.unlink(cr, uid, wiz_tax_code_obj.search(cr, uid, []))
62
63 #
64 # Search for new / updated tax codes
65 #
66 root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
67 children_tax_code_template = tax_code_templ_obj.search(cr, uid, [('parent_id', 'child_of', [root_tax_code_id])], order='id')
68 for tax_code_template in tax_code_templ_obj.browse(cr, uid, children_tax_code_template):
69 # Ensure the tax code template is on the map (search for the mapped tax code id).
70 self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template, context)
71
72 tax_code_id = tax_code_template_mapping.get(tax_code_template.id)
73 if not tax_code_id:
74 new_tax_codes += 1
75 wiz_tax_code_obj.create(cr, uid, {
76 'tax_code_id': tax_code_template.id,
77 'update_chart_wizard_id': wizard.id,
78 'type': 'new',
79 }, context)
80 elif wizard.update_tax_code:
81 #
82 # Check the tax code for changes.
83 #
84 modified = False
85 notes = ""
86 tax_code = tax_code_obj.browse(cr, uid, tax_code_id, context=context)
87
88 if tax_code.code != tax_code_template.code:
89 notes += _("The code field is different.\n")
90 modified = True
91 if tax_code.info != tax_code_template.info:
92 notes += _("The info field is different.\n")
93 modified = True
94 if tax_code.sign != tax_code_template.sign:
95 notes += _("The sign field is different.\n")
96 modified = True
97 if tax_code.mod340 != tax_code_template.mod340:
98 notes += _("The Mod 340 field is different.\n")
99 modified = True
100
101 # TODO: We could check other account fields for changes...
102
103 if modified:
104 #
105 # Tax code to update.
106 #
107 updated_tax_codes += 1
108 wiz_tax_code_obj.create(cr, uid, {
109 'tax_code_id': tax_code_template.id,
110 'update_chart_wizard_id': wizard.id,
111 'type': 'updated',
112 'update_tax_code_id': tax_code_id,
113 'notes': notes,
114 }, context)
115
116 return { 'new': new_tax_codes, 'updated': updated_tax_codes, 'mapping': tax_code_template_mapping }
117
118 def _update_tax_codes(self, cr, uid, wizard, log, context=None):
119 """
120 Search for, and load, tax code templates to create/update.
121 """
122 tax_code_obj = self.pool.get('account.tax.code')
123
124 root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
125
126 new_tax_codes = 0
127 updated_tax_codes = 0
128 tax_code_template_mapping = {}
129
130 for wiz_tax_code in wizard.tax_code_ids:
131 tax_code_template = wiz_tax_code.tax_code_id
132 tax_code_name = (root_tax_code_id == tax_code_template.id) and wizard.company_id.name or tax_code_template.name
133
134 # Ensure the parent tax code template is on the map.
135 self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template.parent_id, context)
136
137 #
138 # Values
139 #
140 vals = {
141 'name': tax_code_name,
142 'code': tax_code_template.code,
143 'info': tax_code_template.info,
144 'parent_id': tax_code_template.parent_id and tax_code_template_mapping.get(tax_code_template.parent_id.id),
145 'company_id': wizard.company_id.id,
146 'sign': tax_code_template.sign,
147 'mod340': tax_code_template.mod340
148 }
149
150 tax_code_id = None
151 modified = False
152
153 if wiz_tax_code.type == 'new':
154 #
155 # Create the tax code
156 #
157 tax_code_id = tax_code_obj.create(cr, uid, vals)
158 log.add(_("Created tax code %s.\n") % tax_code_name)
159 new_tax_codes += 1
160 modified = True
161 elif wizard.update_tax_code and wiz_tax_code.update_tax_code_id:
162 #
163 # Update the tax code
164 #
165 tax_code_id = wiz_tax_code.update_tax_code_id.id
166 tax_code_obj.write(cr, uid, [tax_code_id], vals)
167 log.add(_("Updated tax code %s.\n") % tax_code_name)
168 updated_tax_codes += 1
169 modified = True
170 else:
171 tax_code_id = wiz_tax_code.update_tax_code_id and wiz_tax_code.update_tax_code_id.id
172 modified = False
173
174 # Store the tax codes on the map
175 tax_code_template_mapping[tax_code_template.id] = tax_code_id
176
177 if modified:
178 #
179 # Detect errors
180 #
181 if tax_code_template.parent_id and not tax_code_template_mapping.get(tax_code_template.parent_id.id):
182 log.add(_("Tax code %s: The parent tax code %s can not be set.\n") % (tax_code_name, tax_code_template.parent_id.name), True)
183
184 return {
185 'new': new_tax_codes,
186 'updated': updated_tax_codes,
187 'mapping': tax_code_template_mapping
188 }
189
190wizard_update_charts_accounts()
0\ No newline at end of file191\ No newline at end of file
1192
=== added file 'l10n_es_aeat_mod340/account_view.xml'
--- l10n_es_aeat_mod340/account_view.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/account_view.xml 2013-05-17 16:51:41 +0000
@@ -0,0 +1,28 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data>
4 <record id="view_tax_code_template_form_mod340" model="ir.ui.view">
5 <field name="name">account.tax.code.template.form.mod340</field>
6 <field name="model">account.tax.code.template</field>
7 <field name="inherit_id" ref="account.view_tax_code_template_form"/>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <field name="sign" position="after">
11 <field name="mod340"/>
12 </field>
13 </field>
14 </record>
15
16 <record id="view_tax_code_form_mod340" model="ir.ui.view">
17 <field name="name">account.tax.code.form.mod340</field>
18 <field name="model">account.tax.code</field>
19 <field name="inherit_id" ref="account.view_tax_code_form"/>
20 <field name="type">form</field>
21 <field name="arch" type="xml">
22 <field name="sign" position="after">
23 <field name="mod340"/>
24 </field>
25 </field>
26 </record>
27 </data>
28</openerp>
0\ No newline at end of file29\ No newline at end of file
130
=== modified file 'l10n_es_aeat_mod340/i18n/es.po'
--- l10n_es_aeat_mod340/i18n/es.po 2012-02-23 22:09:13 +0000
+++ l10n_es_aeat_mod340/i18n/es.po 2013-05-17 16:51:41 +0000
@@ -1,53 +1,51 @@
1# Translation of OpenERP Server.1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod3403# * l10n_es_aeat_mod340
4#4#
5msgid ""5msgid ""
6msgstr ""6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.2\n"7"Project-Id-Version: OpenERP Server 6.0.3\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"8"Report-Msgid-Bugs-To: support@openerp.com\n"
9"POT-Creation-Date: 2012-01-30 10:57+0000\n"9"POT-Creation-Date: 2013-05-15 16:29+0000\n"
10"PO-Revision-Date: 2012-01-30 10:57+0000\n"10"PO-Revision-Date: 2013-05-15 16:29+0000\n"
11"Last-Translator: <>\n"
11"Language-Team: \n"12"Language-Team: \n"
12"MIME-Version: 1.0\n"13"MIME-Version: 1.0\n"
13"Content-Type: text/plain; charset=UTF-8\n"14"Content-Type: text/plain; charset=UTF-8\n"
14"Content-Transfer-Encoding: 8bit\n"15"Content-Transfer-Encoding: \n"
15"Plural-Forms: \n"16"Plural-Forms: \n"
1617
17#. module: l10n_es_aeat_mod34018#. module: l10n_es_aeat_mod340
18#: selection:l10n.es.aeat.mod340,period:0
19msgid "Third quarter"
20msgstr "Tercer trimestre"
21
22#. module: l10n_es_aeat_mod340
23#: view:l10n.es.aeat.mod340.issued:019#: view:l10n.es.aeat.mod340.issued:0
24msgid "Issued invoices"20msgid "Issued invoices"
25msgstr "Facturas emitidas"21msgstr "Facturas emitidas"
2622
27#. module: l10n_es_aeat_mod34023#. module: l10n_es_aeat_mod340
28#: code:addons/l10n_es_aeat_mod340/mod340.py:16224#: code:addons/l10n_es_aeat_mod340/mod340.py:178
29#, python-format25#, python-format
30msgid "All real state records state code field must be filled."26msgid "All real state records state code field must be filled."
31msgstr "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."27msgstr "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."
3228
33#. module: l10n_es_aeat_mod34029#. module: l10n_es_aeat_mod340
34#: code:addons/l10n_es_aeat_mod340/mod340.py:6530#: code:addons/l10n_es_aeat_mod340/account.py:89
35#, python-format31#, python-format
36msgid "En desarrollo"32msgid "The code field is different.\n"
37msgstr "En desarrollo"33""
3834msgstr "El campo código es diferente.\n"
39#. module: l10n_es_aeat_mod34035""
40#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:036
41#: field:l10n.es.aeat.mod340.investment,amount_tax:037#. module: l10n_es_aeat_mod340
42#: field:l10n.es.aeat.mod340.issued,amount_tax:038#: field:l10n.es.aeat.mod340,total_taxable:0
43#: field:l10n.es.aeat.mod340.received,amount_tax:039msgid "Total Taxable"
44msgid "amount of the tax"40msgstr "Total"
45msgstr "cantidad de impuestos"41
4642#. module: l10n_es_aeat_mod340
47#. module: l10n_es_aeat_mod34043#: code:addons/l10n_es_aeat_mod340/account.py:158
48#: selection:l10n.es.aeat.mod340,period:044#, python-format
49msgid "March"45msgid "Created tax code %s.\n"
50msgstr "Marzo"46""
47msgstr "Código de impuesto %s creado.\n"
48""
5149
52#. module: l10n_es_aeat_mod34050#. module: l10n_es_aeat_mod340
53#: view:l10n.es.aeat.mod340:051#: view:l10n.es.aeat.mod340:0
@@ -61,12 +59,17 @@
61msgstr "Compañia"59msgstr "Compañia"
6260
63#. module: l10n_es_aeat_mod34061#. module: l10n_es_aeat_mod340
62#: field:l10n.es.aeat.mod340,total_sharetax:0
63msgid "Total Share Tax"
64msgstr "Total impuestos"
65
66#. module: l10n_es_aeat_mod340
64#: field:l10n.es.aeat.mod340,number_records:067#: field:l10n.es.aeat.mod340,number_records:0
65msgid "Records"68msgid "Records"
66msgstr "Registros"69msgstr "Registros"
6770
68#. module: l10n_es_aeat_mod34071#. module: l10n_es_aeat_mod340
69#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:27072#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:341
70#, python-format73#, python-format
71msgid "The type 2 received record must be 500 characters long for each Vat registry"74msgid "The type 2 received record must be 500 characters long for each Vat registry"
72msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"75msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
@@ -82,10 +85,19 @@
82msgstr "Teléfono de contacto"85msgstr "Teléfono de contacto"
8386
84#. module: l10n_es_aeat_mod34087#. module: l10n_es_aeat_mod340
88#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
89#: field:l10n.es.aeat.mod340.investment,base_tax:0
90#: field:l10n.es.aeat.mod340.issued,base_tax:0
91#: field:l10n.es.aeat.mod340.received,base_tax:0
85#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:092#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0
86#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:093#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0
87msgid "Base tax bill"94msgid "Base tax bill"
88msgstr "Base imponible"95msgstr "Base"
96
97#. module: l10n_es_aeat_mod340
98#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
99msgid "Tax Code"
100msgstr "Código impuesto"
89101
90#. module: l10n_es_aeat_mod340102#. module: l10n_es_aeat_mod340
91#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report103#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
@@ -93,25 +105,29 @@
93msgstr "Crear informe del Model AEAT 340"105msgstr "Crear informe del Model AEAT 340"
94106
95#. module: l10n_es_aeat_mod340107#. module: l10n_es_aeat_mod340
96#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92108#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:134
97#, python-format109#, python-format
98msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"110msgid "The period hasn't a valid Mod340 period"
99msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:"111msgstr "El periodo no es válido para el Módelo 340"
100112
101#. module: l10n_es_aeat_mod340113#. module: l10n_es_aeat_mod340
102#: view:l10n.es.aeat.mod340:0114#: field:account.tax.code,mod340:0
103msgid "In process"115#: field:account.tax.code.template,mod340:0
104msgstr "En processo"116msgid "Include in mod340"
105117msgstr "Incluir en el modelo 340"
106#. module: l10n_es_aeat_mod340118
119#. module: l10n_es_aeat_mod340
120#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
121#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
122#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
107#: field:l10n.es.aeat.mod340.received,tax_line_ids:0123#: field:l10n.es.aeat.mod340.received,tax_line_ids:0
108msgid "Tax lines"124msgid "Tax lines"
109msgstr "Líneas de impuestos"125msgstr "Lineas de impuestos"
110126
111#. module: l10n_es_aeat_mod340127#. module: l10n_es_aeat_mod340
112#: code:addons/l10n_es_aeat_mod340/mod340.py:156128#: code:addons/l10n_es_aeat_mod340/mod340.py:172
113#: code:addons/l10n_es_aeat_mod340/mod340.py:158129#: code:addons/l10n_es_aeat_mod340/mod340.py:174
114#: code:addons/l10n_es_aeat_mod340/mod340.py:162130#: code:addons/l10n_es_aeat_mod340/mod340.py:178
115#, python-format131#, python-format
116msgid "Error!"132msgid "Error!"
117msgstr "Error!"133msgstr "Error!"
@@ -127,17 +143,80 @@
127msgstr "6 - Otro documento probatorio"143msgstr "6 - Otro documento probatorio"
128144
129#. module: l10n_es_aeat_mod340145#. module: l10n_es_aeat_mod340
130#: field:l10n.es.aeat.mod340,company_vat:0146#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:252
131msgid "VAT number"
132msgstr "CIF/NIF"
133
134#. module: l10n_es_aeat_mod340
135#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184
136#, python-format147#, python-format
137msgid "The type 2 issued record must be 500 characters long for each Vat registry"148msgid "The type 2 issued record must be 500 characters long for each Vat registry"
138msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"149msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
139150
140#. module: l10n_es_aeat_mod340151#. module: l10n_es_aeat_mod340
152#: model:ir.module.module,description:l10n_es_aeat_mod340.module_meta_information
153msgid "\n"
154"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
155"\n"
156"Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse.\n"
157"Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable\n"
158"\n"
159"Búsqueda de facturas emitidas y recibidas.\n"
160"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
161"Exportación de facturas con varios tipos impositivos. Clave de operación C\n"
162"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial\n"
163"Facturas rectificativas\n"
164"Facturas resumen de tiques\n"
165"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
166"\n"
167"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
168"\n"
169"Facturas bienes de inversión\n"
170"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
171"Asientos contables de resumen de tiques\n"
172"Exportación de asientos resumen de facturas\n"
173""
174msgstr "\n"
175"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
176"\n"
177"Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse.\n"
178"Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable\n"
179"\n"
180"Búsqueda de facturas emitidas y recibidas.\n"
181"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
182"Exportación de facturas con varios tipos impositivos. Clave de operación C\n"
183"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial\n"
184"Facturas rectificativas\n"
185"Facturas resumen de tiques\n"
186"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
187"\n"
188"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
189"\n"
190"Facturas bienes de inversión\n"
191"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
192"Asientos contables de resumen de tiques\n"
193"Exportación de asientos resumen de facturas\n"
194""
195
196#. module: l10n_es_aeat_mod340
197#: selection:l10n.es.aeat.mod340,type:0
198msgid "Complementary"
199msgstr "Complementaria"
200
201#. module: l10n_es_aeat_mod340
202#: field:l10n.es.aeat.mod340,period_from:0
203msgid "Start period"
204msgstr "Periodo inicial"
205
206#. module: l10n_es_aeat_mod340
207#: constraint:account.tax.code:0
208msgid "Error ! You can not create recursive accounts."
209msgstr "¡Error! No se pueden crear cuentas recursivas."
210
211#. module: l10n_es_aeat_mod340
212#: code:addons/l10n_es_aeat_mod340/account.py:167
213#, python-format
214msgid "Updated tax code %s.\n"
215""
216msgstr "Código de impuesto %s actualizado.\n"
217""
218
219#. module: l10n_es_aeat_mod340
141#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias220#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
142#: field:l10n.es.aeat.mod340,intracomunitarias:0221#: field:l10n.es.aeat.mod340,intracomunitarias:0
143msgid "Operations Intracomunitarias"222msgid "Operations Intracomunitarias"
@@ -153,7 +232,20 @@
153#: view:l10n.es.aeat.mod340:0232#: view:l10n.es.aeat.mod340:0
154#: field:l10n.es.aeat.mod340,ean13:0233#: field:l10n.es.aeat.mod340,ean13:0
155msgid "Electronic Code VAT reverse charge"234msgid "Electronic Code VAT reverse charge"
156msgstr "Electronic Code VAT reverse charge"235msgstr "Código electrónico del modelo 303"
236
237#. module: l10n_es_aeat_mod340
238#: field:l10n.es.aeat.mod340,period_to:0
239msgid "End period"
240msgstr "Periodo final"
241
242#. module: l10n_es_aeat_mod340
243#: code:addons/l10n_es_aeat_mod340/account.py:98
244#, python-format
245msgid "The Mod 340 field is different.\n"
246""
247msgstr "El campo Mod 340 es diferente.\n"
248""
157249
158#. module: l10n_es_aeat_mod340250#. module: l10n_es_aeat_mod340
159#: view:l10n.es.aeat.mod340:0251#: view:l10n.es.aeat.mod340:0
@@ -161,6 +253,12 @@
161msgstr "Identificación"253msgstr "Identificación"
162254
163#. module: l10n_es_aeat_mod340255#. module: l10n_es_aeat_mod340
256#: view:l10n.es.aeat.mod340.issued:0
257#: view:l10n.es.aeat.mod340.received:0
258msgid "Total Tax"
259msgstr "Total Impuestos"
260
261#. module: l10n_es_aeat_mod340
164#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action262#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
165msgid "mod340 report"263msgid "mod340 report"
166msgstr "mod340 report"264msgstr "mod340 report"
@@ -171,7 +269,7 @@
171msgstr "Facturas"269msgstr "Facturas"
172270
173#. module: l10n_es_aeat_mod340271#. module: l10n_es_aeat_mod340
174#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65272#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64
175#, python-format273#, python-format
176msgid "This company dont have NIF"274msgid "This company dont have NIF"
177msgstr "Esta compañía no tiene CIF/NIF"275msgstr "Esta compañía no tiene CIF/NIF"
@@ -187,7 +285,7 @@
187msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"285msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
188286
189#. module: l10n_es_aeat_mod340287#. module: l10n_es_aeat_mod340
190#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306288#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:377
191#, python-format289#, python-format
192msgid "340_report_%s.txt"290msgid "340_report_%s.txt"
193msgstr "340_report_%s.txt"291msgstr "340_report_%s.txt"
@@ -198,16 +296,19 @@
198msgstr "Estado"296msgstr "Estado"
199297
200#. module: l10n_es_aeat_mod340298#. module: l10n_es_aeat_mod340
201#: selection:l10n.es.aeat.mod340,period:0
202msgid "First quarter"
203msgstr "Pirmer trimestre"
204
205#. module: l10n_es_aeat_mod340
206#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report299#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
207msgid "AEAT 340 Model"300msgid "AEAT 340 Model"
208msgstr "Modelo AEAT 340"301msgstr "Modelo AEAT 340"
209302
210#. module: l10n_es_aeat_mod340303#. module: l10n_es_aeat_mod340
304#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
305#: field:l10n.es.aeat.mod340.investment,amount_tax:0
306#: field:l10n.es.aeat.mod340.issued,amount_tax:0
307#: field:l10n.es.aeat.mod340.received,amount_tax:0
308msgid "Total tax"
309msgstr "Total impuestos"
310
311#. module: l10n_es_aeat_mod340
211#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0312#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
212#: help:l10n.es.aeat.mod340.investment,representative_vat:0313#: help:l10n.es.aeat.mod340.investment,representative_vat:0
213#: help:l10n.es.aeat.mod340.issued,representative_vat:0314#: help:l10n.es.aeat.mod340.issued,representative_vat:0
@@ -231,7 +332,7 @@
231msgstr "Tipo de soporte"332msgstr "Tipo de soporte"
232333
233#. module: l10n_es_aeat_mod340334#. module: l10n_es_aeat_mod340
234#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306335#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:377
235#, python-format336#, python-format
236msgid "%Y-%m-%d"337msgid "%Y-%m-%d"
237msgstr "%d-%m-%Y"338msgstr "%d-%m-%Y"
@@ -242,9 +343,25 @@
242msgstr "Exportar al BOE"343msgstr "Exportar al BOE"
243344
244#. module: l10n_es_aeat_mod340345#. module: l10n_es_aeat_mod340
245#: selection:l10n.es.aeat.mod340,period:0346#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
246msgid "July"347#, python-format
247msgstr "Julio"348msgid "The periods selected don't belong to the fiscal year %s"
349msgstr "Los periodos seleccionados no pertenecen al año fiscal %s"
350
351#. module: l10n_es_aeat_mod340
352#: constraint:account.tax.code.template:0
353msgid "Error ! You can not create recursive Tax Codes."
354msgstr "¡Error! No puede crear códigos de impuestos recursivos."
355
356#. module: l10n_es_aeat_mod340
357#: field:l10n.es.aeat.mod340,company_vat:0
358msgid "VAT number"
359msgstr "CIF/NIF"
360
361#. module: l10n_es_aeat_mod340
362#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax
363msgid "account.tax"
364msgstr "contabilidad.impuesto"
248365
249#. module: l10n_es_aeat_mod340366#. module: l10n_es_aeat_mod340
250#: selection:res.partner,vat_type:0367#: selection:res.partner,vat_type:0
@@ -257,15 +374,15 @@
257msgstr "Exportar Modelo AEAT 340 al formato del BOE"374msgstr "Exportar Modelo AEAT 340 al formato del BOE"
258375
259#. module: l10n_es_aeat_mod340376#. module: l10n_es_aeat_mod340
260#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92377#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:147
261#, python-format378#, python-format
262msgid "The type 1 record must be 500 characters long"379msgid "The type 1 record must be 500 characters long"
263msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"380msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"
264381
265#. module: l10n_es_aeat_mod340382#. module: l10n_es_aeat_mod340
266#: field:l10n.es.aeat.mod340,calculation_date:0383#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
267msgid "Calculation date"384msgid "Mod340 vat lines issued"
268msgstr "Fecha de calculo"385msgstr "Líneas de impuestos emitidos"
269386
270#. module: l10n_es_aeat_mod340387#. module: l10n_es_aeat_mod340
271#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner388#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner
@@ -277,27 +394,22 @@
277msgstr "Empresa"394msgstr "Empresa"
278395
279#. module: l10n_es_aeat_mod340396#. module: l10n_es_aeat_mod340
280#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
281#: field:l10n.es.aeat.mod340.investment,base_tax:0
282#: field:l10n.es.aeat.mod340.issued,base_tax:0
283#: field:l10n.es.aeat.mod340.received,base_tax:0
284msgid "base tax bill"
285msgstr "Base imponible"
286
287#. module: l10n_es_aeat_mod340
288#: view:l10n.es.aeat.mod340.tax_line_received:0397#: view:l10n.es.aeat.mod340.tax_line_received:0
289msgid "Tax line received"398msgid "Tax line received"
290msgstr "Líneas de impuestos recibidos"399msgstr "Líneas de impuestos recibidos"
291400
292#. module: l10n_es_aeat_mod340401#. module: l10n_es_aeat_mod340
293#: selection:l10n.es.aeat.mod340,period:0402#: code:addons/l10n_es_aeat_mod340/account.py:95
294msgid "September"403#, python-format
295msgstr "Septiembre"404msgid "The sign field is different.\n"
405""
406msgstr "El campo signo es diferente.\n"
407""
296408
297#. module: l10n_es_aeat_mod340409#. module: l10n_es_aeat_mod340
298#: selection:l10n.es.aeat.mod340,period:0410#: selection:l10n.es.aeat.mod340,type:0
299msgid "December"411msgid "Normal"
300msgstr "Diciembre"412msgstr "Normal"
301413
302#. module: l10n_es_aeat_mod340414#. module: l10n_es_aeat_mod340
303#: field:l10n.es.aeat.mod340,number:0415#: field:l10n.es.aeat.mod340,number:0
@@ -310,14 +422,14 @@
310msgstr "Cancelado"422msgstr "Cancelado"
311423
312#. module: l10n_es_aeat_mod340424#. module: l10n_es_aeat_mod340
313#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued425#: field:l10n.es.aeat.mod340,calculation_date:0
314msgid "Mod340 vat lines issued"426msgid "Calculation date"
315msgstr "Líneas de impuestos emitidos"427msgstr "Fecha de calculo"
316428
317#. module: l10n_es_aeat_mod340429#. module: l10n_es_aeat_mod340
318#: field:l10n.es.aeat.mod340,total_taxable:0430#: field:account.invoice,number_tickets:0
319msgid "Total Taxable"431msgid "Number of tickets"
320msgstr "Total"432msgstr "Número de tiques"
321433
322#. module: l10n_es_aeat_mod340434#. module: l10n_es_aeat_mod340
323#: view:l10n.es.aeat.mod340:0435#: view:l10n.es.aeat.mod340:0
@@ -325,9 +437,12 @@
325msgstr "Calcular"437msgstr "Calcular"
326438
327#. module: l10n_es_aeat_mod340439#. module: l10n_es_aeat_mod340
328#: field:l10n.es.aeat.mod340,total_sharetax:0440#: code:addons/l10n_es_aeat_mod340/account.py:182
329msgid "Total Share Tax"441#, python-format
330msgstr "Total impuestos"442msgid "Tax code %s: The parent tax code %s can not be set.\n"
443""
444msgstr "Código de impuesto %s: el padre de %s no puede ser guardado.\n"
445""
331446
332#. module: l10n_es_aeat_mod340447#. module: l10n_es_aeat_mod340
333#: selection:l10n.es.aeat.mod340,support_type:0448#: selection:l10n.es.aeat.mod340,support_type:0
@@ -335,19 +450,22 @@
335msgstr "DVD"450msgstr "DVD"
336451
337#. module: l10n_es_aeat_mod340452#. module: l10n_es_aeat_mod340
338#: code:addons/l10n_es_aeat_mod340/mod340.py:65453#: view:l10n.es.aeat.mod340:0
339#, python-format454msgid "In process"
340msgid "No disponible:"455msgstr "En processo"
341msgstr "No disponible:"
342456
343#. module: l10n_es_aeat_mod340457#. module: l10n_es_aeat_mod340
344#: code:addons/l10n_es_aeat_mod340/mod340.py:156458#: code:addons/l10n_es_aeat_mod340/mod340.py:172
345#, python-format459#, python-format
346msgid "All partner state code field must be filled."460msgid "All partner state code field must be filled."
347msgstr "Todos las empresas deben tener provincia."461msgstr "Todos las empresas deben tener provincia."
348462
349#. module: l10n_es_aeat_mod340463#. module: l10n_es_aeat_mod340
350#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340464#: model:ir.module.module,shortdesc:l10n_es_aeat_mod340.module_meta_information
465msgid "Generación de fichero modelo 340 y libro de IVA"
466msgstr "Generación de fichero modelo 340 y libro de IVA"
467
468#. module: l10n_es_aeat_mod340
351#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340469#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
352#: view:l10n.es.aeat.mod340:0470#: view:l10n.es.aeat.mod340:0
353#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0471#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0
@@ -369,28 +487,26 @@
369msgstr "3 - Pasaporte"487msgstr "3 - Pasaporte"
370488
371#. module: l10n_es_aeat_mod340489#. module: l10n_es_aeat_mod340
372#: code:addons/l10n_es_aeat_mod340/mod340.py:158490#: code:addons/l10n_es_aeat_mod340/mod340.py:174
373#, python-format491#, python-format
374msgid "All partner vat number field must be filled."492msgid "All partner vat number field must be filled."
375msgstr "Todas las empresas deben tener CIF/NIF."493msgstr "Todas las empresas deben tener CIF/NIF."
376494
377#. module: l10n_es_aeat_mod340495#. module: l10n_es_aeat_mod340
378#: field:l10n.es.aeat.mod340.intracomunitarias,total:0496#: view:l10n.es.aeat.mod340.issued:0
379#: field:l10n.es.aeat.mod340.investment,total:0497#: view:l10n.es.aeat.mod340.received:0
380#: field:l10n.es.aeat.mod340.issued,total:0498msgid "Total Base"
381#: field:l10n.es.aeat.mod340.received,total:0499msgstr "Total Base"
382msgid "total"500
383msgstr "total"501#. module: l10n_es_aeat_mod340
384502#: field:account.invoice,first_ticket:0
385#. module: l10n_es_aeat_mod340503msgid "First ticket"
386#: selection:l10n.es.aeat.mod340,period:0504msgstr "Primer tique"
387msgid "August"505
388msgstr "Agosto"506#. module: l10n_es_aeat_mod340
389507#: help:account.invoice,is_ticket_summary:0
390#. module: l10n_es_aeat_mod340508msgid "Check if this invoice is a ticket summary"
391#: selection:l10n.es.aeat.mod340,type:0509msgstr "Active si esta factura es un resumen de tiques"
392msgid "Normal"
393msgstr "Normal"
394510
395#. module: l10n_es_aeat_mod340511#. module: l10n_es_aeat_mod340
396#: selection:l10n.es.aeat.mod340,state:0512#: selection:l10n.es.aeat.mod340,state:0
@@ -398,29 +514,24 @@
398msgstr "Procesando"514msgstr "Procesando"
399515
400#. module: l10n_es_aeat_mod340516#. module: l10n_es_aeat_mod340
401#: selection:l10n.es.aeat.mod340,period:0
402msgid "June"
403msgstr "Junio"
404
405#. module: l10n_es_aeat_mod340
406#: field:l10n.es.aeat.mod340,contact_phone:0517#: field:l10n.es.aeat.mod340,contact_phone:0
407msgid "Phone"518msgid "Phone"
408msgstr "Teléfono"519msgstr "Teléfono"
409520
410#. module: l10n_es_aeat_mod340521#. module: l10n_es_aeat_mod340
411#: selection:l10n.es.aeat.mod340,period:0522#: field:account.invoice,last_ticket:0
412msgid "November"523msgid "Last ticket"
413msgstr "Noviembre"524msgstr "Último tique"
414525
415#. module: l10n_es_aeat_mod340526#. module: l10n_es_aeat_mod340
416#: selection:l10n.es.aeat.mod340,period:0527#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_template
417msgid "October"528msgid "account.tax.template"
418msgstr "Octubre"529msgstr "cuenta.impuesto.plantilla"
419530
420#. module: l10n_es_aeat_mod340531#. module: l10n_es_aeat_mod340
421#: selection:l10n.es.aeat.mod340,period:0532#: field:account.invoice,is_ticket_summary:0
422msgid "January"533msgid "Ticket Summary"
423msgstr "Enero"534msgstr "Resumen de tiques"
424535
425#. module: l10n_es_aeat_mod340536#. module: l10n_es_aeat_mod340
426#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0537#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0
@@ -436,6 +547,11 @@
436msgstr "Resumen"547msgstr "Resumen"
437548
438#. module: l10n_es_aeat_mod340549#. module: l10n_es_aeat_mod340
550#: view:l10n.es.aeat.mod340:0
551msgid "Presenter"
552msgstr "Presentador"
553
554#. module: l10n_es_aeat_mod340
439#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records555#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records
440msgid "AEAT Model 340 Wizard - Calculate Records"556msgid "AEAT Model 340 Wizard - Calculate Records"
441msgstr "Modelo 340 - Calcular registros"557msgstr "Modelo 340 - Calcular registros"
@@ -451,6 +567,12 @@
451msgstr "Factudas emitidas"567msgstr "Factudas emitidas"
452568
453#. module: l10n_es_aeat_mod340569#. module: l10n_es_aeat_mod340
570#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
571#, python-format
572msgid "Error"
573msgstr "Error"
574
575#. module: l10n_es_aeat_mod340
454#: field:l10n.es.aeat.mod340,representative_vat:0576#: field:l10n.es.aeat.mod340,representative_vat:0
455#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0577#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
456#: field:l10n.es.aeat.mod340.investment,representative_vat:0578#: field:l10n.es.aeat.mod340.investment,representative_vat:0
@@ -480,11 +602,6 @@
480msgstr "Tipo de documento"602msgstr "Tipo de documento"
481603
482#. module: l10n_es_aeat_mod340604#. module: l10n_es_aeat_mod340
483#: field:l10n.es.aeat.mod340,period:0
484msgid "Period"
485msgstr "Periodo"
486
487#. module: l10n_es_aeat_mod340
488#: view:l10n.es.aeat.mod340:0605#: view:l10n.es.aeat.mod340:0
489msgid "General"606msgid "General"
490msgstr "General"607msgstr "General"
@@ -501,6 +618,7 @@
501msgstr "4 - Documento oficial de identificación expedido por el país"618msgstr "4 - Documento oficial de identificación expedido por el país"
502619
503#. module: l10n_es_aeat_mod340620#. module: l10n_es_aeat_mod340
621#: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice
504#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0622#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0
505#: field:l10n.es.aeat.mod340.investment,invoice_id:0623#: field:l10n.es.aeat.mod340.investment,invoice_id:0
506#: field:l10n.es.aeat.mod340.issued,invoice_id:0624#: field:l10n.es.aeat.mod340.issued,invoice_id:0
@@ -519,16 +637,12 @@
519msgstr "Recalcular"637msgstr "Recalcular"
520638
521#. module: l10n_es_aeat_mod340639#. module: l10n_es_aeat_mod340
522#: selection:l10n.es.aeat.mod340,period:0
523msgid "Fourth quarter"
524msgstr "Cuarto trimestre"
525
526#. module: l10n_es_aeat_mod340
527#: selection:res.partner,vat_type:0640#: selection:res.partner,vat_type:0
528msgid "5 - Certificado de residencia fiscal"641msgid "5 - Certificado de residencia fiscal"
529msgstr "5 - Certificado de residencia fiscal"642msgstr "5 - Certificado de residencia fiscal"
530643
531#. module: l10n_es_aeat_mod340644#. module: l10n_es_aeat_mod340
645#: view:account.invoice:0
532#: view:l10n.es.aeat.mod340:0646#: view:l10n.es.aeat.mod340:0
533msgid "AEAT 340"647msgid "AEAT 340"
534msgstr "AEAT 340"648msgstr "AEAT 340"
@@ -555,9 +669,10 @@
555msgstr "Modelo AEAT 340"669msgstr "Modelo AEAT 340"
556670
557#. module: l10n_es_aeat_mod340671#. module: l10n_es_aeat_mod340
558#: selection:l10n.es.aeat.mod340,period:0672#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
559msgid "May"673#, python-format
560msgstr "Mayo"674msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
675msgstr "Factura %s, La cantidad de lineas sin impuesto %.2f no corresponde con la cantidad sin impuestos en la factura %.2f"
561676
562#. module: l10n_es_aeat_mod340677#. module: l10n_es_aeat_mod340
563#: help:res.partner,vat_type:0678#: help:res.partner,vat_type:0
@@ -570,7 +685,7 @@
570#: help:l10n.es.aeat.mod340,total_sharetax:0685#: help:l10n.es.aeat.mod340,total_sharetax:0
571#: help:l10n.es.aeat.mod340,total_taxable:0686#: help:l10n.es.aeat.mod340,total_taxable:0
572msgid "The declaration will include partners with the total of operations over this limit"687msgid "The declaration will include partners with the total of operations over this limit"
573msgstr "The declaration will include partners with the total of operations over this limit"688msgstr "La declaración incluye las empresas que no superen este limite"
574689
575#. module: l10n_es_aeat_mod340690#. module: l10n_es_aeat_mod340
576#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0691#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
@@ -594,7 +709,7 @@
594#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment709#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment
595#: field:l10n.es.aeat.mod340,investment:0710#: field:l10n.es.aeat.mod340,investment:0
596msgid "Property Investment"711msgid "Property Investment"
597msgstr "Property Investment"712msgstr "Inmobilizado"
598713
599#. module: l10n_es_aeat_mod340714#. module: l10n_es_aeat_mod340
600#: field:l10n.es.aeat.mod340,name_contact:0715#: field:l10n.es.aeat.mod340,name_contact:0
@@ -602,11 +717,6 @@
602msgstr "Nombre y apellido de contacto"717msgstr "Nombre y apellido de contacto"
603718
604#. module: l10n_es_aeat_mod340719#. module: l10n_es_aeat_mod340
605#: selection:l10n.es.aeat.mod340,period:0
606msgid "February"
607msgstr "Febrero"
608
609#. module: l10n_es_aeat_mod340
610#: field:l10n.es.aeat.mod340,name:0720#: field:l10n.es.aeat.mod340,name:0
611#: field:l10n.es.aeat.mod340.tax_line_issued,name:0721#: field:l10n.es.aeat.mod340.tax_line_issued,name:0
612#: field:l10n.es.aeat.mod340.tax_line_received,name:0722#: field:l10n.es.aeat.mod340.tax_line_received,name:0
@@ -619,11 +729,6 @@
619msgstr "Facturas recibidas"729msgstr "Facturas recibidas"
620730
621#. module: l10n_es_aeat_mod340731#. module: l10n_es_aeat_mod340
622#: selection:l10n.es.aeat.mod340,period:0
623msgid "April"
624msgstr "Abril"
625
626#. module: l10n_es_aeat_mod340
627#: view:l10n.es.aeat.mod340:0732#: view:l10n.es.aeat.mod340:0
628#: field:l10n.es.aeat.mod340,fiscalyear_id:0733#: field:l10n.es.aeat.mod340,fiscalyear_id:0
629msgid "Fiscal Year"734msgid "Fiscal Year"
@@ -636,6 +741,14 @@
636msgstr "Facturas recibidas"741msgstr "Facturas recibidas"
637742
638#. module: l10n_es_aeat_mod340743#. module: l10n_es_aeat_mod340
744#: code:addons/l10n_es_aeat_mod340/account.py:92
745#, python-format
746msgid "The info field is different.\n"
747""
748msgstr "El campo descripción es diferente.\n"
749""
750
751#. module: l10n_es_aeat_mod340
639#: selection:l10n.es.aeat.mod340,support_type:0752#: selection:l10n.es.aeat.mod340,support_type:0
640msgid "Telematics"753msgid "Telematics"
641msgstr "Telemática"754msgstr "Telemática"
@@ -646,53 +759,34 @@
646msgstr "Clave tipo de NIF"759msgstr "Clave tipo de NIF"
647760
648#. module: l10n_es_aeat_mod340761#. module: l10n_es_aeat_mod340
649#: selection:l10n.es.aeat.mod340,period:0762#: constraint:account.invoice:0
650msgid "Second quarter"763msgid "Invoice date is previous to an existing invoice."
651msgstr "Segundo trimestre"764msgstr "La fecha de la factura es anterior a una factura existente."
652765
653#. module: l10n_es_aeat_mod340766#. module: l10n_es_aeat_mod340
654#: selection:l10n.es.aeat.mod340,type:0767#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
655msgid "Complementary"768msgid "wizard.update.charts.accounts"
656msgstr "Complementaria"769msgstr "wizard.update.charts.accounts"
657
658#. module: l10n_es_aeat_mod340
659#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
660#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
661#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
662msgid "tax lines"
663msgstr "líneas de impuestos"
664770
665#. module: l10n_es_aeat_mod340771#. module: l10n_es_aeat_mod340
666#: field:l10n.es.aeat.mod340,total:0772#: field:l10n.es.aeat.mod340,total:0
773#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
774#: field:l10n.es.aeat.mod340.investment,total:0
775#: view:l10n.es.aeat.mod340.issued:0
776#: field:l10n.es.aeat.mod340.issued,total:0
777#: view:l10n.es.aeat.mod340.received:0
778#: field:l10n.es.aeat.mod340.received,total:0
667msgid "Total"779msgid "Total"
668msgstr "Total"780msgstr "Total"
669781
670#. module: l10n_es_aeat_mod340782#. module: l10n_es_aeat_mod340
671#: field:account.invoice,number_tickets:0
672msgid "Number of tickets"
673msgstr "Número de tiques"
674
675#. module: l10n_es_aeat_mod340
676#: field:account.invoice,first_ticket:0
677msgid "First ticket"
678msgstr "Primer tique"
679
680#. module: l10n_es_aeat_mod340
681#: help:account.invoice,is_ticket_summary:0
682msgid "Check if this invoice is a ticket summary"
683msgstr "Active si esta factura es un resumen de tiques"
684
685#. module: l10n_es_aeat_mod340
686#: field:account.invoice,last_ticket:0
687msgid "Last ticket"
688msgstr "Último tique"
689
690#. module: l10n_es_aeat_mod340
691#: field:account.invoice,is_ticket_summary:0
692msgid "Ticket Summary"
693msgstr "Resumen de tiques"
694
695#. module: account
696#: view:account.invoice:0
697msgid "Tickets"
698msgstr "Tiques"
699\ No newline at end of file783\ No newline at end of file
784#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
785msgid "Tax Code Template"
786msgstr "Plantilla códigos de impuestos"
787
788#. module: l10n_es_aeat_mod340
789#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
790#, python-format
791msgid "La siguiente empresa no tiene asignado nif:"
792msgstr "La siguiente empresa no tiene asignado nif:"
793
700794
=== modified file 'l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot'
--- l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2012-02-23 22:09:13 +0000
+++ l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2013-05-17 16:51:41 +0000
@@ -1,271 +1,356 @@
1# Translation of OpenERP Server.1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod3403# * l10n_es_aeat_mod340
4#4#
5msgid ""5msgid ""
6msgstr ""6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.2\n"7"Project-Id-Version: OpenERP Server 6.0.3\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"8"Report-Msgid-Bugs-To: support@openerp.com\n"
9"POT-Creation-Date: 2012-01-30 10:57+0000\n"9"POT-Creation-Date: 2013-05-15 17:41+0000\n"
10"PO-Revision-Date: 2012-01-30 10:57+0000\n"10"PO-Revision-Date: 2013-05-15 17:41+0000\n"
11"Last-Translator: <>\n"
11"Language-Team: \n"12"Language-Team: \n"
12"MIME-Version: 1.0\n"13"MIME-Version: 1.0\n"
13"Content-Type: text/plain; charset=UTF-8\n"14"Content-Type: text/plain; charset=UTF-8\n"
14"Content-Transfer-Encoding: 8bit\n"15"Content-Transfer-Encoding: \n"
15"Plural-Forms: \n"16"Plural-Forms: \n"
1617
17#. module: l10n_es_aeat_mod34018#. module: l10n_es_aeat_mod340
18#: selection:l10n.es.aeat.mod340,period:0
19msgid "Third quarter"
20msgstr "Tercer trimestre"
21
22#. module: l10n_es_aeat_mod340
23#: view:l10n.es.aeat.mod340.issued:019#: view:l10n.es.aeat.mod340.issued:0
24msgid "Issued invoices"20msgid "Issued invoices"
25msgstr "Facturas emitidas"21msgstr ""
2622
27#. module: l10n_es_aeat_mod34023#. module: l10n_es_aeat_mod340
28#: code:addons/l10n_es_aeat_mod340/mod340.py:16224#: code:addons/l10n_es_aeat_mod340/mod340.py:178
29#, python-format25#, python-format
30msgid "All real state records state code field must be filled."26msgid "All real state records state code field must be filled."
31msgstr "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."27msgstr ""
3228
33#. module: l10n_es_aeat_mod34029#. module: l10n_es_aeat_mod340
34#: code:addons/l10n_es_aeat_mod340/mod340.py:6530#: code:addons/l10n_es_aeat_mod340/account.py:89
35#, python-format31#, python-format
36msgid "En desarrollo"32msgid "The code field is different.\n"
37msgstr "En desarrollo"33""
3834msgstr ""
39#. module: l10n_es_aeat_mod34035
40#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:036#. module: l10n_es_aeat_mod340
41#: field:l10n.es.aeat.mod340.investment,amount_tax:037#: field:l10n.es.aeat.mod340,total_taxable:0
42#: field:l10n.es.aeat.mod340.issued,amount_tax:038msgid "Total Taxable"
43#: field:l10n.es.aeat.mod340.received,amount_tax:039msgstr ""
44msgid "amount of the tax"40
45msgstr "cantidad de impuestos"41#. module: l10n_es_aeat_mod340
4642#: code:addons/l10n_es_aeat_mod340/account.py:158
47#. module: l10n_es_aeat_mod34043#, python-format
48#: selection:l10n.es.aeat.mod340,period:044msgid "Created tax code %s.\n"
49msgid "March"45""
50msgstr "Marzo"46msgstr ""
5147
52#. module: l10n_es_aeat_mod34048#. module: l10n_es_aeat_mod340
53#: view:l10n.es.aeat.mod340:049#: view:l10n.es.aeat.mod340:0
54msgid "Susbtitutive/complementary declaration"50msgid "Susbtitutive/complementary declaration"
55msgstr "Declaración sustitutiva/complementaría"51msgstr ""
5652
57#. module: l10n_es_aeat_mod34053#. module: l10n_es_aeat_mod340
58#: view:l10n.es.aeat.mod340:054#: view:l10n.es.aeat.mod340:0
59#: field:l10n.es.aeat.mod340,company_id:055#: field:l10n.es.aeat.mod340,company_id:0
60msgid "Company"56msgid "Company"
61msgstr "Compañia"57msgstr ""
58
59#. module: l10n_es_aeat_mod340
60#: field:l10n.es.aeat.mod340,total_sharetax:0
61msgid "Total Share Tax"
62msgstr ""
6263
63#. module: l10n_es_aeat_mod34064#. module: l10n_es_aeat_mod340
64#: field:l10n.es.aeat.mod340,number_records:065#: field:l10n.es.aeat.mod340,number_records:0
65msgid "Records"66msgid "Records"
66msgstr "Registros"67msgstr ""
6768
68#. module: l10n_es_aeat_mod34069#. module: l10n_es_aeat_mod340
69#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:27070#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:361
70#, python-format71#, python-format
71msgid "The type 2 received record must be 500 characters long for each Vat registry"72msgid "The type 2 received record must be 500 characters long for each Vat registry"
72msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"73msgstr ""
7374
74#. module: l10n_es_aeat_mod34075#. module: l10n_es_aeat_mod340
75#: selection:l10n.es.aeat.mod340,type:076#: selection:l10n.es.aeat.mod340,type:0
76msgid "Substitutive"77msgid "Substitutive"
77msgstr "Substitutiva"78msgstr ""
7879
79#. module: l10n_es_aeat_mod34080#. module: l10n_es_aeat_mod340
80#: field:l10n.es.aeat.mod340,phone_contact:081#: field:l10n.es.aeat.mod340,phone_contact:0
81msgid "Phone Contact"82msgid "Phone Contact"
82msgstr "Teléfono de contacto"83msgstr ""
8384
84#. module: l10n_es_aeat_mod34085#. module: l10n_es_aeat_mod340
86#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
87#: field:l10n.es.aeat.mod340.investment,base_tax:0
88#: field:l10n.es.aeat.mod340.issued,base_tax:0
89#: field:l10n.es.aeat.mod340.received,base_tax:0
85#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:090#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0
86#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:091#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0
87msgid "Base tax bill"92msgid "Base tax bill"
88msgstr "Base imponible"93msgstr ""
94
95#. module: l10n_es_aeat_mod340
96#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
97msgid "Tax Code"
98msgstr ""
8999
90#. module: l10n_es_aeat_mod340100#. module: l10n_es_aeat_mod340
91#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report101#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
92msgid "Create and query AEAT Model 340 Reports"102msgid "Create and query AEAT Model 340 Reports"
93msgstr "Crear informe del Model AEAT 340"103msgstr ""
94104
95#. module: l10n_es_aeat_mod340105#. module: l10n_es_aeat_mod340
96#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92106#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:157
97#, python-format107#, python-format
98msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"108msgid "The period hasn't a valid Mod340 period"
99msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:"109msgstr ""
100110
101#. module: l10n_es_aeat_mod340111#. module: l10n_es_aeat_mod340
102#: view:l10n.es.aeat.mod340:0112#: field:account.tax.code,mod340:0
103msgid "In process"113#: field:account.tax.code.template,mod340:0
104msgstr "En processo"114msgid "Include in mod340"
105115msgstr ""
106#. module: l10n_es_aeat_mod340116
117#. module: l10n_es_aeat_mod340
118#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
119#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
120#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
107#: field:l10n.es.aeat.mod340.received,tax_line_ids:0121#: field:l10n.es.aeat.mod340.received,tax_line_ids:0
108msgid "Tax lines"122msgid "Tax lines"
109msgstr "Líneas de impuestos"123msgstr ""
110124
111#. module: l10n_es_aeat_mod340125#. module: l10n_es_aeat_mod340
112#: code:addons/l10n_es_aeat_mod340/mod340.py:156126#: code:addons/l10n_es_aeat_mod340/mod340.py:172
113#: code:addons/l10n_es_aeat_mod340/mod340.py:158127#: code:addons/l10n_es_aeat_mod340/mod340.py:174
114#: code:addons/l10n_es_aeat_mod340/mod340.py:162128#: code:addons/l10n_es_aeat_mod340/mod340.py:178
115#, python-format129#, python-format
116msgid "Error!"130msgid "Error!"
117msgstr "Error!"131msgstr ""
118132
119#. module: l10n_es_aeat_mod340133#. module: l10n_es_aeat_mod340
120#: view:l10n.es.aeat.mod340:0134#: view:l10n.es.aeat.mod340:0
121msgid "Cancelled"135msgid "Cancelled"
122msgstr "Cancelado"136msgstr ""
123137
124#. module: l10n_es_aeat_mod340138#. module: l10n_es_aeat_mod340
125#: selection:res.partner,vat_type:0139#: selection:res.partner,vat_type:0
126msgid "6 - Otro documento probatorio"140msgid "6 - Otro documento probatorio"
127msgstr "6 - Otro documento probatorio"141msgstr ""
128142
129#. module: l10n_es_aeat_mod340143#. module: l10n_es_aeat_mod340
130#: field:l10n.es.aeat.mod340,company_vat:0144#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:275
131msgid "VAT number"
132msgstr "CIF/NIF"
133
134#. module: l10n_es_aeat_mod340
135#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184
136#, python-format145#, python-format
137msgid "The type 2 issued record must be 500 characters long for each Vat registry"146msgid "The type 2 issued record must be 500 characters long for each Vat registry"
138msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"147msgstr ""
148
149#. module: l10n_es_aeat_mod340
150#: selection:l10n.es.aeat.mod340,type:0
151msgid "Complementary"
152msgstr ""
153
154#. module: l10n_es_aeat_mod340
155#: field:l10n.es.aeat.mod340,period_from:0
156msgid "Start period"
157msgstr ""
158
159#. module: l10n_es_aeat_mod340
160#: constraint:account.tax.code:0
161msgid "Error ! You can not create recursive accounts."
162msgstr ""
163
164#. module: l10n_es_aeat_mod340
165#: code:addons/l10n_es_aeat_mod340/account.py:167
166#, python-format
167msgid "Updated tax code %s.\n"
168""
169msgstr ""
139170
140#. module: l10n_es_aeat_mod340171#. module: l10n_es_aeat_mod340
141#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias172#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
142#: field:l10n.es.aeat.mod340,intracomunitarias:0173#: field:l10n.es.aeat.mod340,intracomunitarias:0
143msgid "Operations Intracomunitarias"174msgid "Operations Intracomunitarias"
144msgstr "Operaciones intracomunitarias"175msgstr ""
145176
146#. module: l10n_es_aeat_mod340177#. module: l10n_es_aeat_mod340
147#: field:l10n.es.aeat.mod340.tax_line_issued,tax_amount:0178#: field:l10n.es.aeat.mod340.tax_line_issued,tax_amount:0
148#: field:l10n.es.aeat.mod340.tax_line_received,tax_amount:0179#: field:l10n.es.aeat.mod340.tax_line_received,tax_amount:0
149msgid "Tax amount"180msgid "Tax amount"
150msgstr "Impuestos"181msgstr ""
151182
152#. module: l10n_es_aeat_mod340183#. module: l10n_es_aeat_mod340
153#: view:l10n.es.aeat.mod340:0184#: view:l10n.es.aeat.mod340:0
154#: field:l10n.es.aeat.mod340,ean13:0185#: field:l10n.es.aeat.mod340,ean13:0
155msgid "Electronic Code VAT reverse charge"186msgid "Electronic Code VAT reverse charge"
156msgstr "Electronic Code VAT reverse charge"187msgstr ""
188
189#. module: l10n_es_aeat_mod340
190#: field:l10n.es.aeat.mod340,period_to:0
191msgid "End period"
192msgstr ""
193
194#. module: l10n_es_aeat_mod340
195#: code:addons/l10n_es_aeat_mod340/account.py:98
196#, python-format
197msgid "The Mod 340 field is different.\n"
198""
199msgstr ""
157200
158#. module: l10n_es_aeat_mod340201#. module: l10n_es_aeat_mod340
159#: view:l10n.es.aeat.mod340:0202#: view:l10n.es.aeat.mod340:0
160msgid "Identification"203msgid "Identification"
161msgstr "Identificación"204msgstr ""
205
206#. module: l10n_es_aeat_mod340
207#: view:l10n.es.aeat.mod340.issued:0
208#: view:l10n.es.aeat.mod340.received:0
209msgid "Total Tax"
210msgstr ""
162211
163#. module: l10n_es_aeat_mod340212#. module: l10n_es_aeat_mod340
164#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action213#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
165msgid "mod340 report"214msgid "mod340 report"
166msgstr "mod340 report"215msgstr ""
167216
168#. module: l10n_es_aeat_mod340217#. module: l10n_es_aeat_mod340
169#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued218#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued
170msgid "Invoices invoice"219msgid "Invoices invoice"
171msgstr "Facturas"220msgstr ""
172221
173#. module: l10n_es_aeat_mod340222#. module: l10n_es_aeat_mod340
174#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65223#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:96
175#, python-format224#, python-format
176msgid "This company dont have NIF"225msgid "The type 0 record must be 500 characters long"
177msgstr "Esta compañía no tiene CIF/NIF"226msgstr ""
178227
179#. module: l10n_es_aeat_mod340228#. module: l10n_es_aeat_mod340
180#: view:l10n.es.aeat.mod340:0229#: view:l10n.es.aeat.mod340:0
181msgid "Confirm"230msgid "Confirm"
182msgstr "Confirmar"231msgstr ""
183232
184#. module: l10n_es_aeat_mod340233#. module: l10n_es_aeat_mod340
185#: selection:res.partner,vat_type:0234#: selection:res.partner,vat_type:0
186msgid "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"235msgid "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
187msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"236msgstr ""
188237
189#. module: l10n_es_aeat_mod340238#. module: l10n_es_aeat_mod340
190#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306239#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406
191#, python-format240#, python-format
192msgid "340_report_%s.txt"241msgid "340_report_%s.txt"
193msgstr "340_report_%s.txt"242msgstr ""
194243
195#. module: l10n_es_aeat_mod340244#. module: l10n_es_aeat_mod340
196#: field:l10n.es.aeat.mod340,state:0245#: field:l10n.es.aeat.mod340,state:0
197msgid "State"246msgid "State"
198msgstr "Estado"247msgstr ""
199
200#. module: l10n_es_aeat_mod340
201#: selection:l10n.es.aeat.mod340,period:0
202msgid "First quarter"
203msgstr "Pirmer trimestre"
204248
205#. module: l10n_es_aeat_mod340249#. module: l10n_es_aeat_mod340
206#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report250#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
207msgid "AEAT 340 Model"251msgid "AEAT 340 Model"
208msgstr "Modelo AEAT 340"252msgstr ""
209253
210#. module: l10n_es_aeat_mod340254#. module: l10n_es_aeat_mod340
211#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0255#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
212#: help:l10n.es.aeat.mod340.investment,representative_vat:0256#: field:l10n.es.aeat.mod340.investment,amount_tax:0
213#: help:l10n.es.aeat.mod340.issued,representative_vat:0257#: field:l10n.es.aeat.mod340.issued,amount_tax:0
214#: help:l10n.es.aeat.mod340.received,representative_vat:0258#: field:l10n.es.aeat.mod340.received,amount_tax:0
215msgid "Legal Representative VAT number"259msgid "Total tax"
216msgstr "CIF/NIF del representante legal"260msgstr ""
261
262#. module: l10n_es_aeat_mod340
263#: model:ir.module.module,description:l10n_es_aeat_mod340.module_meta_information
264msgid "\n"
265"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
266"\n"
267"Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse.\n"
268"Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable\n"
269"\n"
270"Búsqueda de facturas emitidas y recibidas.\n"
271"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
272"Exportación de facturas con varios tipos impositivos. Clave de operación C.\n"
273"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial.\n"
274"Facturas rectificativas.\n"
275"Facturas resumen de tiques.\n"
276"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
277"\n"
278"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
279"\n"
280"Facturas bienes de inversión\n"
281"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
282"Asientos contables de resumen de tiques\n"
283"Exportación de asientos resumen de facturas\n"
284""
285msgstr ""
217286
218#. module: l10n_es_aeat_mod340287#. module: l10n_es_aeat_mod340
219#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340288#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340
220msgid "Modelo 340"289msgid "Modelo 340"
221msgstr "Modelo 340"290msgstr ""
222291
223#. module: l10n_es_aeat_mod340292#. module: l10n_es_aeat_mod340
224#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_received293#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_received
225msgid "Mod340 vat lines received"294msgid "Mod340 vat lines received"
226msgstr "Línea de impuestos recibidas"295msgstr ""
227296
228#. module: l10n_es_aeat_mod340297#. module: l10n_es_aeat_mod340
229#: field:l10n.es.aeat.mod340,support_type:0298#: field:l10n.es.aeat.mod340,support_type:0
230msgid "Support Type"299msgid "Support Type"
231msgstr "Tipo de soporte"300msgstr ""
232301
233#. module: l10n_es_aeat_mod340302#. module: l10n_es_aeat_mod340
234#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306303#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406
235#, python-format304#, python-format
236msgid "%Y-%m-%d"305msgid "%Y-%m-%d"
237msgstr "%d-%m-%Y"306msgstr ""
238307
239#. module: l10n_es_aeat_mod340308#. module: l10n_es_aeat_mod340
240#: view:l10n.es.aeat.mod340:0309#: view:l10n.es.aeat.mod340:0
241msgid "Export to BOE"310msgid "Export to BOE"
242msgstr "Exportar al BOE"311msgstr ""
243312
244#. module: l10n_es_aeat_mod340313#. module: l10n_es_aeat_mod340
245#: selection:l10n.es.aeat.mod340,period:0314#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
246msgid "July"315#, python-format
247msgstr "Julio"316msgid "The periods selected don't belong to the fiscal year %s"
317msgstr ""
318
319#. module: l10n_es_aeat_mod340
320#: constraint:account.tax.code.template:0
321msgid "Error ! You can not create recursive Tax Codes."
322msgstr ""
323
324#. module: l10n_es_aeat_mod340
325#: field:l10n.es.aeat.mod340,company_vat:0
326msgid "VAT number"
327msgstr ""
328
329#. module: l10n_es_aeat_mod340
330#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax
331msgid "account.tax"
332msgstr ""
248333
249#. module: l10n_es_aeat_mod340334#. module: l10n_es_aeat_mod340
250#: selection:res.partner,vat_type:0335#: selection:res.partner,vat_type:0
251msgid "1 - Corresponde a un NIF"336msgid "1 - Corresponde a un NIF"
252msgstr "1 - Corresponde a un NIF"337msgstr ""
253338
254#. module: l10n_es_aeat_mod340339#. module: l10n_es_aeat_mod340
255#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_export_to_boe340#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_export_to_boe
256msgid "Export AEAT Model 340 to BOE format"341msgid "Export AEAT Model 340 to BOE format"
257msgstr "Exportar Modelo AEAT 340 al formato del BOE"342msgstr ""
258343
259#. module: l10n_es_aeat_mod340344#. module: l10n_es_aeat_mod340
260#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92345#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:170
261#, python-format346#, python-format
262msgid "The type 1 record must be 500 characters long"347msgid "The type 1 record must be 500 characters long"
263msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"348msgstr ""
264349
265#. module: l10n_es_aeat_mod340350#. module: l10n_es_aeat_mod340
266#: field:l10n.es.aeat.mod340,calculation_date:0351#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
267msgid "Calculation date"352msgid "Mod340 vat lines issued"
268msgstr "Fecha de calculo"353msgstr ""
269354
270#. module: l10n_es_aeat_mod340355#. module: l10n_es_aeat_mod340
271#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner356#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner
@@ -274,80 +359,79 @@
274#: field:l10n.es.aeat.mod340.issued,partner_id:0359#: field:l10n.es.aeat.mod340.issued,partner_id:0
275#: field:l10n.es.aeat.mod340.received,partner_id:0360#: field:l10n.es.aeat.mod340.received,partner_id:0
276msgid "Partner"361msgid "Partner"
277msgstr "Empresa"362msgstr ""
278
279#. module: l10n_es_aeat_mod340
280#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
281#: field:l10n.es.aeat.mod340.investment,base_tax:0
282#: field:l10n.es.aeat.mod340.issued,base_tax:0
283#: field:l10n.es.aeat.mod340.received,base_tax:0
284msgid "base tax bill"
285msgstr "Base imponible"
286363
287#. module: l10n_es_aeat_mod340364#. module: l10n_es_aeat_mod340
288#: view:l10n.es.aeat.mod340.tax_line_received:0365#: view:l10n.es.aeat.mod340.tax_line_received:0
289msgid "Tax line received"366msgid "Tax line received"
290msgstr "Líneas de impuestos recibidos"367msgstr ""
291368
292#. module: l10n_es_aeat_mod340369#. module: l10n_es_aeat_mod340
293#: selection:l10n.es.aeat.mod340,period:0370#: code:addons/l10n_es_aeat_mod340/account.py:95
294msgid "September"371#, python-format
295msgstr "Septiembre"372msgid "The sign field is different.\n"
296373""
297#. module: l10n_es_aeat_mod340374msgstr ""
298#: selection:l10n.es.aeat.mod340,period:0375
299msgid "December"376#. module: l10n_es_aeat_mod340
300msgstr "Diciembre"377#: selection:l10n.es.aeat.mod340,type:0
378msgid "Normal"
379msgstr ""
301380
302#. module: l10n_es_aeat_mod340381#. module: l10n_es_aeat_mod340
303#: field:l10n.es.aeat.mod340,number:0382#: field:l10n.es.aeat.mod340,number:0
304msgid "Declaration Number"383msgid "Declaration Number"
305msgstr "Número de declaración"384msgstr ""
306385
307#. module: l10n_es_aeat_mod340386#. module: l10n_es_aeat_mod340
308#: selection:l10n.es.aeat.mod340,state:0387#: selection:l10n.es.aeat.mod340,state:0
309msgid "Canceled"388msgid "Canceled"
310msgstr "Cancelado"389msgstr ""
311390
312#. module: l10n_es_aeat_mod340391#. module: l10n_es_aeat_mod340
313#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued392#: field:l10n.es.aeat.mod340,calculation_date:0
314msgid "Mod340 vat lines issued"393msgid "Calculation date"
315msgstr "Líneas de impuestos emitidos"394msgstr ""
316395
317#. module: l10n_es_aeat_mod340396#. module: l10n_es_aeat_mod340
318#: field:l10n.es.aeat.mod340,total_taxable:0397#: field:account.invoice,number_tickets:0
319msgid "Total Taxable"398msgid "Number of tickets"
320msgstr "Total"399msgstr ""
321400
322#. module: l10n_es_aeat_mod340401#. module: l10n_es_aeat_mod340
323#: view:l10n.es.aeat.mod340:0402#: view:l10n.es.aeat.mod340:0
324msgid "Calculate"403msgid "Calculate"
325msgstr "Calcular"404msgstr ""
326405
327#. module: l10n_es_aeat_mod340406#. module: l10n_es_aeat_mod340
328#: field:l10n.es.aeat.mod340,total_sharetax:0407#: code:addons/l10n_es_aeat_mod340/account.py:182
329msgid "Total Share Tax"408#, python-format
330msgstr "Total impuestos"409msgid "Tax code %s: The parent tax code %s can not be set.\n"
410""
411msgstr ""
331412
332#. module: l10n_es_aeat_mod340413#. module: l10n_es_aeat_mod340
333#: selection:l10n.es.aeat.mod340,support_type:0414#: selection:l10n.es.aeat.mod340,support_type:0
334msgid "DVD"415msgid "DVD"
335msgstr "DVD"416msgstr ""
336417
337#. module: l10n_es_aeat_mod340418#. module: l10n_es_aeat_mod340
338#: code:addons/l10n_es_aeat_mod340/mod340.py:65419#: view:l10n.es.aeat.mod340:0
339#, python-format420msgid "In process"
340msgid "No disponible:"421msgstr ""
341msgstr "No disponible:"422
342423#. module: l10n_es_aeat_mod340
343#. module: l10n_es_aeat_mod340424#: code:addons/l10n_es_aeat_mod340/mod340.py:172
344#: code:addons/l10n_es_aeat_mod340/mod340.py:156
345#, python-format425#, python-format
346msgid "All partner state code field must be filled."426msgid "All partner state code field must be filled."
347msgstr "Todos las empresas deben tener provincia."427msgstr ""
348428
349#. module: l10n_es_aeat_mod340429#. module: l10n_es_aeat_mod340
350#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340430#: model:ir.module.module,shortdesc:l10n_es_aeat_mod340.module_meta_information
431msgid "Generación de fichero modelo 340 y libro de IVA"
432msgstr ""
433
434#. module: l10n_es_aeat_mod340
351#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340435#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
352#: view:l10n.es.aeat.mod340:0436#: view:l10n.es.aeat.mod340:0
353#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0437#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0
@@ -355,72 +439,71 @@
355#: field:l10n.es.aeat.mod340.issued,mod340_id:0439#: field:l10n.es.aeat.mod340.issued,mod340_id:0
356#: field:l10n.es.aeat.mod340.received,mod340_id:0440#: field:l10n.es.aeat.mod340.received,mod340_id:0
357msgid "Model 340"441msgid "Model 340"
358msgstr "Modelo 340"442msgstr ""
359443
360#. module: l10n_es_aeat_mod340444#. module: l10n_es_aeat_mod340
361#: view:l10n.es.aeat.mod340:0445#: view:l10n.es.aeat.mod340:0
362#: selection:l10n.es.aeat.mod340,state:0446#: selection:l10n.es.aeat.mod340,state:0
363msgid "Draft"447msgid "Draft"
364msgstr "Borrador"448msgstr ""
365449
366#. module: l10n_es_aeat_mod340450#. module: l10n_es_aeat_mod340
367#: selection:res.partner,vat_type:0451#: selection:res.partner,vat_type:0
368msgid "3 - Pasaporte"452msgid "3 - Pasaporte"
369msgstr "3 - Pasaporte"453msgstr ""
370454
371#. module: l10n_es_aeat_mod340455#. module: l10n_es_aeat_mod340
372#: code:addons/l10n_es_aeat_mod340/mod340.py:158456#: code:addons/l10n_es_aeat_mod340/mod340.py:174
373#, python-format457#, python-format
374msgid "All partner vat number field must be filled."458msgid "All partner vat number field must be filled."
375msgstr "Todas las empresas deben tener CIF/NIF."459msgstr ""
376460
377#. module: l10n_es_aeat_mod340461#. module: l10n_es_aeat_mod340
378#: field:l10n.es.aeat.mod340.intracomunitarias,total:0462#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64
379#: field:l10n.es.aeat.mod340.investment,total:0463#, python-format
380#: field:l10n.es.aeat.mod340.issued,total:0464msgid "This company dont have NIF"
381#: field:l10n.es.aeat.mod340.received,total:0465msgstr ""
382msgid "total"466
383msgstr "total"467#. module: l10n_es_aeat_mod340
384468#: view:l10n.es.aeat.mod340.issued:0
385#. module: l10n_es_aeat_mod340469#: view:l10n.es.aeat.mod340.received:0
386#: selection:l10n.es.aeat.mod340,period:0470msgid "Total Base"
387msgid "August"471msgstr ""
388msgstr "Agosto"472
389473#. module: l10n_es_aeat_mod340
390#. module: l10n_es_aeat_mod340474#: field:account.invoice,first_ticket:0
391#: selection:l10n.es.aeat.mod340,type:0475msgid "First ticket"
392msgid "Normal"476msgstr ""
393msgstr "Normal"477
478#. module: l10n_es_aeat_mod340
479#: help:account.invoice,is_ticket_summary:0
480msgid "Check if this invoice is a ticket summary"
481msgstr ""
394482
395#. module: l10n_es_aeat_mod340483#. module: l10n_es_aeat_mod340
396#: selection:l10n.es.aeat.mod340,state:0484#: selection:l10n.es.aeat.mod340,state:0
397msgid "Processing"485msgid "Processing"
398msgstr "Procesando"486msgstr ""
399
400#. module: l10n_es_aeat_mod340
401#: selection:l10n.es.aeat.mod340,period:0
402msgid "June"
403msgstr "Junio"
404487
405#. module: l10n_es_aeat_mod340488#. module: l10n_es_aeat_mod340
406#: field:l10n.es.aeat.mod340,contact_phone:0489#: field:l10n.es.aeat.mod340,contact_phone:0
407msgid "Phone"490msgid "Phone"
408msgstr "Teléfono"491msgstr ""
409492
410#. module: l10n_es_aeat_mod340493#. module: l10n_es_aeat_mod340
411#: selection:l10n.es.aeat.mod340,period:0494#: field:account.invoice,last_ticket:0
412msgid "November"495msgid "Last ticket"
413msgstr "Noviembre"496msgstr ""
414497
415#. module: l10n_es_aeat_mod340498#. module: l10n_es_aeat_mod340
416#: selection:l10n.es.aeat.mod340,period:0499#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_template
417msgid "October"500msgid "account.tax.template"
418msgstr "Octubre"501msgstr ""
419502
420#. module: l10n_es_aeat_mod340503#. module: l10n_es_aeat_mod340
421#: selection:l10n.es.aeat.mod340,period:0504#: field:account.invoice,is_ticket_summary:0
422msgid "January"505msgid "Ticket Summary"
423msgstr "Enero"506msgstr ""
424507
425#. module: l10n_es_aeat_mod340508#. module: l10n_es_aeat_mod340
426#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0509#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0
@@ -428,27 +511,38 @@
428#: field:l10n.es.aeat.mod340.issued,partner_country_code:0511#: field:l10n.es.aeat.mod340.issued,partner_country_code:0
429#: field:l10n.es.aeat.mod340.received,partner_country_code:0512#: field:l10n.es.aeat.mod340.received,partner_country_code:0
430msgid "Country Code"513msgid "Country Code"
431msgstr "Código del país"514msgstr ""
432515
433#. module: l10n_es_aeat_mod340516#. module: l10n_es_aeat_mod340
434#: view:l10n.es.aeat.mod340:0517#: view:l10n.es.aeat.mod340:0
435msgid "Summary"518msgid "Summary"
436msgstr "Resumen"519msgstr ""
520
521#. module: l10n_es_aeat_mod340
522#: view:l10n.es.aeat.mod340:0
523msgid "Presenter"
524msgstr ""
437525
438#. module: l10n_es_aeat_mod340526#. module: l10n_es_aeat_mod340
439#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records527#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records
440msgid "AEAT Model 340 Wizard - Calculate Records"528msgid "AEAT Model 340 Wizard - Calculate Records"
441msgstr "Modelo 340 - Calcular registros"529msgstr ""
442530
443#. module: l10n_es_aeat_mod340531#. module: l10n_es_aeat_mod340
444#: selection:l10n.es.aeat.mod340,state:0532#: selection:l10n.es.aeat.mod340,state:0
445msgid "Processed"533msgid "Processed"
446msgstr "Procesado"534msgstr ""
447535
448#. module: l10n_es_aeat_mod340536#. module: l10n_es_aeat_mod340
449#: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0537#: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0
450msgid "Invoice issued"538msgid "Invoice issued"
451msgstr "Factudas emitidas"539msgstr ""
540
541#. module: l10n_es_aeat_mod340
542#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
543#, python-format
544msgid "Error"
545msgstr ""
452546
453#. module: l10n_es_aeat_mod340547#. module: l10n_es_aeat_mod340
454#: field:l10n.es.aeat.mod340,representative_vat:0548#: field:l10n.es.aeat.mod340,representative_vat:0
@@ -457,112 +551,105 @@
457#: field:l10n.es.aeat.mod340.issued,representative_vat:0551#: field:l10n.es.aeat.mod340.issued,representative_vat:0
458#: field:l10n.es.aeat.mod340.received,representative_vat:0552#: field:l10n.es.aeat.mod340.received,representative_vat:0
459msgid "L.R. VAT number"553msgid "L.R. VAT number"
460msgstr "CIF/NIF Representante legal"554msgstr ""
461555
462#. module: l10n_es_aeat_mod340556#. module: l10n_es_aeat_mod340
463#: view:l10n.es.aeat.mod340:0557#: view:l10n.es.aeat.mod340:0
464msgid "Issued invoice"558msgid "Issued invoice"
465msgstr "Factura emitida"559msgstr ""
466560
467#. module: l10n_es_aeat_mod340561#. module: l10n_es_aeat_mod340
468#: field:l10n.es.aeat.mod340,issued:0562#: field:l10n.es.aeat.mod340,issued:0
469msgid "Invoices Issued"563msgid "Invoices Issued"
470msgstr "Facturas emitidas"564msgstr ""
471565
472#. module: l10n_es_aeat_mod340566#. module: l10n_es_aeat_mod340
473#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0567#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0
474msgid "Invoice received"568msgid "Invoice received"
475msgstr "Factura recibida"569msgstr ""
476570
477#. module: l10n_es_aeat_mod340571#. module: l10n_es_aeat_mod340
478#: field:l10n.es.aeat.mod340,type:0572#: field:l10n.es.aeat.mod340,type:0
479msgid "Statement Type"573msgid "Statement Type"
480msgstr "Tipo de documento"574msgstr ""
481
482#. module: l10n_es_aeat_mod340
483#: field:l10n.es.aeat.mod340,period:0
484msgid "Period"
485msgstr "Periodo"
486575
487#. module: l10n_es_aeat_mod340576#. module: l10n_es_aeat_mod340
488#: view:l10n.es.aeat.mod340:0577#: view:l10n.es.aeat.mod340:0
489msgid "General"578msgid "General"
490msgstr "General"579msgstr ""
491580
492#. module: l10n_es_aeat_mod340581#. module: l10n_es_aeat_mod340
493#: view:l10n.es.aeat.mod340:0582#: view:l10n.es.aeat.mod340:0
494#: selection:l10n.es.aeat.mod340,state:0583#: selection:l10n.es.aeat.mod340,state:0
495msgid "Done"584msgid "Done"
496msgstr "Realizado"585msgstr ""
497586
498#. module: l10n_es_aeat_mod340587#. module: l10n_es_aeat_mod340
499#: selection:res.partner,vat_type:0588#: selection:res.partner,vat_type:0
500msgid "4 - Documento oficial de identificación expedido por el país"589msgid "4 - Documento oficial de identificación expedido por el país"
501msgstr "4 - Documento oficial de identificación expedido por el país"590msgstr ""
502591
503#. module: l10n_es_aeat_mod340592#. module: l10n_es_aeat_mod340
593#: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice
504#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0594#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0
505#: field:l10n.es.aeat.mod340.investment,invoice_id:0595#: field:l10n.es.aeat.mod340.investment,invoice_id:0
506#: field:l10n.es.aeat.mod340.issued,invoice_id:0596#: field:l10n.es.aeat.mod340.issued,invoice_id:0
507#: field:l10n.es.aeat.mod340.received,invoice_id:0597#: field:l10n.es.aeat.mod340.received,invoice_id:0
508msgid "Invoice"598msgid "Invoice"
509msgstr "Factura"599msgstr ""
510600
511#. module: l10n_es_aeat_mod340601#. module: l10n_es_aeat_mod340
512#: view:l10n.es.aeat.mod340:0602#: view:l10n.es.aeat.mod340:0
513msgid "Cancel"603msgid "Cancel"
514msgstr "Cancelar"604msgstr ""
515605
516#. module: l10n_es_aeat_mod340606#. module: l10n_es_aeat_mod340
517#: view:l10n.es.aeat.mod340:0607#: view:l10n.es.aeat.mod340:0
518msgid "Recalculate"608msgid "Recalculate"
519msgstr "Recalcular"609msgstr ""
520
521#. module: l10n_es_aeat_mod340
522#: selection:l10n.es.aeat.mod340,period:0
523msgid "Fourth quarter"
524msgstr "Cuarto trimestre"
525610
526#. module: l10n_es_aeat_mod340611#. module: l10n_es_aeat_mod340
527#: selection:res.partner,vat_type:0612#: selection:res.partner,vat_type:0
528msgid "5 - Certificado de residencia fiscal"613msgid "5 - Certificado de residencia fiscal"
529msgstr "5 - Certificado de residencia fiscal"614msgstr ""
530615
531#. module: l10n_es_aeat_mod340616#. module: l10n_es_aeat_mod340
617#: view:account.invoice:0
532#: view:l10n.es.aeat.mod340:0618#: view:l10n.es.aeat.mod340:0
533msgid "AEAT 340"619msgid "AEAT 340"
534msgstr "AEAT 340"620msgstr ""
535621
536#. module: l10n_es_aeat_mod340622#. module: l10n_es_aeat_mod340
537#: field:l10n.es.aeat.mod340.tax_line_issued,tax_percentage:0623#: field:l10n.es.aeat.mod340.tax_line_issued,tax_percentage:0
538#: field:l10n.es.aeat.mod340.tax_line_received,tax_percentage:0624#: field:l10n.es.aeat.mod340.tax_line_received,tax_percentage:0
539msgid "Tax percentage"625msgid "Tax percentage"
540msgstr "Impuesto"626msgstr ""
541627
542#. module: l10n_es_aeat_mod340628#. module: l10n_es_aeat_mod340
543#: view:l10n.es.aeat.mod340:0629#: view:l10n.es.aeat.mod340:0
544msgid "Received invoice"630msgid "Received invoice"
545msgstr "Factura recibida"631msgstr ""
546632
547#. module: l10n_es_aeat_mod340633#. module: l10n_es_aeat_mod340
548#: view:l10n.es.aeat.mod340.tax_line_issued:0634#: view:l10n.es.aeat.mod340.tax_line_issued:0
549msgid "Tax line issued"635msgid "Tax line issued"
550msgstr "Línea de impuesto emitido"636msgstr ""
551637
552#. module: l10n_es_aeat_mod340638#. module: l10n_es_aeat_mod340
553#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report639#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
554msgid "AEAT Model 340"640msgid "AEAT Model 340"
555msgstr "Modelo AEAT 340"641msgstr ""
556642
557#. module: l10n_es_aeat_mod340643#. module: l10n_es_aeat_mod340
558#: selection:l10n.es.aeat.mod340,period:0644#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
559msgid "May"645#, python-format
560msgstr "Mayo"646msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
647msgstr ""
561648
562#. module: l10n_es_aeat_mod340649#. module: l10n_es_aeat_mod340
563#: help:res.partner,vat_type:0650#: help:res.partner,vat_type:0
564msgid "Clave número de identificación en el país de residencia. Modelo 340."651msgid "Clave número de identificación en el país de residencia. Modelo 340."
565msgstr "Clave número de identificación en el país de residencia. Modelo 340."652msgstr ""
566653
567#. module: l10n_es_aeat_mod340654#. module: l10n_es_aeat_mod340
568#: help:l10n.es.aeat.mod340,number_records:0655#: help:l10n.es.aeat.mod340,number_records:0
@@ -570,7 +657,7 @@
570#: help:l10n.es.aeat.mod340,total_sharetax:0657#: help:l10n.es.aeat.mod340,total_sharetax:0
571#: help:l10n.es.aeat.mod340,total_taxable:0658#: help:l10n.es.aeat.mod340,total_taxable:0
572msgid "The declaration will include partners with the total of operations over this limit"659msgid "The declaration will include partners with the total of operations over this limit"
573msgstr "The declaration will include partners with the total of operations over this limit"660msgstr ""
574661
575#. module: l10n_es_aeat_mod340662#. module: l10n_es_aeat_mod340
576#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0663#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
@@ -578,121 +665,107 @@
578#: field:l10n.es.aeat.mod340.issued,partner_vat:0665#: field:l10n.es.aeat.mod340.issued,partner_vat:0
579#: field:l10n.es.aeat.mod340.received,partner_vat:0666#: field:l10n.es.aeat.mod340.received,partner_vat:0
580msgid "Company CIF/NIF"667msgid "Company CIF/NIF"
581msgstr "CIF/NIF de la compañía"668msgstr ""
582669
583#. module: l10n_es_aeat_mod340670#. module: l10n_es_aeat_mod340
584#: help:l10n.es.aeat.mod340,representative_vat:0671#: help:l10n.es.aeat.mod340,representative_vat:0
585msgid "Legal Representative VAT number."672msgid "Legal Representative VAT number."
586msgstr "CIF/NIF del representante legal."673msgstr ""
587674
588#. module: l10n_es_aeat_mod340675#. module: l10n_es_aeat_mod340
589#: field:l10n.es.aeat.mod340,previous_number:0676#: field:l10n.es.aeat.mod340,previous_number:0
590msgid "Previous Declaration Number"677msgid "Previous Declaration Number"
591msgstr "Número de la declaración anterior"678msgstr ""
592679
593#. module: l10n_es_aeat_mod340680#. module: l10n_es_aeat_mod340
594#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment681#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment
595#: field:l10n.es.aeat.mod340,investment:0682#: field:l10n.es.aeat.mod340,investment:0
596msgid "Property Investment"683msgid "Property Investment"
597msgstr "Property Investment"684msgstr ""
598685
599#. module: l10n_es_aeat_mod340686#. module: l10n_es_aeat_mod340
600#: field:l10n.es.aeat.mod340,name_contact:0687#: field:l10n.es.aeat.mod340,name_contact:0
601msgid "Name And Surname Contact"688msgid "Name And Surname Contact"
602msgstr "Nombre y apellido de contacto"689msgstr ""
603
604#. module: l10n_es_aeat_mod340
605#: selection:l10n.es.aeat.mod340,period:0
606msgid "February"
607msgstr "Febrero"
608690
609#. module: l10n_es_aeat_mod340691#. module: l10n_es_aeat_mod340
610#: field:l10n.es.aeat.mod340,name:0692#: field:l10n.es.aeat.mod340,name:0
611#: field:l10n.es.aeat.mod340.tax_line_issued,name:0693#: field:l10n.es.aeat.mod340.tax_line_issued,name:0
612#: field:l10n.es.aeat.mod340.tax_line_received,name:0694#: field:l10n.es.aeat.mod340.tax_line_received,name:0
613msgid "Name"695msgid "Name"
614msgstr "Nombre"696msgstr ""
615697
616#. module: l10n_es_aeat_mod340698#. module: l10n_es_aeat_mod340
617#: view:l10n.es.aeat.mod340.received:0699#: view:l10n.es.aeat.mod340.received:0
618msgid "Received invoices"700msgid "Received invoices"
619msgstr "Facturas recibidas"701msgstr ""
620702
621#. module: l10n_es_aeat_mod340703#. module: l10n_es_aeat_mod340
622#: selection:l10n.es.aeat.mod340,period:0704#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
623msgid "April"705#: help:l10n.es.aeat.mod340.investment,representative_vat:0
624msgstr "Abril"706#: help:l10n.es.aeat.mod340.issued,representative_vat:0
707#: help:l10n.es.aeat.mod340.received,representative_vat:0
708msgid "Legal Representative VAT number"
709msgstr ""
625710
626#. module: l10n_es_aeat_mod340711#. module: l10n_es_aeat_mod340
627#: view:l10n.es.aeat.mod340:0712#: view:l10n.es.aeat.mod340:0
628#: field:l10n.es.aeat.mod340,fiscalyear_id:0713#: field:l10n.es.aeat.mod340,fiscalyear_id:0
629msgid "Fiscal Year"714msgid "Fiscal Year"
630msgstr "Año fiscal"715msgstr ""
631716
632#. module: l10n_es_aeat_mod340717#. module: l10n_es_aeat_mod340
633#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received718#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received
634#: field:l10n.es.aeat.mod340,received:0719#: field:l10n.es.aeat.mod340,received:0
635msgid "Invoices Received"720msgid "Invoices Received"
636msgstr "Facturas recibidas"721msgstr ""
722
723#. module: l10n_es_aeat_mod340
724#: code:addons/l10n_es_aeat_mod340/account.py:92
725#, python-format
726msgid "The info field is different.\n"
727""
728msgstr ""
637729
638#. module: l10n_es_aeat_mod340730#. module: l10n_es_aeat_mod340
639#: selection:l10n.es.aeat.mod340,support_type:0731#: selection:l10n.es.aeat.mod340,support_type:0
640msgid "Telematics"732msgid "Telematics"
641msgstr "Telemática"733msgstr ""
642734
643#. module: l10n_es_aeat_mod340735#. module: l10n_es_aeat_mod340
644#: field:res.partner,vat_type:0736#: field:res.partner,vat_type:0
645msgid "Clave tipo de NIF"737msgid "Clave tipo de NIF"
646msgstr "Clave tipo de NIF"738msgstr ""
647739
648#. module: l10n_es_aeat_mod340740#. module: l10n_es_aeat_mod340
649#: selection:l10n.es.aeat.mod340,period:0741#: constraint:account.invoice:0
650msgid "Second quarter"742msgid "Invoice date is previous to an existing invoice."
651msgstr "Segundo trimestre"743msgstr ""
652744
653#. module: l10n_es_aeat_mod340745#. module: l10n_es_aeat_mod340
654#: selection:l10n.es.aeat.mod340,type:0746#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
655msgid "Complementary"747msgid "wizard.update.charts.accounts"
656msgstr "Complementaria"748msgstr ""
657
658#. module: l10n_es_aeat_mod340
659#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
660#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
661#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
662msgid "tax lines"
663msgstr "líneas de impuestos"
664749
665#. module: l10n_es_aeat_mod340750#. module: l10n_es_aeat_mod340
666#: field:l10n.es.aeat.mod340,total:0751#: field:l10n.es.aeat.mod340,total:0
752#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
753#: field:l10n.es.aeat.mod340.investment,total:0
754#: view:l10n.es.aeat.mod340.issued:0
755#: field:l10n.es.aeat.mod340.issued,total:0
756#: view:l10n.es.aeat.mod340.received:0
757#: field:l10n.es.aeat.mod340.received,total:0
667msgid "Total"758msgid "Total"
668msgstr "Total"
669
670#. module: l10n_es_aeat_mod340
671#: field:account.invoice,number_tickets:0
672msgid "Number of tickets"
673msgstr "Número de tiques"
674
675#. module: l10n_es_aeat_mod340
676#: field:account.invoice,first_ticket:0
677msgid "First ticket"
678msgstr "Primer tique"
679
680#. module: l10n_es_aeat_mod340
681#: help:account.invoice,is_ticket_summary:0
682msgid "Check if this invoice is a ticket summary"
683msgstr "Active si esta factura es un resumen de tiques"
684
685#. module: l10n_es_aeat_mod340
686#: field:account.invoice,last_ticket:0
687msgid "Last ticket"
688msgstr "Último tique"
689
690#. module: l10n_es_aeat_mod340
691#: field:account.invoice,is_ticket_summary:0
692msgid "Ticket Summary"
693msgstr "Resumen de tiques"
694
695#. module: account
696#: view:account.invoice:0
697msgid "Tickets"
698msgstr "Tiques"
699\ No newline at end of file759\ No newline at end of file
760msgstr ""
761
762#. module: l10n_es_aeat_mod340
763#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
764msgid "Tax Code Template"
765msgstr ""
766
767#. module: l10n_es_aeat_mod340
768#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
769#, python-format
770msgid "La siguiente empresa no tiene asignado nif:"
771msgstr ""
772
700773
=== modified file 'l10n_es_aeat_mod340/mod340.py'
--- l10n_es_aeat_mod340/mod340.py 2011-09-20 06:58:23 +0000
+++ l10n_es_aeat_mod340/mod340.py 2013-05-17 16:51:41 +0000
@@ -3,7 +3,7 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.8# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.
9# http://www.NaN-tic.com9# http://www.NaN-tic.com
@@ -34,9 +34,6 @@
34from tools.translate import _34from tools.translate import _
35import pooler35import pooler
3636
37
38
39
40class l10n_es_aeat_mod340(osv.osv):37class l10n_es_aeat_mod340(osv.osv):
41 38
42 def button_calculate(self, cr, uid, ids, args, context=None):39 def button_calculate(self, cr, uid, ids, args, context=None):
@@ -60,15 +57,13 @@
60 return True57 return True
6158
62 def button_export(self, cr, uid, ids, context=None):59 def button_export(self, cr, uid, ids, context=None):
63 #FUNCION CALCADA DEL MODELO 347, inoperativa de momento
64
65 #raise osv.except_osv(_('No disponible:'), _('En desarrollo'))
66 60
67 if context is None:61 if context is None:
68 context = {}62 context = {}
6963
70 export_obj = self.pool.get("l10n.es.aeat.mod340.export_to_boe")64 export_obj = self.pool.get("l10n.es.aeat.mod340.export_to_boe")
71 export_obj._export_boe_file(cr, uid, ids, self.browse(cr, uid, ids and ids[0]))65 report = self.browse(cr, uid, ids and ids[0])
66 export_obj._export_boe_file(cr, uid, ids, report)
7267
73 return True68 return True
74 69
@@ -103,8 +98,6 @@
10398
104 return result99 return result
105100
106
107
108 _inherit = "l10n.es.aeat.report"101 _inherit = "l10n.es.aeat.report"
109 _name = 'l10n.es.aeat.mod340'102 _name = 'l10n.es.aeat.mod340'
110 _description = 'Model 340'103 _description = 'Model 340'
@@ -113,12 +106,8 @@
113 'contact_phone': fields.char("Phone", size=9),106 'contact_phone': fields.char("Phone", size=9),
114 'phone_contact' : fields.char('Phone Contact',size=9),107 'phone_contact' : fields.char('Phone Contact',size=9),
115 'name_contact' : fields.char('Name And Surname Contact',size=40),108 'name_contact' : fields.char('Name And Surname Contact',size=40),
116 'period': fields.selection([109 'period_from': fields.many2one('account.period', 'Start period',states={'done': [('readonly', True)]}),
117 ('1T','First quarter'),('2T','Second quarter'),('3T','Third quarter'),110 'period_to': fields.many2one('account.period', 'End period',states={'done': [('readonly', True)]}),
118 ('4T','Fourth quarter'),('01','January'),('02','February'),('03','March'),('04','April'),
119 ('05','May'),('06','June'),('07','July'),('08','August'),('09','September'),('10','October'),
120 ('11','November'),('12','December')
121 ], 'Period'),
122 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id','Invoices Issued'),111 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id','Invoices Issued'),
123 'received': fields.one2many('l10n.es.aeat.mod340.received','mod340_id','Invoices Received'),112 'received': fields.one2many('l10n.es.aeat.mod340.received','mod340_id','Invoices Received'),
124 'investment': fields.one2many(113 'investment': fields.one2many(
@@ -130,7 +119,7 @@
130 'total_taxable': fields.function( _get_number_records, method=True, type='float', string='Total Taxable', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),119 'total_taxable': fields.function( _get_number_records, method=True, type='float', string='Total Taxable', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),
131 'total_sharetax': fields.function( _get_number_records, method=True, type='float', string='Total Share Tax', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),120 'total_sharetax': fields.function( _get_number_records, method=True, type='float', string='Total Share Tax', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),
132 'number_records': fields.function( _get_number_records, method=True, type='integer', string='Records', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),121 'number_records': fields.function( _get_number_records, method=True, type='integer', string='Records', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),
133 'total': fields.function( _get_number_records, method=True, type='float', string="Total" , multi='recalc', help="The declaration will include partners with the total of operations over this limit"),122 'total': fields.function( _get_number_records, method=True, type='float', string="Total" , multi='recalc', help="The declaration will include partners with the total of operations over this limit"),
134 'calculation_date': fields.date('Calculation date', readonly=True),123 'calculation_date': fields.date('Calculation date', readonly=True),
135 }124 }
136 _defaults = {125 _defaults = {
@@ -144,32 +133,6 @@
144 wf_service = netsvc.LocalService("workflow")133 wf_service = netsvc.LocalService("workflow")
145 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', id, 'done', cr)134 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', id, 'done', cr)
146 return True135 return True
147
148 def _check_report_lines(self, cr, uid, ids, context=None):
149 """checks report lines"""
150# if context is None: context = {}
151
152# for item in self.browse(cr, uid, ids, context):
153# ## Browse partner record lines to check if all are correct (all fields filled)
154# for partner_record in item.partner_record_ids:
155# if not partner_record.partner_state_code:
156# raise osv.except_osv(_('Error!'), _("All partner state code field must be filled."))
157# if not partner_record.partner_vat:
158# raise osv.except_osv(_('Error!'), _("All partner vat number field must be filled."))
159#
160# for real_state_record in item.real_state_record_ids:
161# if not real_state_record.state_code:
162# raise osv.except_osv(_('Error!'), _("All real state records state code field must be filled."))
163
164 return True
165
166 def check_report(self, cr, uid, ids, context=None):
167 """Different check out in report"""
168 if context is None: context = {}
169
170 self._check_report_lines(cr, uid, ids, context)
171
172 return True
173136
174 def action_confirm(self, cr, uid, ids, context=None):137 def action_confirm(self, cr, uid, ids, context=None):
175 """set to done the report and check its records"""138 """set to done the report and check its records"""
@@ -206,10 +169,10 @@
206 'representative_vat': fields.char('L.R. VAT number', size=9, help="Legal Representative VAT number"),169 'representative_vat': fields.char('L.R. VAT number', size=9, help="Legal Representative VAT number"),
207 'partner_country_code': fields.char('Country Code', size=2),170 'partner_country_code': fields.char('Country Code', size=2),
208 'invoice_id':fields.many2one('account.invoice','Invoice',ondelete="cascade"),171 'invoice_id':fields.many2one('account.invoice','Invoice',ondelete="cascade"),
209 'base_tax':fields.float('base tax bill',digits=(13,2)),172 'base_tax':fields.float('Base tax bill',digits=(13,2)),
210 'amount_tax':fields.float('amount of the tax',digits=(13,2)),173 'amount_tax':fields.float('Total tax',digits=(13,2)),
211 'total':fields.float('total',digits=(13,2)),174 'total':fields.float('Total',digits=(13,2)),
212 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', 'invoice_record_id', 'tax lines', states = {'done': [('readonly', True)]}),175 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', 'invoice_record_id', 'Tax lines', states = {'done': [('readonly', True)]}),
213 }176 }
214l10n_es_aeat_mod340_issued()177l10n_es_aeat_mod340_issued()
215178
216179
=== modified file 'l10n_es_aeat_mod340/mod340_view.xml'
--- l10n_es_aeat_mod340/mod340_view.xml 2011-09-20 06:58:23 +0000
+++ l10n_es_aeat_mod340/mod340_view.xml 2013-05-17 16:51:41 +0000
@@ -6,14 +6,14 @@
6 <field name="name">l10n.es.aeat.mod340.tree</field>6 <field name="name">l10n.es.aeat.mod340.tree</field>
7 <field name="model">l10n.es.aeat.mod340</field>7 <field name="model">l10n.es.aeat.mod340</field>
8 <field name="type">tree</field>8 <field name="type">tree</field>
9 <!--<field name="priority" eval="5"/>-->
10 <field name="arch" type="xml">9 <field name="arch" type="xml">
11 <tree string="Model 340">10 <tree string="Model 340">
12 <field name="period"/>11 <field name="fiscalyear_id"/>
13 <field name="fiscalyear_id"/>12 <field name="period_from"/>
14 <field name="number"/>13 <field name="period_to"/>
15 <field name="type"/>14 <field name="number"/>
16 </tree>15 <field name="type"/>
16 </tree>
17 </field>17 </field>
18 </record>18 </record>
1919
@@ -26,9 +26,10 @@
26 <form string="Model 340">26 <form string="Model 340">
27 <group col="6" colspan="4">27 <group col="6" colspan="4">
28 <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1" readonly="1"/>28 <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1" readonly="1"/>
29 <field name="fiscalyear_id" select="1"/>
29 <newline/>30 <newline/>
30 <field name="fiscalyear_id" select="1"/>31 <field name="period_from" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
31 <field name="period" select="1" required="1"/>32 <field name="period_to" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
32 <newline />33 <newline />
33 <field name="number"/>34 <field name="number"/>
34 <field name="support_type"/>35 <field name="support_type"/>
@@ -37,9 +38,9 @@
37 <page string="General">38 <page string="General">
38 <group string="Identification" colspan="4">39 <group string="Identification" colspan="4">
39 <field name="company_vat" required="1" />40 <field name="company_vat" required="1" />
40 <field name="contact_phone"/>41 <field name="phone_contact" />
41 <field name="name_contact" colspan="4"/>42 <field name="name_contact" colspan="4" />
42 <field name="representative_vat"/>43 <field name="representative_vat" />
43 </group>44 </group>
44 <group string="Susbtitutive/complementary declaration" colspan="4">45 <group string="Susbtitutive/complementary declaration" colspan="4">
45 <field name="type"/>46 <field name="type"/>
@@ -66,7 +67,7 @@
66 string="Calculate"67 string="Calculate"
67 states="draft" 68 states="draft"
68 icon="terp-stock_format-scientific"69 icon="terp-stock_format-scientific"
69 /> 70 />
70 <button name="button_recalculate"71 <button name="button_recalculate"
71 type="object"72 type="object"
72 string="Recalculate"73 string="Recalculate"
@@ -76,23 +77,23 @@
76 type="object"77 type="object"
77 string="Export to BOE"78 string="Export to BOE"
78 states="done"79 states="done"
79 icon="gtk-execute"/>80 icon="gtk-execute"
81 />
80 <button name="confirm" string="Confirm" type="object" states="calculated" icon="gtk-ok"/>82 <button name="confirm" string="Confirm" type="object" states="calculated" icon="gtk-ok"/>
81 <button name="cancel" string="Cancel" type="object" states="calculated,done" icon="gtk-cancel"/>83 <button name="cancel" string="Cancel" type="object" states="calculated,done" icon="gtk-cancel"/>
82 <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/>84 <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/>
83 85
84 </group>86 </group>
85 </page>87 </page>
86 <page string="Issued invoice" >88 <page string="Issued invoice" >
87 <field name="issued" nolabel="1" />89 <field name="issued" nolabel="1" />
88 </page>90 </page>
89 <page string="Received invoice" >91 <page string="Received invoice" >
90 <field name="received" nolabel="1" /> 92 <field name="received" nolabel="1" />
91 </page>93 </page>
92 94 </notebook>
93 </notebook>95 </form>
94 </form>96 </field>
95 </field>
96 </record>97 </record>
97 <!-- FIN Modelo 340 -->98 <!-- FIN Modelo 340 -->
9899
@@ -228,7 +229,8 @@
228 <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/>229 <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/>
229 </group>230 </group>
230 <newline/>231 <newline/>
231 <field name="period"/>232 <field name="period_from"/>
233 <field name="period_to" />
232 <field name="fiscalyear_id"/>234 <field name="fiscalyear_id"/>
233 <field name="number"/>235 <field name="number"/>
234 <field name="type"/>236 <field name="type"/>
235237
=== removed file 'l10n_es_aeat_mod340/report/lorem.py'
--- l10n_es_aeat_mod340/report/lorem.py 2011-04-04 18:43:02 +0000
+++ l10n_es_aeat_mod340/report/lorem.py 1970-01-01 00:00:00 +0000
@@ -1,1982 +0,0 @@
1# -*- coding: utf8 -*-
2
3shortname = "lorem"
4program = "Lorem Ipsum Generator (%s)" % shortname
5version = "0.6"
6copyright = "Copyright (C) 2007 Per Erik Strandberg"
7license = """This is free software, and you are welcome to redistribute it
8under the GNU General Public License <http://www.gnu.org/licenses/gpl.html>
9%s comes with NO WARRANTY, to the extent permitted by law.""" % shortname
10
11# Copyright 2007 Per Erik Strandberg: per at pererikstrandberg dot se
12#
13# This program is free software you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation either version 3 of the License, or
16# (at your option) any later version.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License
24# along with this program if not, write to the Free Software
25# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26# MA 02110-1301, USA.
27
28
29GPLv3 = """GNU GENERAL PUBLIC LICENSE
30
31Version 3, 29 June 2007
32
33Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
34
35Everyone is permitted to copy and distribute verbatim copies of this license
36document, but changing it is not allowed.
37
38Preamble
39
40The GNU General Public License is a free, copyleft license for software and
41other kinds of works.
42
43The licenses for most software and other practical works are designed to take
44away your freedom to share and change the works. By contrast, the GNU General
45Public License is intended to guarantee your freedom to share and change all
46versions of a program--to make sure it remains free software for all its users.
47We, the Free Software Foundation, use the GNU General Public License for most
48of our software it applies also to any other work released this way by its
49authors. You can apply it to your programs, too.
50
51When we speak of free software, we are referring to freedom, not price. Our
52General Public Licenses are designed to make sure that you have the freedom to
53distribute copies of free software (and charge for them if you wish), that you
54receive source code or can get it if you want it, that you can change the
55software or use pieces of it in new free programs, and that you know you can
56do these things.
57
58To protect your rights, we need to prevent others from denying you these
59rights or asking you to surrender the rights. Therefore, you have certain
60responsibilities if you distribute copies of the software, or if you modify
61it: responsibilities to respect the freedom of others.
62
63For example, if you distribute copies of such a program, whether gratis or for
64a fee, you must pass on to the recipients the same freedoms that you received.
65You must make sure that they, too, receive or can get the source code. And you
66must show them these terms so they know their rights.
67
68Developers that use the GNU GPL protect your rights with two steps: (1) assert
69copyright on the software, and (2) offer you this License giving you legal
70permission to copy, distribute and/or modify it.
71
72For the developers' and authors' protection, the GPL clearly explains that
73there is no warranty for this free software. For both users' and authors'
74sake, the GPL requires that modified versions be marked as changed, so that
75their problems will not be attributed erroneously to authors of previous
76versions.
77
78Some devices are designed to deny users access to install or run modified
79versions of the software inside them, although the manufacturer can do so.
80This is fundamentally incompatible with the aim of protecting users' freedom
81to change the software. The systematic pattern of such abuse occurs in the
82area of products for individuals to use, which is precisely where it is most
83unacceptable. Therefore, we have designed this version of the GPL to prohibit
84the practice for those products. If such problems arise substantially in other
85domains, we stand ready to extend this provision to those domains in future
86versions of the GPL, as needed to protect the freedom of users.
87
88Finally, every program is threatened constantly by software patents. States
89should not allow patents to restrict development and use of software on
90general-purpose computers, but in those that do, we wish to avoid the special
91danger that patents applied to a free program could make it effectively
92proprietary. To prevent this, the GPL assures that patents cannot be used to
93render the program non-free.
94
95The precise terms and conditions for copying, distribution and modification
96follow.
97
98
99TERMS AND CONDITIONS
1000. Definitions.
101
102"This License" refers to version 3 of the GNU General Public License.
103
104"Copyright" also means copyright-like laws that apply to other kinds of works,
105such as semiconductor masks.
106
107"The Program" refers to any copyrightable work licensed under this License.
108Each licensee is addressed as "you". "Licensees" and "recipients" may be
109individuals or organizations.
110
111To "modify" a work means to copy from or adapt all or part of the work in a
112fashion requiring copyright permission, other than the making of an exact
113copy. The resulting work is called a "modified version" of the earlier work or
114a work "based on" the earlier work.
115
116A "covered work" means either the unmodified Program or a work based on the
117Program.
118
119To "propagate" a work means to do anything with it that, without permission,
120would make you directly or secondarily liable for infringement under
121applicable copyright law, except executing it on a computer or modifying a
122private copy. Propagation includes copying, distribution (with or without
123modification), making available to the public, and in some countries other
124activities as well.
125
126To "convey" a work means any kind of propagation that enables other
127parties to make or receive copies. Mere interaction with a user
128through a computer network, with no transfer of a copy, is not
129conveying.
130
131An interactive user interface displays "Appropriate Legal Notices" to
132the extent that it includes a convenient and prominently visible
133feature that (1) displays an appropriate copyright notice, and (2)
134tells the user that there is no warranty for the work (except to the
135extent that warranties are provided), that licensees may convey the
136work under this License, and how to view a copy of this License. If
137the interface presents a list of user commands or options, such as a
138menu, a prominent item in the list meets this criterion.
139
1401. Source Code.
141
142The "source code" for a work means the preferred form of the work for
143making modifications to it. "Object code" means any non-source form of
144a work.
145
146A "Standard Interface" means an interface that either is an official
147standard defined by a recognized standards body, or, in the case of
148interfaces specified for a particular programming language, one that
149is widely used among developers working in that language.
150
151The "System Libraries" of an executable work include anything, other
152than the work as a whole, that (a) is included in the normal form of
153packaging a Major Component, but which is not part of that Major
154Component, and (b) serves only to enable use of the work with that
155Major Component, or to implement a Standard Interface for which an
156implementation is available to the public in source code form. A
157"Major Component", in this context, means a major essential component
158(kernel, window system, and so on) of the specific operating system
159(if any) on which the executable work runs, or a compiler used to
160produce the work, or an object code interpreter used to run it.
161
162The "Corresponding Source" for a work in object code form means all
163the source code needed to generate, install, and (for an executable
164work) run the object code and to modify the work, including scripts to
165control those activities. However, it does not include the work's
166System Libraries, or general-purpose tools or generally available free
167programs which are used unmodified in performing those activities but
168which are not part of the work. For example, Corresponding Source
169includes interface definition files associated with source files for
170the work, and the source code for shared libraries and dynamically
171linked subprograms that the work is specifically designed to require,
172such as by intimate data communication or control flow between those
173subprograms and other parts of the work.
174
175The Corresponding Source need not include anything that users can
176regenerate automatically from other parts of the Corresponding Source.
177
178The Corresponding Source for a work in source code form is that same
179work.
180
1812. Basic Permissions.
182
183All rights granted under this License are granted for the term of
184copyright on the Program, and are irrevocable provided the stated
185conditions are met. This License explicitly affirms your unlimited
186permission to run the unmodified Program. The output from running a
187covered work is covered by this License only if the output, given its
188content, constitutes a covered work. This License acknowledges your
189rights of fair use or other equivalent, as provided by copyright law.
190
191You may make, run and propagate covered works that you do not convey,
192without conditions so long as your license otherwise remains in
193force. You may convey covered works to others for the sole purpose of
194having them make modifications exclusively for you, or provide you
195with facilities for running those works, provided that you comply with
196the terms of this License in conveying all material for which you do
197not control copyright. Those thus making or running the covered works
198for you must do so exclusively on your behalf, under your direction
199and control, on terms that prohibit them from making any copies of
200your copyrighted material outside their relationship with you.
201
202Conveying under any other circumstances is permitted solely under the
203conditions stated below. Sublicensing is not allowed section 10 makes
204it unnecessary.
205
2063. Protecting Users' Legal Rights From Anti-Circumvention Law.
207
208No covered work shall be deemed part of an effective technological
209measure under any applicable law fulfilling obligations under article
21011 of the WIPO copyright treaty adopted on 20 December 1996, or
211similar laws prohibiting or restricting circumvention of such
212measures.
213
214When you convey a covered work, you waive any legal power to forbid
215circumvention of technological measures to the extent such
216circumvention is effected by exercising rights under this License with
217respect to the covered work, and you disclaim any intention to limit
218operation or modification of the work as a means of enforcing, against
219the work's users, your or third parties' legal rights to forbid
220circumvention of technological measures.
221
2224. Conveying Verbatim Copies.
223
224You may convey verbatim copies of the Program's source code as you
225receive it, in any medium, provided that you conspicuously and
226appropriately publish on each copy an appropriate copyright notice
227keep intact all notices stating that this License and any
228non-permissive terms added in accord with section 7 apply to the code
229keep intact all notices of the absence of any warranty and give all
230recipients a copy of this License along with the Program.
231
232You may charge any price or no price for each copy that you convey,
233and you may offer support or warranty protection for a fee.
234
2355. Conveying Modified Source Versions.
236
237You may convey a work based on the Program, or the modifications to
238produce it from the Program, in the form of source code under the
239terms of section 4, provided that you also meet all of these
240conditions:
241
242 * a) The work must carry prominent notices stating that you
243modified it, and giving a relevant date.
244 * b) The work must carry prominent notices stating that it is
245released under this License and any conditions added under section
2467. This requirement modifies the requirement in section 4 to "keep
247intact all notices".
248 * c) You must license the entire work, as a whole, under this
249License to anyone who comes into possession of a copy. This License
250will therefore apply, along with any applicable section 7 additional
251terms, to the whole of the work, and all its parts, regardless of how
252they are packaged. This License gives no permission to license the
253work in any other way, but it does not invalidate such permission if
254you have separately received it.
255 * d) If the work has interactive user interfaces, each must
256display Appropriate Legal Notices however, if the Program has
257interactive interfaces that do not display Appropriate Legal Notices,
258your work need not make them do so.
259
260A compilation of a covered work with other separate and independent
261works, which are not by their nature extensions of the covered work,
262and which are not combined with it such as to form a larger program,
263in or on a volume of a storage or distribution medium, is called an
264"aggregate" if the compilation and its resulting copyright are not
265used to limit the access or legal rights of the compilation's users
266beyond what the individual works permit. Inclusion of a covered work
267in an aggregate does not cause this License to apply to the other
268parts of the aggregate.
269
2706. Conveying Non-Source Forms.
271
272You may convey a covered work in object code form under the terms of
273sections 4 and 5, provided that you also convey the machine-readable
274Corresponding Source under the terms of this License, in one of these
275ways:
276
277 * a) Convey the object code in, or embodied in, a physical product
278(including a physical distribution medium), accompanied by the
279Corresponding Source fixed on a durable physical medium customarily
280used for software interchange.
281 * b) Convey the object code in, or embodied in, a physical product
282(including a physical distribution medium), accompanied by a written
283offer, valid for at least three years and valid for as long as you
284offer spare parts or customer support for that product model, to give
285anyone who possesses the object code either (1) a copy of the
286Corresponding Source for all the software in the product that is
287covered by this License, on a durable physical medium customarily used
288for software interchange, for a price no more than your reasonable
289cost of physically performing this conveying of source, or (2) access
290to copy the Corresponding Source from a network server at no charge.
291 * c) Convey individual copies of the object code with a copy of
292the written offer to provide the Corresponding Source. This
293alternative is allowed only occasionally and noncommercially, and only
294if you received the object code with such an offer, in accord with
295subsection 6b.
296 * d) Convey the object code by offering access from a designated
297place (gratis or for a charge), and offer equivalent access to the
298Corresponding Source in the same way through the same place at no
299further charge. You need not require recipients to copy the
300Corresponding Source along with the object code. If the place to copy
301the object code is a network server, the Corresponding Source may be
302on a different server (operated by you or a third party) that supports
303equivalent copying facilities, provided you maintain clear directions
304next to the object code saying where to find the Corresponding
305Source. Regardless of what server hosts the Corresponding Source, you
306remain obligated to ensure that it is available for as long as needed
307to satisfy these requirements.
308 * e) Convey the object code using peer-to-peer transmission,
309provided you inform other peers where the object code and
310Corresponding Source of the work are being offered to the general
311public at no charge under subsection 6d.
312
313A separable portion of the object code, whose source code is excluded
314from the Corresponding Source as a System Library, need not be
315included in conveying the object code work.
316
317A "User Product" is either (1) a "consumer product", which means any
318tangible personal property which is normally used for personal,
319family, or household purposes, or (2) anything designed or sold for
320incorporation into a dwelling. In determining whether a product is a
321consumer product, doubtful cases shall be resolved in favor of
322coverage. For a particular product received by a particular user,
323"normally used" refers to a typical or common use of that class of
324product, regardless of the status of the particular user or of the way
325in which the particular user actually uses, or expects or is expected
326to use, the product. A product is a consumer product regardless of
327whether the product has substantial commercial, industrial or
328non-consumer uses, unless such uses represent the only significant
329mode of use of the product.
330
331"Installation Information" for a User Product means any methods,
332procedures, authorization keys, or other information required to
333install and execute modified versions of a covered work in that User
334Product from a modified version of its Corresponding Source. The
335information must suffice to ensure that the continued functioning of
336the modified object code is in no case prevented or interfered with
337solely because modification has been made.
338
339If you convey an object code work under this section in, or with, or
340specifically for use in, a User Product, and the conveying occurs as
341part of a transaction in which the right of possession and use of the
342User Product is transferred to the recipient in perpetuity or for a
343fixed term (regardless of how the transaction is characterized), the
344Corresponding Source conveyed under this section must be accompanied
345by the Installation Information. But this requirement does not apply
346if neither you nor any third party retains the ability to install
347modified object code on the User Product (for example, the work has
348been installed in ROM).
349
350The requirement to provide Installation Information does not include a
351requirement to continue to provide support service, warranty, or
352updates for a work that has been modified or installed by the
353recipient, or for the User Product in which it has been modified or
354installed. Access to a network may be denied when the modification
355itself materially and adversely affects the operation of the network
356or violates the rules and protocols for communication across the
357network.
358
359Corresponding Source conveyed, and Installation Information provided,
360in accord with this section must be in a format that is publicly
361documented (and with an implementation available to the public in
362source code form), and must require no special password or key for
363unpacking, reading or copying.
364
3657. Additional Terms.
366
367"Additional permissions" are terms that supplement the terms of this
368License by making exceptions from one or more of its
369conditions. Additional permissions that are applicable to the entire
370Program shall be treated as though they were included in this License,
371to the extent that they are valid under applicable law. If additional
372permissions apply only to part of the Program, that part may be used
373separately under those permissions, but the entire Program remains
374governed by this License without regard to the additional permissions.
375
376When you convey a copy of a covered work, you may at your option
377remove any additional permissions from that copy, or from any part of
378it. (Additional permissions may be written to require their own
379removal in certain cases when you modify the work.) You may place
380additional permissions on material, added by you to a covered work,
381for which you have or can give appropriate copyright permission.
382
383Notwithstanding any other provision of this License, for material you
384add to a covered work, you may (if authorized by the copyright holders
385of that material) supplement the terms of this License with terms:
386
387 * a) Disclaiming warranty or limiting liability differently from
388the terms of sections 15 and 16 of this License or
389 * b) Requiring preservation of specified reasonable legal notices
390or author attributions in that material or in the Appropriate Legal
391Notices displayed by works containing it or
392 * c) Prohibiting misrepresentation of the origin of that material,
393or requiring that modified versions of such material be marked in
394reasonable ways as different from the original version or
395 * d) Limiting the use for publicity purposes of names of licensors
396or authors of the material or
397 * e) Declining to grant rights under trademark law for use of some
398trade names, trademarks, or service marks or
399 * f) Requiring indemnification of licensors and authors of that
400material by anyone who conveys the material (or modified versions of
401it) with contractual assumptions of liability to the recipient, for
402any liability that these contractual assumptions directly impose on
403those licensors and authors.
404
405All other non-permissive additional terms are considered "further
406restrictions" within the meaning of section 10. If the Program as you
407received it, or any part of it, contains a notice stating that it is
408governed by this License along with a term that is a further
409restriction, you may remove that term. If a license document contains
410a further restriction but permits relicensing or conveying under this
411License, you may add to a covered work material governed by the terms
412of that license document, provided that the further restriction does
413not survive such relicensing or conveying.
414
415If you add terms to a covered work in accord with this section, you
416must place, in the relevant source files, a statement of the
417additional terms that apply to those files, or a notice indicating
418where to find the applicable terms.
419
420Additional terms, permissive or non-permissive, may be stated in the
421form of a separately written license, or stated as exceptions the
422above requirements apply either way.
423
4248. Termination.
425
426You may not propagate or modify a covered work except as expressly
427provided under this License. Any attempt otherwise to propagate or
428modify it is void, and will automatically terminate your rights under
429this License (including any patent licenses granted under the third
430paragraph of section 11).
431
432However, if you cease all violation of this License, then your license
433from a particular copyright holder is reinstated (a) provisionally,
434unless and until the copyright holder explicitly and finally
435terminates your license, and (b) permanently, if the copyright holder
436fails to notify you of the violation by some reasonable means prior to
43760 days after the cessation.
438
439Moreover, your license from a particular copyright holder is
440reinstated permanently if the copyright holder notifies you of the
441violation by some reasonable means, this is the first time you have
442received notice of violation of this License (for any work) from that
443copyright holder, and you cure the violation prior to 30 days after
444your receipt of the notice.
445
446Termination of your rights under this section does not terminate the
447licenses of parties who have received copies or rights from you under
448this License. If your rights have been terminated and not permanently
449reinstated, you do not qualify to receive new licenses for the same
450material under section 10. 9. Acceptance Not Required for Having
451Copies.
452
453You are not required to accept this License in order to receive or run
454a copy of the Program. Ancillary propagation of a covered work
455occurring solely as a consequence of using peer-to-peer transmission
456to receive a copy likewise does not require acceptance. However,
457nothing other than this License grants you permission to propagate or
458modify any covered work. These actions infringe copyright if you do
459not accept this License. Therefore, by modifying or propagating a
460covered work, you indicate your acceptance of this License to do so.
46110. Automatic Licensing of Downstream Recipients.
462
463Each time you convey a covered work, the recipient automatically
464receives a license from the original licensors, to run, modify and
465propagate that work, subject to this License. You are not responsible
466for enforcing compliance by third parties with this License.
467
468An "entity transaction" is a transaction transferring control of an
469organization, or substantially all assets of one, or subdividing an
470organization, or merging organizations. If propagation of a covered
471work results from an entity transaction, each party to that
472transaction who receives a copy of the work also receives whatever
473licenses to the work the party's predecessor in interest had or could
474give under the previous paragraph, plus a right to possession of the
475Corresponding Source of the work from the predecessor in interest, if
476the predecessor has it or can get it with reasonable efforts.
477
478You may not impose any further restrictions on the exercise of the
479rights granted or affirmed under this License. For example, you may
480not impose a license fee, royalty, or other charge for exercise of
481rights granted under this License, and you may not initiate litigation
482(including a cross-claim or counterclaim in a lawsuit) alleging that
483any patent claim is infringed by making, using, selling, offering for
484sale, or importing the Program or any portion of it. 11. Patents.
485
486A "contributor" is a copyright holder who authorizes use under this
487License of the Program or a work on which the Program is based. The
488work thus licensed is called the contributor's "contributor version".
489
490A contributor's "essential patent claims" are all patent claims owned
491or controlled by the contributor, whether already acquired or
492hereafter acquired, that would be infringed by some manner, permitted
493by this License, of making, using, or selling its contributor version,
494but do not include claims that would be infringed only as a
495consequence of further modification of the contributor version. For
496purposes of this definition, "control" includes the right to grant
497patent sublicenses in a manner consistent with the requirements of
498this License.
499
500Each contributor grants you a non-exclusive, worldwide, royalty-free
501patent license under the contributor's essential patent claims, to
502make, use, sell, offer for sale, import and otherwise run, modify and
503propagate the contents of its contributor version.
504
505In the following three paragraphs, a "patent license" is any express
506agreement or commitment, however denominated, not to enforce a patent
507(such as an express permission to practice a patent or covenant not to
508sue for patent infringement). To "grant" such a patent license to a
509party means to make such an agreement or commitment not to enforce a
510patent against the party.
511
512If you convey a covered work, knowingly relying on a patent license,
513and the Corresponding Source of the work is not available for anyone
514to copy, free of charge and under the terms of this License, through a
515publicly available network server or other readily accessible means,
516then you must either (1) cause the Corresponding Source to be so
517available, or (2) arrange to deprive yourself of the benefit of the
518patent license for this particular work, or (3) arrange, in a manner
519consistent with the requirements of this License, to extend the patent
520license to downstream recipients. "Knowingly relying" means you have
521actual knowledge that, but for the patent license, your conveying the
522covered work in a country, or your recipient's use of the covered work
523in a country, would infringe one or more identifiable patents in that
524country that you have reason to believe are valid.
525
526If, pursuant to or in connection with a single transaction or
527arrangement, you convey, or propagate by procuring conveyance of, a
528covered work, and grant a patent license to some of the parties
529receiving the covered work authorizing them to use, propagate, modify
530or convey a specific copy of the covered work, then the patent license
531you grant is automatically extended to all recipients of the covered
532work and works based on it.
533
534A patent license is "discriminatory" if it does not include within the
535scope of its coverage, prohibits the exercise of, or is conditioned on
536the non-exercise of one or more of the rights that are specifically
537granted under this License. You may not convey a covered work if you
538are a party to an arrangement with a third party that is in the
539business of distributing software, under which you make payment to the
540third party based on the extent of your activity of conveying the
541work, and under which the third party grants, to any of the parties
542who would receive the covered work from you, a discriminatory patent
543license (a) in connection with copies of the covered work conveyed by
544you (or copies made from those copies), or (b) primarily for and in
545connection with specific products or compilations that contain the
546covered work, unless you entered into that arrangement, or that patent
547license was granted, prior to 28 March 2007.
548
549Nothing in this License shall be construed as excluding or limiting
550any implied license or other defenses to infringement that may
551otherwise be available to you under applicable patent law.
552
55312. No Surrender of Others' Freedom.
554
555If conditions are imposed on you (whether by court order, agreement or
556otherwise) that contradict the conditions of this License, they do not
557excuse you from the conditions of this License. If you cannot convey a
558covered work so as to satisfy simultaneously your obligations under
559this License and any other pertinent obligations, then as a
560consequence you may not convey it at all. For example, if you agree to
561terms that obligate you to collect a royalty for further conveying
562from those to whom you convey the Program, the only way you could
563satisfy both those terms and this License would be to refrain entirely
564from conveying the Program.
565
56613. Use with the GNU Affero General Public License.
567
568Notwithstanding any other provision of this License, you have
569permission to link or combine any covered work with a work licensed
570under version 3 of the GNU Affero General Public License into a single
571combined work, and to convey the resulting work. The terms of this
572License will continue to apply to the part which is the covered work,
573but the special requirements of the GNU Affero General Public License,
574section 13, concerning interaction through a network will apply to the
575combination as such. 14. Revised Versions of this License.
576
577The Free Software Foundation may publish revised and/or new versions
578of the GNU General Public License from time to time. Such new versions
579will be similar in spirit to the present version, but may differ in
580detail to address new problems or concerns.
581
582Each version is given a distinguishing version number. If the Program
583specifies that a certain numbered version of the GNU General Public
584License "or any later version" applies to it, you have the option of
585following the terms and conditions either of that numbered version or
586of any later version published by the Free Software Foundation. If the
587Program does not specify a version number of the GNU General Public
588License, you may choose any version ever published by the Free
589Software Foundation.
590
591If the Program specifies that a proxy can decide which future versions
592of the GNU General Public License can be used, that proxy's public
593statement of acceptance of a version permanently authorizes you to
594choose that version for the Program.
595
596Later license versions may give you additional or different
597permissions. However, no additional obligations are imposed on any
598author or copyright holder as a result of your choosing to follow a
599later version.
600
60115. Disclaimer of Warranty.
602
603THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
604APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
605HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
606WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
607LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
608A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
609PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
610DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
611CORRECTION.
612
61316. Limitation of Liability.
614
615IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
616WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
617CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
618INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
619ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
620NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
621LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
622TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
623PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
624
62517. Interpretation of Sections 15 and 16.
626
627If the disclaimer of warranty and limitation of liability provided
628above cannot be given local legal effect according to their terms,
629reviewing courts shall apply local law that most closely approximates
630an absolute waiver of all civil liability in connection with the
631Program, unless a warranty or assumption of liability accompanies a
632copy of the Program in return for a fee.
633
634END OF TERMS AND CONDITIONS
635How to Apply These Terms to Your New Programs
636
637If you develop a new program, and you want it to be of the greatest
638possible use to the public, the best way to achieve this is to make it
639free software which everyone can redistribute and change under these
640terms.
641
642To do so, attach the following notices to the program. It is safest to
643attach them to the start of each source file to most effectively state
644the exclusion of warranty and each file should have at least the
645"copyright" line and a pointer to where the full notice is found.
646
647 <one line to give the program's name and a brief idea of what it does.>
648 Copyright (C) <year> <name of author>
649
650 This program is free software: you can redistribute it and/or modify
651 it under the terms of the GNU General Public License as published by
652 the Free Software Foundation, either version 3 of the License, or
653 (at your option) any later version.
654
655 This program is distributed in the hope that it will be useful,
656 but WITHOUT ANY WARRANTY without even the implied warranty of
657 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
658 GNU General Public License for more details.
659
660 You should have received a copy of the GNU General Public License
661 along with this program. If not, see <http://www.gnu.org/licenses/>.
662
663Also add information on how to contact you by electronic and paper mail.
664
665If the program does terminal interaction, make it output a short notice
666like this when it starts in an interactive mode:
667
668 <program> Copyright (C) <year> <name of author>
669 This program comes with ABSOLUTELY NO WARRANTY for details type 'show w'.
670 This is free software, and you are welcome to redistribute it
671 under certain conditions type 'show c' for details.
672
673The hypothetical commands 'show w' and 'show c' should show the
674appropriate parts of the General Public License. Of course, your
675program's commands might be different for a GUI interface, you would
676use an "about box".
677
678You should also get your employer (if you work as a programmer) or
679school, if any, to sign a "copyright disclaimer" for the program, if
680necessary. For more information on this, and how to apply and follow
681the GNU GPL, see <http://www.gnu.org/licenses/>.
682
683The GNU General Public License does not permit incorporating your
684program into proprietary programs. If your program is a subroutine
685library, you may consider it more useful to permit linking proprietary
686applications with the library. If this is what you want to do, use the
687GNU Lesser General Public License instead of this License. But first,
688please read <http://www.gnu.org/philosophy/why-not-lgpl.html>."""
689
690
691# Thanks to
692# * Barre, for the n overflow solution
693# * http://lipsum.sourceforge.net/whatis.php for source lorems and inspiration
694
695
696from string import join
697
698def get_lorem(q = 0):
699 i = -1
700
701 i += 1
702 if q == i:
703 #This text is under public domain
704 #Lorem ipsum
705 #Cicero
706 return u"""lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy
707eirmod tempor invidunt ut labore et dolore magna aliquyam erat sed diam
708voluptua at vero eos et accusam et justo duo dolores et ea rebum stet clita
709kasd gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem
710ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod
711tempor invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at
712vero eos et accusam et justo duo dolores et ea rebum stet clita kasd
713gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum
714dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod tempor
715invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at vero
716eos et accusam et justo duo dolores et ea rebum stet clita kasd gubergren no
717sea takimata sanctus est lorem ipsum dolor sit amet
718
719duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
720molestie consequat vel illum dolore eu feugiat nulla facilisis at vero eros
721et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril
722delenit augue duis dolore te feugait nulla facilisi lorem ipsum dolor sit
723amet consectetuer adipiscing elit sed diam nonummy nibh euismod tincidunt ut
724laoreet dolore magna aliquam erat volutpat
725
726ut wisi enim ad minim veniam quis nostrud exerci tation ullamcorper suscipit
727lobortis nisl ut aliquip ex ea commodo consequat duis autem vel eum iriure
728dolor in hendrerit in vulputate velit esse molestie consequat vel illum
729dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio
730dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te
731feugait nulla facilisi
732
733nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet
734doming id quod mazim placerat facer possim assum lorem ipsum dolor sit amet
735consectetuer adipiscing elit sed diam nonummy nibh euismod tincidunt ut
736laoreet dolore magna aliquam erat volutpat ut wisi enim ad minim veniam quis
737nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea
738commodo consequat
739
740duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
741molestie consequat vel illum dolore eu feugiat nulla facilisis
742
743at vero eos et accusam et justo duo dolores et ea rebum stet clita kasd
744gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum
745dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod tempor
746invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at vero
747eos et accusam et justo duo dolores et ea rebum stet clita kasd gubergren no
748sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum dolor sit
749amet consetetur sadipscing elitr at accusam aliquyam diam diam dolore
750dolores duo eirmod eos erat et nonumy sed tempor et et invidunt justo labore
751stet clita ea et gubergren kasd magna no rebum sanctus sea sed takimata ut
752vero voluptua est lorem ipsum dolor sit amet lorem ipsum dolor sit amet
753consetetur sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore
754et dolore magna aliquyam erat
755
756consetetur sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore
757et dolore magna aliquyam erat sed diam voluptua at vero eos et accusam et
758justo duo dolores et ea rebum stet clita kasd gubergren no sea takimata
759sanctus est lorem ipsum dolor sit amet lorem ipsum dolor sit amet consetetur
760sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore et dolore
761magna aliquyam erat sed diam voluptua at vero eos et accusam et justo duo
762dolores et ea rebum stet clita kasd gubergren no sea takimata sanctus est
763lorem ipsum dolor sit amet lorem ipsum dolor sit amet consetetur sadipscing
764elitr sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
765aliquyam erat sed diam voluptua at vero eos et accusam et justo duo dolores
766et ea rebum stet clita kasd gubergren no sea takimata sanctus est lorem
767ipsum dolor sit amet"""
768
769 i += 1
770 if q == i:
771 #This text is under public domain
772 #Childe Harold's Pilgrimage - Canto the first (I.-X.)
773 #Lord Byron
774 return u"""oh thou in hellas deemed of heavenly birth
775muse formed or fabled at the minstrels will
776since shamed full oft by later lyres on earth
777mine dares not call thee from thy sacred hill
778yet there ive wandered by thy vaunted rill
779yes sighed oer delphis longdeserted shrine
780where save that feeble fountain all is still
781nor mote my shell awake the weary nine
782to grace so plain a talethis lowly lay of mine
783
784whilome in albions isle there dwelt a youth
785who ne in virtues ways did take delight
786but spent his days in riot most uncouth
787and vexed with mirth the drowsy ear of night
788ah me in sooth he was a shameless wight
789sore given to revel and ungodly glee
790few earthly things found favour in his sight
791save concubines and carnal companie
792and flaunting wassailers of high and low degree
793
794childe harold was he hight but whence his name
795and lineage long it suits me not to say
796suffice it that perchance they were of fame
797and had been glorious in another day
798but one sad losel soils a name for aye
799however mighty in the olden time
800nor all that heralds rake from coffined clay
801nor florid prose nor honeyed lines of rhyme
802can blazon evil deeds or consecrate a crime
803
804childe harold basked him in the noontide sun
805disporting there like any other fly
806nor deemed before his little day was done
807one blast might chill him into misery
808but long ere scarce a third of his passed by
809worse than adversity the childe befell
810he felt the fulness of satiety
811then loathed he in his native land to dwell
812which seemed to him more lone than eremites sad cell
813
814for he through sins long labyrinth had run
815nor made atonement when he did amiss
816had sighed to many though he loved but one
817and that loved one alas could neer be his
818ah happy she to scape from him whose kiss
819had been pollution unto aught so chaste
820who soon had left her charms for vulgar bliss
821and spoiled her goodly lands to gild his waste
822nor calm domestic peace had ever deigned to taste
823
824and now childe harold was sore sick at heart
825and from his fellow bacchanals would flee
826tis said at times the sullen tear would start
827but pride congealed the drop within his ee
828apart he stalked in joyless reverie
829and from his native land resolved to go
830and visit scorching climes beyond the sea
831with pleasure drugged he almost longed for woe
832and een for change of scene would seek the shades below
833
834the childe departed from his fathers hall
835it was a vast and venerable pile
836so old it seemed only not to fall
837yet strength was pillared in each massy aisle
838monastic dome condemned to uses vile
839where superstition once had made her den
840now paphian girls were known to sing and smile
841and monks might deem their time was come agen
842if ancient tales say true nor wrong these holy men
843
844yet ofttimes in his maddest mirthful mood
845strange pangs would flash along childe harolds brow
846as if the memory of some deadly feud
847or disappointed passion lurked below
848but this none knew nor haply cared to know
849for his was not that open artless soul
850that feels relief by bidding sorrow flow
851nor sought he friend to counsel or condole
852whateer this grief mote be which he could not control
853
854and none did love him though to hall and bower
855he gathered revellers from far and near
856he knew them flatterers of the festal hour
857the heartless parasites of present cheer
858yea none did love himnot his lemans dear
859but pomp and power alone are womans care
860and where these are light eros finds a feere
861maidens like moths are ever caught by glare
862and mammon wins his way where seraphs might despair
863
864childe harold had a mothernot forgot
865though parting from that mother he did shun
866a sister whom he loved but saw her not
867before his weary pilgrimage begun
868if friends he had he bade adieu to none
869yet deem not thence his breast a breast of steel
870ye who have known what tis to dote upon
871a few dear objects will in sadness feel
872such partings break the heart they fondly hope to heal"""
873
874 i += 1
875 if q == i:
876 #This text is under public domain
877 #Decameron - Novella Prima
878 #Giovanni Boccaccio
879 return u"""convenevole cosa e carissime donne che ciascheduna cosa la quale l'uomo fa
880dallo ammirabile e santo nome di colui il quale di tutte fu facitore le dea
881principio per che dovendo io al vostro novellare sí come primo dare
882cominciamento intendo da una delle sue maravigliose cose incominciare accio
883che quella udita la nostra speranza in lui sí come in cosa impermutabile si
884fermi e sempre sia da noi il suo nome lodato manifesta cosa e che sí come le
885cose temporali tutte sono transitorie e mortali cosí in sé e fuor di sé
886esser piene di noia d'angoscia e di fatica e a infiniti pericoli sogiacere
887alle quali senza niuno fallo né potremmo noi che viviamo mescolati in esse e
888che siamo parte d'esse durare né ripararci se spezial grazia di dio forza e
889avvedimento non ci prestasse la quale a noi e in noi non e da credere che
890per alcun nostro merito discenda ma dalla sua propria benignita mossa e da'
891prieghi di coloro impetrata che sí come noi siamo furon mortali e bene i
892suoi piaceri mentre furono in vita seguendo ora con lui eterni son divenuti
893e beati alli quali noi medesimi sí come a procuratori informati per
894esperienza della nostra fragilita forse non audaci di porgere i prieghi
895nostri nel cospetto di tanto giudice delle cose le quali a noi reputiamo
896oportune gli porgiamo e ancora piú in lui verso noi di pietosa liberalita
897pieno discerniamo che non potendo l'acume dell'occhio mortale nel segreto
898della divina mente trapassare in alcun modo avvien forse tal volta che da
899oppinione ingannati tale dinanzi alla sua maesta facciamo procuratore che da
900quella con etterno essilio e iscacciato e nondimeno esso al quale niuna cosa
901e occulta piú alla purita del pregator riguardando che alla sua ignoranza o
902allo essilio del pregato cosí come se quegli fosse nel suo cospetto beato
903essaudisce coloro che 'l priegano il che manifestamente potra apparire nella
904novella la quale di raccontare intendo manifestamente dico non il giudicio
905di dio ma quel degli uomini seguitando"""
906
907 i += 1
908 if q == i:
909 #This text is under public domain
910 #Faust: Der Tragödie erster Teil
911 #Johann Wolfgang von Goethe
912 return u"""ihr naht euch wieder schwankende gestalten
913die früh sich einst dem trüben blick gezeigt
914versuch ich wohl euch diesmal festzuhalten
915fühl ich mein herz noch jenem wahn geneigt
916ihr drängt euch zu nun gut so mögt ihr walten
917wie ihr aus dunst und nebel um mich steigt
918mein busen fühlt sich jugendlich erschüttert
919vom zauberhauch der euren zug umwittert
920
921ihr bringt mit euch die bilder froher tage
922und manche liebe schatten steigen auf
923gleich einer alten halbverklungnen sage
924kommt erste lieb und freundschaft mit herauf
925der schmerz wird neu es wiederholt die klage
926des lebens labyrinthisch irren lauf
927und nennt die guten die um schöne stunden
928vom glück getäuscht vor mir hinweggeschwunden
929
930sie hören nicht die folgenden gesänge
931die seelen denen ich die ersten sang
932zerstoben ist das freundliche gedränge
933verklungen ach der erste widerklang
934mein lied ertönt der unbekannten menge
935ihr beifall selbst macht meinem herzen bang
936und was sich sonst an meinem lied erfreuet
937wenn es noch lebt irrt in der welt zerstreuet
938
939und mich ergreift ein längst entwöhntes sehnen
940nach jenem stillen ernsten geisterreich
941es schwebet nun in unbestimmten tönen
942mein lispelnd lied der äolsharfe gleich
943ein schauer faßt mich träne folgt den tränen
944das strenge herz es fühlt sich mild und weich
945was ich besitze seh ich wie im weiten
946und was verschwand wird mir zu wirklichkeiten"""
947
948 i += 1
949 if q == i:
950 #This text is under public domain
951 #In der Fremde
952 #Heinrich Heine
953 return u"""es treibt dich fort von ort zu ort
954du weißt nicht mal warum
955im winde klingt ein sanftes wort
956schaust dich verwundert um
957
958die liebe die dahinten blieb
959sie ruft dich sanft zurück
960o komm zurück ich hab dich lieb
961du bist mein einz'ges glück
962
963doch weiter weiter sonder rast
964du darfst nicht stillestehn
965was du so sehr geliebet hast
966sollst du nicht wiedersehn
967
968du bist ja heut so grambefangen
969wie ich dich lange nicht geschaut
970es perlet still von deinen wangen
971und deine seufzer werden laue
972
973denkst du der heimat die so ferne
974so nebelferne dir verschwand
975gestehe mir's du wärest gerne
976manchmal im teuren vaterland
977
978denkst du der dame die so niedlich
979mit kleinem zürnen dich ergötzt
980oft zürntest du dann ward sie friedlich
981und immer lachtet ihr zuletzt
982
983denkst du der freunde die da sanken
984an deine brust in großer stund'
985im herzen stürmten die gedanken
986jedoch verschwiegen blieb der mund
987
988denkst du der mutter und der schwester
989mit beiden standest du ja gut
990ich glaube gar es schmilzt mein bester
991in deiner brust der wilde mut
992
993denkst du der vögel und der bäume
994des schönen gartens wo du oft
995geträumt der liebe junge träume
996wo du gezagt wo du gehofft
997
998es ist schon spät die nacht ist helle
999trübhell gefärbt vom feuchten schnee
1000ankleiden muß ich mich nun schnelle
1001und in gesellschaft gehn o weh"""
1002
1003 i += 1
1004 if q == i:
1005 #This text is under public domain
1006 #Le Bateau Ivre
1007 #Arthur Baudelaire
1008 return u"""comme je descendais des fleuves impassibles
1009je ne me sentis plus guidé par les haleurs
1010des peaux-rouges criards les avaient pris pour cibles
1011les ayant cloués nus aux poteaux de couleurs
1012
1013j'étais insoucieux de tous les équipages
1014porteur de blés flamands ou de cotons anglais
1015quand avec mes haleurs ont fini ces tapages
1016les fleuves m'ont laissé descendre ou je voulais
1017
1018dans les clapotements furieux des marées
1019moi l'autre hiver plus sourd que les cerveaux d'enfants
1020je courus et les péninsules démarrées
1021n'ont pas subi tohu-bohus plus triomphants
1022
1023la tempete a béni mes éveils maritimes
1024plus léger qu'un bouchon j'ai dansé sur les flots
1025qu'on appelle rouleurs éternels de victimes
1026dix nuits sans regretter l'oeil niais des falots
1027
1028plus douce qu'aux enfants la chair des pommes sures
1029l'eau verte pénétra ma coque de sapin
1030et des taches de vins bleus et des vomissures
1031me lava dispersant gouvernail et grappin
1032
1033et des lors je me suis baigné dans le poeme
1034de la mer infusé d'astres et lactescent
1035dévorant les azurs verts ou flottaison bleme
1036et ravie un noyé pensif parfois descend
1037
1038ou teignant tout a coup les bleuités délires
1039et rythmes lents sous les rutilements du jour
1040plus fortes que l'alcool plus vastes que nos lyres
1041fermentent les rousseurs ameres de l'amour
1042
1043je sais les cieux crevant en éclairs et les trombes
1044et les ressacs et les courants je sais le soir
1045l'aube exaltée ainsi qu'un peuple de colombes
1046et j'ai vu quelque fois ce que l'homme a cru voir
1047
1048j'ai vu le soleil bas taché d'horreurs mystiques
1049illuminant de longs figements violets
1050pareils a des acteurs de drames tres-antiques
1051les flots roulant au loin leurs frissons de volets
1052
1053j'ai revé la nuit verte aux neiges éblouies
1054baiser montant aux yeux des mers avec lenteurs
1055la circulation des seves inouies
1056et l'éveil jaune et bleu des phosphores chanteurs
1057
1058j'ai suivi des mois pleins pareille aux vacheries
1059hystériques la houle a l'assaut des récifs
1060sans songer que les pieds lumineux des maries
1061pussent forcer le mufle aux océans poussifs
1062
1063j'ai heurté savez-vous d'incroyables florides
1064melant aux fleurs des yeux de pantheres a peaux
1065d'hommes des arcs-en-ciel tendus comme des brides
1066sous l'horizon des mers a de glauques troupeaux
1067
1068j'ai vu fermenter les marais énormes nasses
1069ou pourrit dans les joncs tout un léviathan
1070des écroulement d'eau au milieu des bonaces
1071et les lointains vers les gouffres cataractant
1072
1073glaciers soleils d'argent flots nacreux cieux de braises
1074échouages hideux au fond des golfes bruns
1075ou les serpents géants dévorés de punaises
1076choient des arbres tordus avec de noirs parfums
1077
1078j'aurais voulu montrer aux enfants ces dorades
1079du flot bleu ces poissons d'or ces poissons chantants
1080- des écumes de fleurs ont bercé mes dérades
1081et d'ineffables vents m'ont ailé par instants
1082
1083parfois martyr lassé des pôles et des zones
1084la mer dont le sanglot faisait mon roulis doux
1085montait vers moi ses fleurs d'ombres aux ventouses jaunes
1086et je restais ainsi qu'une femme a genoux
1087
1088presque île balottant sur mes bords les querelles
1089et les fientes d'oiseaux clabaudeurs aux yeux blonds
1090et je voguais lorsqu'a travers mes liens freles
1091des noyés descendaient dormir a reculons
1092
1093or moi bateau perdu sous les cheveux des anses
1094jeté par l'ouragan dans l'éther sans oiseau
1095moi dont les monitors et les voiliers des hanses
1096n'auraient pas repeché la carcasse ivre d'eau
1097
1098libre fumant monté de brumes violettes
1099moi qui trouais le ciel rougeoyant comme un mur
1100qui porte confiture exquise aux bons poetes
1101des lichens de soleil et des morves d'azur
1102
1103qui courais taché de lunules électriques
1104planche folle escorté des hippocampes noirs
1105quand les juillets faisaient crouler a coups de triques
1106les cieux ultramarins aux ardents entonnoirs
1107
1108moi qui tremblais sentant geindre a cinquante lieues
1109le rut des béhémots et les maelstroms épais
1110fileur éternel des immobilités bleues
1111je regrette l'europe aux anciens parapets
1112
1113j'ai vu des archipels sidéraux et des îles
1114dont les cieux délirants sont ouverts au vogueur
1115- est-ce en ces nuits sans fond que tu dors et t'exiles
1116million d'oiseaux d'or ô future vigueur -
1117
1118mais vrai j'ai trop pleuré les aubes sont navrantes
1119toute lune est atroce et tout soleil amer
1120l'âcre amour m'a gonflé de torpeurs enivrantes
1121ô que ma quille éclate ô que j'aille a la mer
1122
1123si je désire une eau d'europe c'est la flache
1124noire et froide ou vers le crépuscule embaumé
1125un enfant accroupi plein de tristesses lâche
1126un bateau frele comme un papillon de mai
1127
1128je ne puis plus baigné de vos langueurs ô lames
1129enlever leur sillage aux porteurs de cotons
1130ni traverser l'orgueil des drapeaux et des flammes
1131ni nager sous les yeux horribles des pontons"""
1132
1133 i += 1
1134 if q == i:
1135 #This text is under public domain
1136 #Le Masque
1137 #Arthur Rembaud
1138 return u"""contemplons ce trésor de grâces florentines
1139dans l'ondulation de ce corps musculeux
1140l'elégance et la force abondent soeurs divines
1141cette femme morceau vraiment miraculeux
1142divinement robuste adorablement mince
1143est faite pour trôner sur des lits somptueux
1144et charmer les loisirs d'un pontife ou d'un prince
1145
1146aussi vois ce souris fin et voluptueux
1147ou la fatuité promene son extase
1148ce long regard sournois langoureux et moqueur
1149ce visage mignard tout encadré de gaze
1150dont chaque trait nous dit avec un air vainqueur
1151«la volupté m'appelle et l'amour me couronne»
1152a cet etre doué de tant de majesté
1153vois quel charme excitant la gentillesse donne
1154approchons et tournons autour de sa beauté
1155
1156ô blaspheme de l'art ô surprise fatale
1157la femme au corps divin promettant le bonheur
1158par le haut se termine en monstre bicéphale
1159
1160mais non ce n'est qu'un masque un décor suborneur
1161ce visage éclairé d'une exquise grimace
1162et regarde voici crispée atrocement
1163la véritable tete et la sincere face
1164renversée a l'abri de la face qui ment
1165pauvre grande beauté le magnifique fleuve
1166de tes pleurs aboutit dans mon coeur soucieux
1167ton mensonge m'enivre et mon âme s'abreuve
1168aux flots que la douleur fait jaillir de tes yeux
1169
1170mais pourquoi pleure-t-elle elle beauté parfaite
1171qui mettrait a ses pieds le genre humain vaincu
1172quel mal mystérieux ronge son flanc d'athlete
1173
1174elle pleure insensé parce qu'elle a vécu
1175et parce qu'elle vit mais ce qu'elle déplore
1176surtout ce qui la fait frémir jusqu'aux genoux
1177c'est que demain hélas il faudra vivre encore
1178demain apres-demain et toujours comme nous"""
1179
1180 i += 1
1181 if q == i:
1182 #This text is under public domain
1183 #Nagyon fáj
1184 #József Attila
1185 return u"""kivül belõl
1186leselkedõ halál elõl
1187mint lukba megriadt egérke
1188
1189amíg hevülsz
1190az asszonyhoz úgy menekülsz
1191hogy óvjon karja öle térde
1192
1193nemcsak a lágy
1194meleg öl csal nemcsak a vágy
1195de odataszít a muszáj is
1196
1197ezért ölel
1198minden ami asszonyra lel
1199míg el nem fehérül a száj is
1200
1201kettõs teher
1202s kettõs kincs hogy szeretni kell
1203ki szeret s párra nem találhat
1204
1205oly hontalan
1206mint amilyen gyámoltalan
1207a szükségét végzõ vadállat
1208
1209nincsen egyéb
1210menedékünk a kés hegyét
1211bár anyádnak szegezd te bátor
1212
1213és lásd akadt
1214nõ ki érti e szavakat
1215de mégis ellökött magától
1216
1217nincsen helyem
1218így élõk közt zúg a fejem
1219gondom s fájdalmam kicifrázva
1220
1221mint a gyerek
1222kezében a csörgõ csereg
1223ha magára hagyottan rázza
1224
1225mit kellene
1226tenni érte és ellene
1227nem szégyellem ha kitalálom
1228
1229hisz kitaszít
1230a világ így is olyat akit
1231kábít a nap rettent az álom
1232
1233a kultúra
1234úgy hull le rólam mint ruha
1235másról a boldog szerelemben
1236
1237de az hol áll
1238hogy nézze mint dobál halál
1239s még egyedül kelljen szenvednem
1240
1241a csecsemõ
1242is szenvedi ha szül a nõ
1243páros kínt enyhíthet alázat
1244
1245de énnekem
1246pénzt hoz fájdalmas énekem
1247s hozzám szegõdik a gyalázat
1248
1249segítsetek
1250ti kisfiúk a szemetek
1251pattanjon meg ott õ ahol jár
1252
1253ártatlanok
1254csizmák alatt sikongjatok
1255és mondjátok neki¨nagyon fáj
1256
1257ti hû ebek
1258kerék alá kerüljetek
1259s ugassátok neki nagyon fáj
1260
1261nõk terhetek
1262viselõk elvetéljetek
1263és sírjátok neki nagyon fáj
1264
1265ép emberek
1266bukjatok öszetörjetek
1267s motyogjatok neki nagyon fáj
1268
1269ti férfiak
1270egymást megtépve nõ miatt
1271ne hallgassátok el nagyon fáj
1272
1273lovak bikák
1274kiket hogy húzzatok igát
1275herélnek ríjjátok nagyon fáj
1276
1277néma halak
1278horgot kapjatok jég alatt
1279és tátogjatok rá nagyon fáj
1280
1281elevenek
1282minden mi kíntól megremeg
1283égjen hol laktok kert vadon táj
1284
1285s ágya körül
1286üszkösen ha elszenderül
1287vakogjatok velem nagyon fáj
1288
1289hallja míg él
1290azt tagadta meg amit ér
1291elvonta puszta kénye végett
1292
1293kivül belõl
1294menekülõ élõ elõl
1295a legutolsó menedéket"""
1296
1297 i += 1
1298 if q == i:
1299 #This text is under public domain
1300 #Ómagyar-Mária siralom
1301 #Ismeretlen
1302 return u"""volek syrolm thudothlon syrolmol sepedyk buol ozuk epedek walasth vylagumtul
1303sydou fyodumtul ezes urumemtuul o en eses urodum eggen yg fyodum syrou aniath
1304thekunched buabeleul kyniuhhad scemem kunuel arad en iunhum buol farad the
1305werud hullothya en iunhum olelothya vylag uilaga viragnac uiraga keseruen
1306kynzathul uos scegegkel werethul vh nequem en fyon ezes mezuul scegenul
1307scepsegud wirud hioll wyzeul syrolmom fuhazatum therthetyk kyul en iumhumnok
1308bel bua qui sumha nym kyul hyul wegh halal engumet eggedum illen maraggun
1309urodum kyth wylag felleyn o ygoz symeonnok bezzeg scouuo ere en erzem ez
1310buthuruth kyt niha egyre tuled ualmun de num ualallal hul yg kynzassal fyom
1311halallal sydou myth thez turuentelen fyom merth hol byuntelen fugwa huztuzwa
1312wklelue kethwe ulud keguggethuk fyomnok ne leg kegulm mogomnok owog halal
1313kynaal anyath ezes fyaal egembelu ullyetuk"""
1314
1315 i += 1
1316 if q == i:
1317 #This text is under public domain
1318 #Robinsono Kruso (Esperanto)
1319 #Daniel Defoe
1320 return u"""mi naskigxis en jorko anglujo je marto kiu estas la
1321sesjarrego de la regxo karolo la unua infane mi sentadis grandan
1322deziron por pasigi mian vivon sur la maro kaj pliagxante la deziro
1323plifortigxis gxis fine mi forlasis mian lernejon kaj hejmon kaj
1324piede mi trovis mian vojon al hull kie mi baldaux trovis okupadon sur
1325sxipo
1326
1327post kiam ni velveturis kelke da tagoj okazis ventego kaj kvinanokte
1328la sxipo enfendigxis cxiuj al la pumpiloj rapidis la sxipon ni sentis
1329gxemi en cxiuj siaj tabuloj kaj gxian trabajxon ektremi de la antauxa gxis
1330la posta parto kaj baldaux klarigxis ke ne estas ia espero por gxi kaj
1331ke cxio kion ni povas fari estas savi niajn vivojn
1332
1333unue ni pafadis pafilegojn por venigi helpon kaj post kelke da
1334tempo sxipo kusxante ne malproksime alsendis boaton por helpi nin sed
1335la maro estis tro maltrankvila por gxi restadi sxipflanke tial ni
1336eljxetis sxnuregon kiun la boatanoj ekkaptis kaj firme fiksis kaj
1337tiamaniere ni cxiuj enboatigxis
1338
1339tamen vanigxis en tia maltrankvila maro por peni albordigxi la sxipon
1340kiu alsendis la virojn aux aluzi la remilojn de la boato kaj ni ne
1341povis ion fari krom gxin lasi peligxi teron
1342
1343duonhore nia sxipo trafis rifon kaj subakvigxis kaj gxin ni ne vidis
1344plu tre malrapide ni alproksimigxis teron kiun iafoje ni vidis kiam
1345ajn la boato levigxis sur la supro de ia alta ondo kaj tie ni vidis
1346homojn kurante amase tien kaj reen havante unu celon savi nin
1347
1348fine gxojege ni surterigxis kie bonsxance ni renkontis amikojn kiuj
1349donis al ni helpon por reveturi al hull kaj se tiam mi havus la
1350bonan sencon por iri hejmon estus pli bone por mi
1351
1352la viro kies sxipo subakvigxis diris kun grava mieno junulo ne iru
1353plu surmaron tiu ne estas la vivmaniero por vi kial do sinjoro
1354vi mem iros plu surmaron tiu estas alia afero mi estas elnutrita
1355por la maro sed vi ne estas vi venis sur mian sxipon por eltrovi la
1356staton de vivo surmara kaj vi povas diveni tion kio okazos al vi se
1357vi ne reiros hejmon dio ne benos vin kaj eble vi kauxzis tiun-cxi
1358tutan malbonon al ni
1359
1360mi ne parolis alian vorton al li kiun vojon li iris mi nek scias
1361nek deziris sciigxi cxar mi estis ofendita pro tiu-cxi malgxentila
1362parolado mi multe pensis cxu iri hejmon aux cxu iradi surmaron honto
1363detenis min pri iri hejmon kaj mi ne povis decidi la vivkuron kiun
1364mi estis ironta
1365
1366kiel estis mia sorto travive cxiam elekti la plej malbonon tiel same
1367mi nun faris mi havis oron en mia monujo kaj bonan vestajxon sur mia
1368korpo sed surmaron mi ree iris
1369
1370sed nun mi havis pli malbonan sxancon ol iam cxar kiam ni estis tre
1371malproksime enmaro kelke da turkoj en sxipeto plencxase alproksimigxis
1372al ni ni levis tiom da veloj kiom niaj velstangoj povis elporti por
1373ke ni forkuru de ili tamen malgraux tio ni vidis ke niaj malamikoj
1374pli kaj pli alproksimigxis kaj certigxis ke baldaux ili atingos nian
1375sxipon
1376
1377fine ili atingis nin sed ni direktis niajn pafilegojn sur ilin kio
1378kauxzis portempe ke ili deflanku sian vojon sed ili dauxrigis pafadon
1379sur ni tiel longe kiel ili estis en pafspaco proksimigxante la duan
1380fojon kelkaj viroj atingis la ferdekon de nia sxipo kaj ektrancxis la
1381velojn kaj ekfaris cxiuspecajn difektajxojn tial post kiam dek el
1382niaj sxipanoj kusxas mortitaj kaj la plimulto el la ceteraj havas
1383vundojn ni kapitulacis
1384
1385la cxefo de la turkoj prenis min kiel sian rabajxon al haveno okupita
1386de mauxroj li ne agis al mi tiel malbone kiel mi lin unue jugxis sed
1387li min laborigis kun la ceteraj de siaj sklavoj tio estis sxangxo en
1388mia vivo kiun mi neniam antauxvidis ho ve kiom mia koro malgxojis
1389pensante pri tiuj kiujn mi lasis hejme al kiuj mi ne montris tiom da
1390komplezemo kiom diri adiauxi kiam mi iris surmaron aux sciigi tion
1391kion mi intencas fari
1392
1393tamen cxio kion mi travivis tiam estas nur antauxgusto de la penadoj
1394kaj zorgoj kiujn de tiam estis mia sorto suferi
1395
1396unue mi pensis ke la turko kunprenos min kun si kiam li ree iros
1397surmaron kaj ke mi iel povos liberigxi sed la espero nelonge dauxris
1398cxar tiatempe li lasis min surtere por prizorgi liajn rikoltojn
1399tiamaniere mi vivis du jarojn tamen la turko konante kaj vidante min
1400plu min pli kaj pli liberigis li unufoje aux dufoje cxiusemajne
1401veturis en sia boato por kapti iajn platfisxojn kaj iafoje li
1402kunprenis min kaj knabon kun si cxar ni estas rapidaj cxe tia sporto
1403kaj tial li pli kaj pli sxatis min
1404
1405unu tagon la turko elsendis min viron kaj knabon boate por kapti
1406kelke da fisxoj surmare okazas tia densa nebulo ke dekduhore ni ne
1407povas vidi la teron kvankam ni ne estas pli ol duonmejlon 00
1408metrojn de la terbordo kaj morgauxtage kiam la suno levigxis nia
1409boato estas enmaro almenaux dek mejlojn kilometrojn de la
1410terbordo la vento vigle blovis kaj ni cxiuj tre bezonis nutrajxon sed
1411fine per la helpo de remiloj kaj veloj ni sendangxere reatingis la
1412terbordon
1413
1414kiam la turko sciigxis kiamaniere ni vojperdis li diris ke de nun
1415kiam li velveturos li prenos boaton kiu enhavos cxion kion ni
1416bezonus se ni longatempe estus detenataj surmare tial li farigis
1417grandan kajuton en la longboato de sia sxipo kiel ankaux cxambron por ni
1418sklavoj unu tagon li min sendis por ke mi ordigu la boaton pro tio
1419ke li havas du amikojn kiuj intencas veturi kun li por fisxkapti sed
1420kiam la tempo alvenis ili ne veturas tial li sendis min viron kaj
1421knabon -- kies nomo estas zuro -- por kapti kelke da fisxoj por la
1422gastoj kiuj estas vespermangxontaj kun li
1423
1424subite eniris en mian kapon la ideo ke nun estas bona okazo boate
1425forkuri kaj liberigxi tial mi tuj prenis tiom da nutrajxo kiom mi
1426povas havigi kaj mi diris al la viro ke estus tro malrespekte
1427mangxante la panon metitan en la boaton por la turko li diris ke li
1428pensas tiel same tial li alportis sakon da rizo kaj kelke da ruskoj
1429kukoj
1430
1431dum la viro estis surtere mi provizis iom da vino pecegon da vakso
1432segilon hakilon fosilon iom da sxnurego kaj cxiuspecajn objektojn
1433kiuj eble estos utilaj al ni mi sciis kie trovigxas la vinkesto de la
1434turko kaj mi gxin metis surboaton dum la viro estas surtere per alia
1435ruzo mi havigis cxion kion mi bezonis mi diris al la knabo la
1436pafiloj de la turko estas en la boato sed ne trovigxas ia pafajxo cxu
1437vi pensas ke vi povas havigi iom da gxi vi scias kie gxi estas
1438konservata kaj eble ni volos pafi birdon aux du li do alportis kesto
1439kaj saketon kiuj enhavas cxion kion ni eble bezonas por la pafiloj
1440tiujn-cxi mi metis surboaton kaj poste velveturis por fisxkapti
1441
1442la vento blovis de la nordo aux nordokcidento tia vento estis malbona
1443por mi cxar se gxi estus de la sudo mi estus povinta velveturi al la
1444terbordo de hispanujo tamen de kiu ajn loko la vento blovos mi
1445estis decidinta forkuri kaj lasi la ceterajn al ilia sorto mi do
1446mallevis miajn hokfadenojn kvazaux fisxkapti sed mi zorgis ke mi havu
1447malbonan sukceson kaj kiam la fisxoj mordis mi ilin ne eltiris cxar
1448mi deziris ke la mauxro ilin ne vidu mi diris al li tiu-cxi loko
1449estas nebona ni ne kaptos fisxojn tie-cxi ni devas iom antauxen iri
1450nu la mauxro pensis ke tion fari ne estos malbone li levis la
1451velojn kaj cxar la direktilo estis en miaj manoj mi elsendis la
1452boaton unu mejlon aux plu enmaron kaj poste gxin haltigis kvazaux mi
1453intencas fisxkapti
1454
1455nun mi pripensis tiu-cxi estas mia okazo liberigxi tial mi transdonis
1456la direktilon al la knabo kaj tiam ekprenis la mauxron cxirkaux la
1457talio kaj eljxetis lin el la boato
1458
1459malsupren li falis sed baldaux reaperis por ke li povis nagxi kvazaux
1460anaso li diris ke li volonte irus cxirkaux la mondo kun mi se mi
1461enprenus lin
1462
1463iom timante ke li surrampos la boatflankon kaj reenigxos perforte mi
1464direktis mian pafilon sur lin kaj diris vi facile povas nagxi
1465alteron se vi tion deziras tial rapidigxu tien plie se vi reen
1466alproksimigxos la boaton vi ricevos kuglon tra la kapo cxar mi de nun
1467intencas esti libera viro
1468
1469tiam li eknagxis kaj sendube sendangxere atingis la terbordon cxar la
1470maro estis tre trankvila
1471
1472unue mi intencis kunpreni la mauxron kun mi kaj nagxigi zuron alteron
1473sed la mauxro ne estis viro pri kiu mi povis konfidi
1474
1475post kiam li forigxis mi diris al zuro se vi jxuros ke vi estos
1476fidela al mi vi iam farigxos grava viro se vi ne jxuros mi certe
1477ankaux vin eljxetos el la boato
1478
1479la knabo tiel dolcxe ridetis kiam li jxuris resti fidela al mi ke mi
1480lin ne povis dubi en mia koro
1481
1482dum ankoraux ni povis vidi la mauxron survoje alteren ni antauxen iris
1483enmaron por ke li kaj tiuj kiuj nin vidis de la terbordo kredu ke
1484ni iros al la influejo de la markolo cxar neniu velveturis al la suda
1485marbordo cxar tie logxas gento da homoj kiuj laux sciigoj mortigas kaj
1486mangxas siajn malamikojn
1487
1488tiam mi direktis mian veturadon oriente por ke ni lauxlongiru la
1489marbordon kaj havante favoron venton kaj trankvilan maron ni
1490morgauxtagmeze estis malapud kaj preter la povo de la turko
1491
1492ankoraux mi timis ke mi estus kaptota de la mauxroj tial mi ne volis
1493iri surteron tage duonlume ni direktis nian boaton alteren kaj
1494atingis la enfluejon riveretan de kiu mi pensis ni povos nagxi
1495surteron kaj tiam rigardi la cxirkauxajxojn sed kiam malheligxis la
1496lumo ni auxdis strangajn sonojn bojojn kriegojn gruntojn
1497blekadojn la malfelicxa knabo diris ke li ne kuragxas iri surteron
1498antaux la tagigxo nu mi diris tiuokaze ni atendu sed tage
1499povas vidi nin la homoj kiuj eble nin pli malhelpos ol sovagxaj
1500bestoj tiam ni pafilos ilin ridante diris zuro kaj forkurigu
1501ilin
1502
1503mi gxojis vidi ke la knabo montras tiom da gajeco kaj mi donis al li
1504iom da pano kaj rizo tiunokte ni silente ripozis sed ne longe
1505dormis cxar post kelke da horoj iaj grandegaj bestoj malsuprenvenis
1506al la maro por sin bani la malfelicxa knabo ektremis de kapo al
1507piedoj pro la vidajxo unu el tiuj bestoj alproksimigxis nian boaton
1508kaj kvankam estis tro mallume por gxin bone vidi ni auxdis gxin blovi
1509kaj sciis pro gxia bruego ke gxi certe estas granda fine la bruto
1510tiom alproksimigxis la boaton kiom la longeco de du remiloj tial mi
1511pafis sur gxin kaj gxi nagxis alteren
1512
1513la blekegoj kaj kriegoj kiujn faris bestoj kaj birdoj pro la bruo de
1514mia pafilo sxajne montris ke ni faris malbonan elekton por surterejo
1515sed vole ne vole ni devis iri surtere por sercxi fresxan fonton por
1516ke ni povu plenigi niajn barelojn zuro diris ke li eltrovus cxu la
1517fontaj akvoj tauxgas por trinki se mi permesus al li preni unu el la
1518botelegoj kaj ke li gxin reportos plenigitan se la akvo estas bona
1519kial vi volas iri mi diris kial mi ne estas ironta vi povas
1520resti en la boato kontrauxe zuro diris se la sovagxuloj venos ili
1521min mangxu sed vi forkuru mi devis ami la junulon pro la afabla
1522parolado nu mi diris ni ambaux iros kaj se la sovagxuloj venos
1523ni ilin mortigu ja ili ne mangxos aux vin aux min
1524
1525mi donis al zuro iom da rumo el la kesto de la turko por reforti lin
1526kaj ni iris surteron la knabo ekiris kun sia pafilo mejlon de la
1527loko kie ni surteriris kaj li revenis kun leporo kiun li mortpafis
1528kaj kiun ni gxoje kuiris kaj mangxis laux la bona novajxo kiun li
1529raportis li eltrovis fonton kaj ne vidis sovagxulojn
1530
1531mi divenis ke la promontoro de la verdaj insuloj ne estas
1532malproksime cxar mi vidis la supron de la granda pinto kiun kiel mi
1533sciis estas apud ili mia sola espero estis ke lauxlongirante la
1534terbordon ni trovos sxipon kiu ensxipigos nin kaj tiam kaj ne antaux
1535tiam mi sentos kvazaux libera viro unuvorte mi konfidis mian sorton
1536al la sxanco aux renkonti ian sxipon aux morti
1537
1538surteron ni ekvidis iujn homojn kiuj staras kaj rigardas nin ili
1539estis nigraj kaj ne portis vestajxon mi estus irinta surteron al ili
1540sed zuro -- kiu sciis plej bone -- diris ne vi iru ne vi iru tial
1541mi direktis la boaton lauxteron por ke mi povu paroli kun ili kaj ili
1542longaspace iradis laux ni mi ekvidis ke unu havas lancon en mano
1543
1544mi faris signojn ke ili alportu iom da nutrajxo al mi kaj ili
1545siaparte faris signojn ke mi haltu mian boaton tial mi demetis la
1546supran parton de mia velo kaj haltis tiam du el ili ekforkuris kaj
1547duonhore revenis kun iom da sekigxita viando kaj ia greno kiu kreskas
1548en tiu parto de la mondo tion-cxi ni deziregis sed ne sciis kiel
1549havigi gxin cxar ni ne kuragxis iri surteron al ili nek ili kuragxis
1550alproksimigxi al ni
1551
1552fine ili eltrovis peron sendangxeran por ni cxiuj alportante la
1553nutrajxon al la marbordo ili gxin demetis kaj tre fortirigis si mem dum
1554ni gxin prenis ni faris signojn por montri nian dankon ne havante ion
1555alian kion ni povas doni al ili sed bonsxance ni baldaux kaptis
1556grandan donacon por ili cxar du sovagxaj bestoj de la sama speco pri
1557kiu mi jam priparolis venis plencxase de la montetoj al la maro
1558
1559ili nagxis kvazaux ili venis por sportigi cxiuj forkuris de ili krom
1560tiu kiu portas la lancon unu el tiuj bestoj alproksimigxis nian
1561boaton tial mi gxin atendis kun mia pafilo kaj tuj kiam gxi estis en
1562pafspaco mi gxin pafis tra la kapo dufoje gxi subakvigxis kaj dufoje gxi
1563suprenlevigxis kaj poste gxi nagxis alteren kaj falis senviva la viroj
1564tiom timis pro la pafilbruo kiom ili antauxe timis je la vidajxo de la
1565bestoj sed kiam mi faris signojn por ke ili venu al la marbordo ili
1566tuj venis
1567
1568ili rapidis al sia rabajxo kaj tordante cxirkaux gxi sxnuregon ili gxin
1569sendangxere eltiris surteron
1570
1571ni nun lasis niajn sovagxulojn kaj iradis dekdu tagojn plu la terbordo
1572antaux ni etendis sin kvar aux kvin mejlojn aux kilometrojn
1573bekforme kaj ni devis veturi iom de la terbordo por atingi tiun
1574terpinton tiel ke ni portempe ne vidis teron
1575
1576mi konfidis la direktilon al zuro kaj sidigxis por pripensi tion kion
1577estos plej bone nun fari kiam subite mi auxdis ke la knabo krias
1578sxipon kun velo sxipon kun velo li ne montris multe da gxojo je la
1579vidajxo opiniante ke la sxipo venis por repreni lin sed mi bone
1580scias laux la sxajno ke gxi ne estas iu el la sxipoj de la turko
1581
1582mi levis kiel eble plej multe da veloj por renkonti la sxipon gxiavoje
1583kaj ordonis al zuro ke li ekpafu pafilon cxar mi esperis ke se tiuj
1584kiuj estas sur la ferdeko ne povus auxdi la sonon ili vidus la
1585fumigadon ili ja gxin vidis kaj tuj demetis siajn velojn por ke ni
1586povu atingi ilin kaj trihore ni estis cxe la sxipflanko la viroj
1587parolis kun ni per la franca lingvo sed ni ne povis kompreni tion
1588kion ili diras fine skoto sursxipe diris per mia lingvo kiu vi
1589estas de kien vi venas mi diris al li iomvorte kiel mi liberigxis
1590de la mauxroj
1591
1592tiam la sxipestro invitis min veni sxipbordon kaj ensxipis min zuron
1593kaj cxiujn miajn posedajxojn mi diris al li ke li havu cxion kion mi
1594havas sed li respondis vi estas rericevonta viajn posedajxojn post
1595kiam ni atingos teron cxar mi por vi nur faris tion kion por mi vi
1596farus samstate
1597
1598li pagis al mi multan monon por mia boato kaj diris ke mi ricevos
1599egalan monon por zuro se mi lin fordonus sed mi diris al li ke
1600liberigxinte kun helpo de la knabo mi lin ne volas vendi li diris ke
1601estas juste kaj prave por mi tiel senti sed se mi decidus fordoni
1602zuron li estus liberigota dujare tial cxar la sklavo deziris iri mi
1603nenial diris ne trisemajne mi alvenis al cxiuj sanktuloj golfeto kaj
1604nun mi estis liberulo
1605
1606mi ricevis multan monon por cxiujn miaj posedajxoj kaj kun gxi mi iris
1607surteron sed mi tute ne sciis kion nun fari fine mi renkontis
1608viron kies stato estas laux la mia kaj ni ambaux akiris pecon da tero
1609por gxin prilabori mia farmilaro laux la lia estis malgranda sed ni
1610produktigis la farmojn suficxe por subteni nin sed ne plu ni bezonis
1611helpon kaj nun mi eksentis ke mi eraris ellasante la knabon
1612
1613mi tute ne sxatis tiun manieron de vivo kion mi pensis cxu mi venis
1614tian longan vojon por fari tion kion mi lauxbone povus fari hejme kaj
1615kun miaj parencoj cxirkaux mi kaj pligrandigxis mia malgxojo cxar la
1616bonamiko kiu min alsxipis tien-cxi intencas nune lasi tiun-cxi
1617terbordon
1618
1619kiam mi estis knabo kaj ekiris surmaron mi metis en la manojn de mia
1620onklino iom da mono pri kiu mia bonamiko diris ke mi bone farus se
1621mi gxin elspezus pro mia bieno tial post kiam li revenis hejmon li
1622alsendis iom da gxi kontante kaj la restajxon kiel tukoj sxtofoj
1623lanajxoj kaj similajxoj kiujn li acxetis mia onklino tiam metis en
1624liajn manojn iom da livroj kiel donaco al li por montri sian
1625dankecon pro cxio kion li faris por mi kaj per tiu mono li afable
1626acxetis sklavon por mi intertempe mi jam acxetis sklavon tial mi nun
1627havas du kaj cxio prosperis dum la sekvanta jaro"""
1628
1629 i += 1
1630 if q == i:
1631 #This text is under public domain
1632 #The Raven
1633 #Edgar Allan Poe
1634 return u"""once upon a midnight dreary while i pondered weak and weary
1635over many a quaint and curious volume of forgotten lore
1636while i nodded nearly napping suddenly there came a tapping
1637as of some one gently rapping rapping at my chamber door
1638tis some visiter i muttered tapping at my chamber door
1639only this and nothing more
1640
1641ah distinctly i remember it was in the bleak december
1642and each separate dying ember wrought its ghost upon the floor
1643eagerly i wished the morrow vainly i had sought to borrow
1644from my books surcease of sorrowsorrow for the lost lenore
1645for the rare and radiant maiden whom the angels name lenore
1646nameless here for evermore
1647
1648and the silken sad uncertain rustling of each purple curtain
1649thrilled mefilled me with fantastic terrors never felt before
1650so that now to still the beating of my heart i stood repeating
1651tis some visiter entreating entrance at my chamber door
1652some late visiter entreating entrance at my chamber door
1653this it is and nothing more
1654
1655presently my soul grew stronger hesitating then no longer
1656sir said i or madam truly your forgiveness i implore
1657but the fact is i was napping and so gently you came rapping
1658and so faintly you came tapping tapping at my chamber door
1659that i scarce was sure i heard youhere i opened wide the door
1660darkness there and nothing more
1661
1662deep into that darkness peering long i stood there wondering fearing
1663doubting dreaming dreams no mortals ever dared to dream before
1664but the silence was unbroken and the stillness gave no token
1665and the only word there spoken was the whispered word lenore
1666this i whispered and an echo murmured back the word lenore
1667merely this and nothing more
1668
1669back into the chamber turning all my soul within me burning
1670soon again i heard a tapping something louder than before
1671surely said i surely that is something at my window lattice
1672let me see then what thereat is and this mystery explore
1673let my heart be still a moment and this mystery explore
1674tis the wind and nothing more
1675
1676open here i flung the shutter when with many a flirt and flutter
1677in there stepped a stately raven of the saintly days of yore
1678not the least obeisance made he not a minute stopped or stayed he
1679but with mien of lord or lady perched above my chamber door
1680perched upon a bust of pallas just above my chamber door
1681perched and sat and nothing more
1682
1683then the ebony bird beguiling my sad fancy into smiling
1684by the grave and stern decorum of the countenance it wore
1685though thy crest be shorn and shaven thou i said art sure no craven
1686ghastly grim and ancient raven wandering from the nightly shore
1687tell me what thy lordly name is on the nights plutonian shore
1688quoth the raven nevermore
1689
1690much i marvelled this ungainly fowl to hear discourse so plainly
1691though its answer little meaninglittle relevancy bore
1692for we cannot help agreeing that no living human being
1693ever yet was blessed with seeing bird above his chamber door
1694bird or beast upon the sculptured bust above his chamber door
1695with such name as nevermore
1696
1697but the raven sitting lonely on that placid bust spoke only
1698that one word as if its soul in that one word he did outpour
1699nothing farther then he uttered not a feather then he fluttered
1700till i scarcely more than muttered other friends have flown before
1701on the morrow he will leave me as my hopes have flown before
1702then the bird said nevermore
1703
1704startled at the stillness broken by reply so aptly spoken
1705doubtless said i what it utters is its only stock and store
1706caught from some unhappy master whom unmerciful disaster
1707followed fast and followed faster till his songs one burden bore
1708till the dirges of his hope that melancholy burden bore
1709of nevernevermore
1710
1711but the raven still beguiling all my sad soul into smiling
1712straight i wheeled a cushioned seat in front of bird and bust and door
1713then upon the velvet sinking i betook myself to linking
1714fancy unto fancy thinking what this ominous bird of yore
1715what this grim ungainly ghastly gaunt and ominous bird of yore
1716meant in croaking nevermore
1717
1718this i sat engaged in guessing but no syllable expressing
1719to the fowl whose fiery eyes now burned into my bosoms core
1720this and more i sat divining with my head at ease reclining
1721on the cushions velvet lining that the lamplight gloated oer
1722but whose velvet violet lining with the lamplight gloating oer
1723she shall press ah nevermore
1724
1725then methought the air grew denser perfumed from an unseen censer
1726swung by seraphim whose footfalls tinkled on the tufted floor
1727wretch i cried thy god hath lent theeby these angels he hath sent thee
1728respiterespite and nepenthe from thy memories of lenore
1729quaff oh quaff this kind nepenthe and forget this lost lenore
1730quoth the raven nevermore
1731
1732prophet said i thing of evilprophet still if bird or devil
1733whether tempter sent or whether tempest tossed thee here ashore
1734desolate yet all undaunted on this desert land enchanted
1735on this home by horror hauntedtell me truly i implore
1736is thereis there balm in gileadtell metell me i implore
1737quoth the raven nevermore
1738
1739prophet said i thing of evilprophet still if bird or devil
1740by that heaven that bends above usby that god we both adore
1741tell this soul with sorrow laden if within the distant aidenn
1742it shall clasp a sainted maiden whom the angels name lenore
1743clasp a rare and radiant maiden whom the angels name lenore
1744quoth the raven nevermore
1745
1746be that our sign of parting bird or fiend i shrieked upstarting
1747get thee back into the tempest and the nights plutonian shore
1748leave no black plume as a token of that lie thy soul has spoken
1749leave my loneliness unbrokenquit the bust above my door
1750take thy beak from out my heart and take thy form from off my door
1751quoth the raven nevermore
1752
1753and the raven never flitting still is sitting still is sitting
1754on the pallid bust of pallas just above my chamber door
1755and his eyes have all the seeming of a demons that is dreaming
1756and the lamplight oer him streaming throws his shadows on the floor
1757and my soul from out that shadow that lies floating on the floor
1758shall be lifted nevermore"""
1759
1760 i += 1
1761 if q == i:
1762 #This text is under public domain
1763 #Tierra y Luna
1764 #Federico García Lorca
1765 return u"""me quedo con el transparente hombrecillo
1766que come los huevos de la golondrina
1767me quedo con el nino desnudo
1768que pisotean los borrachos de brooklyn
1769con las criaturas mudas que pasan bajo los arcos
1770con el arroyo de venas ansioso de abrir sus manecitas
1771
1772tierra tan sólo tierra
1773tierra para los manteles estremecidos
1774para la pupila viciosa de nube
1775para las heridas recientes y el húmedo pensamiento
1776tierra para todo lo que huye de la tierra
1777
1778no es la ceniza en vilo de las cosas quemadas
1779ni los muertos que mueven sus lenguas bajo los árboles
1780es la tierra desnuda que bala por el cielo
1781y deja atrás los grupos ligeros de ballenas
1782
1783es la tierra alegrísima imperturbable nadadora
1784la que yo encuentro en el nino y en las criaturas que pasan los arcos
1785viva la tierra de mi pulso y del baile de los helechos
1786que deja a veces por el aire un duro perfil de faraón
1787
1788me quedo con la mujer fría
1789donde se queman los musgos inocentes
1790me quedo con los borrachos de brooklyn
1791que pisan al nino desnudo
1792me quedo con los signos desgarrados
1793de la lenta comida de los osos
1794
1795pero entonces baja la luna despenada por las escaleras
1796poniendo las ciudades de hule celeste y talco sensitivo
1797llenando los pies de mármol la llanura sin recodos
1798y olvidando bajo las sillas diminutas carcajadas de algodón
1799
1800oh diana diana diana vacía
1801convexa resonancia donde la abeja se vuelve loca
1802mi amor de paso tránsito larga muerte gustada
1803nunca la piel ilesa de tu desnudo huido
1804
1805es tierra dios mío tierra lo que vengo buscando
1806embozo de horizonte latido y sepultura
1807es dolor que se acaba y amor que se consume
1808torre de sangre abierta con las manos quemadas
1809
1810pero la luna subía y bajaba las escaleras
1811repartiendo lentejas desangradas en los ojos
1812dando escobazos de plata a los ninos de los muelles
1813y borrando mi apariencia por el término del aire"""
1814
1815 i += 1
1816 if q == i:
1817 #This text is under public domain
1818 #Hemsöborna
1819 #August Strindberg (1912-1921)
1820 return u"""han kom som ett yrväder en aprilafton och hade
1821ett höganäskrus i en svångrem om halsen clara
1822och lotten voro inne med skötekan att hämta
1823honom på dalarö brygga men det dröjde evigheter
1824innan de kommo i båt de skulle till handelsman
1825och ha en tunna tjära och på abeteket och hämta
1826gråsalva åt grisen och så skulle de på posten och
1827få ett frimärke och så skulle de ner till fia lövström
1828i kroken och låna tuppen mot ett halvpund
1829småtärna till notbygget och sist hade de hamnat på
1830gästgivaregården där carlsson bjudit på kaffe med
1831dopp och så kommo de äntligen i båt men carlsson
1832ville styra och det kunde han inte för han hade
1833aldrig sett en råseglare förr och därför skrek han
1834att de skulle hissa focken som inte fanns
1835
1836och på tullbryggan stodo lotsar och vaktmästare
1837och grinade åt manövern när ekan gick över stag
1838och länsade ner åt saltsäcken
1839
1840hörru du har hål i båten skrek en lotslärling
1841genom vinden stopp till stopp till och medan
1842carlsson tittade efter hålen hade clara knuffat
1843undan honom och tagit roret och med årorna lyckades
1844lotten få ekan opp i vinden igen så att nu strök
1845det ner åt aspösund med god gång
1846
1847carlsson var en liten fyrkantig värmländing med
1848blå ögon och näsa krokig som en syskonhake livlig
1849lekfull och nyfiken var han men sjöaffärerna förstod
1850han inte alls och han var också kallad ut till
1851hemsö för att ta hand om åker och kreatur som
1852ingen annan ville ta befattning med sedan gubben
1853flod gått ur livet och änkan satt ensam vid gården"""
1854
1855 # if we got this far - let's return this crap (instead of throwing)
1856 return u"""fubar1 fubar2 fubar3
1857foobar1 foobar2 foobar3 foobar4 foobar5
1858baroba1
1859
1860raboof1"""
1861
1862
1863from optparse import OptionParser
1864
1865def do_parse():
1866
1867 usage = """Usage: lorem [-n|-l|-c] N [-q M]?
1868 where
1869 N and M are integers
1870
1871Note: If -n -l and/or -c are combined -l has priority over -c that has
1872 priority over -n.
1873
1874Examples: lorem -n 10
1875 Get 10 words of lorem.
1876
1877 lorem -l 5
1878 Get 5 lines of lorem
1879
1880 lorem -c 79
1881 Get 79 characters of lorem
1882
1883 lorem -l 5 -q 11
1884 Get 5 lines of lorem from quote 11
1885
1886License: Copyright (C) 2007 Per Erik Strandberg
1887 This program comes with ABSOLUTELY NO WARRANTY.
1888
1889 This is free software, and you are welcome to redistribute it
1890 under the GNU GENERAL PUBLIC LICENSE Version 3.
1891"""
1892
1893 versioninfo = "%s version %s\n%s\n\n%s" % (program, version, #
1894 copyright, license)
1895
1896 parser = OptionParser(usage=usage, version = versioninfo)
1897
1898 parser.add_option('-n', dest='n', help="Number of Words", default=0)
1899 parser.add_option('-l', dest='l', help="Number of Lines", default=0)
1900 parser.add_option('-c', dest='c', help="Number of Chars", default=0)
1901 parser.add_option('-q', dest='q', help="Quote index (0+)", default=0)
1902 (options, args) = parser.parse_args()
1903
1904 try:
1905 options.n = int(options.n)
1906 options.l = int(options.l)
1907 options.c = int(options.c)
1908 options.q = int(options.q)
1909 except:
1910 parser.error("At least one of the arguments is not an integer.")
1911
1912 for m in [options.n, options.l, options.c, options.q]:
1913 if m < 0:
1914 parser.error("Negative argument.")
1915
1916 if options.n == 0 and options.l == 0 and options.c == 0:
1917 parser.error("No arguments, try 'lorem -n 25'.")
1918
1919 return (options, args)
1920
1921
1922def do_lorem(n=0, l=0, c=0, q=0):
1923
1924 lorem = get_lorem(q)
1925
1926 res = ''
1927 if l!=0:
1928 #do lines
1929 lorem = lorem.replace('\n\n','\n')
1930 lines = lorem.split('\n')
1931
1932 while l:
1933 if l > len(lines):
1934 l1 = len(lines)
1935 l -= l1
1936 else:
1937 l1 = l
1938 l = 0
1939
1940 for i in xrange(l1):
1941 res += lines[i].strip()+'\n'
1942
1943 elif c!=0:
1944 # do chars
1945 chars = lorem
1946 chars = chars.replace('\n', ' ')
1947 chars = chars.replace(' ', ' ')
1948
1949 outchars = []
1950
1951 while c:
1952 if c > len(chars):
1953 c1 = len(chars)
1954 c -= c1
1955 outchars.append(chars)
1956 else:
1957 c1 = c
1958 c = 0
1959 outchars.append(chars[0:c1])
1960
1961 res += join(outchars,'')+'\n'
1962
1963 else:
1964 # do words
1965 words = lorem.replace('\n\n','\n')
1966 words = words.replace('\n', ' ')
1967 words = words.replace(' ', ' ')
1968 words = words.split(' ')
1969
1970 while n:
1971 if n > len(words):
1972 n1 = len(words)
1973 n -= n1
1974 else:
1975 n1 = n
1976 n = 0
1977
1978 for i in xrange(n1):
1979 res += words[i]+' '
1980
1981 return res
1982
19830
=== removed file 'l10n_es_aeat_mod340/report/mod340_report_aeroo.odt'
1984Binary files l10n_es_aeat_mod340/report/mod340_report_aeroo.odt 2011-05-07 11:33:47 +0000 and l10n_es_aeat_mod340/report/mod340_report_aeroo.odt 1970-01-01 00:00:00 +0000 differ1Binary files l10n_es_aeat_mod340/report/mod340_report_aeroo.odt 2011-05-07 11:33:47 +0000 and l10n_es_aeat_mod340/report/mod340_report_aeroo.odt 1970-01-01 00:00:00 +0000 differ
=== removed file 'l10n_es_aeat_mod340/report/report_view_aeroo.xml'
--- l10n_es_aeat_mod340/report/report_view_aeroo.xml 2011-05-07 11:33:47 +0000
+++ l10n_es_aeat_mod340/report/report_view_aeroo.xml 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1<?xml version="1.0"?>
2<openerp>
3<data >
4
5<record id="aeroo_mod340" model="ir.actions.report.xml">
6<field name="name">mod340 report</field>
7<field name="type">ir.actions.report.xml</field>
8<field name="model">l10n.es.aeat.mod340</field>
9<field name="report_name">aeroo_340</field>
10<field name="report_type">aeroo</field>
11<field name="in_format">oo-odt</field>
12<field name="parser_loc"></field>
13<field name="report_rml">l10n_es_aeat_mod340/report/mod340_report.odt</field>
14<field name="parser_state">default</field>
15<field name="tml_source">file</field>
16</record>
17
18
19<ir_set>
20 <field eval="'action'" name="key"/>
21 <field eval="'client_print_multi'" name="key2"/>
22 <field eval="['res.partner']" name="models"/>
23 <field name="name">sample_report</field>
24 <field eval="'ir.actions.report.xml,'+str(aeroo_sample_report_id)" name="value"/>
25 <field eval="True" name="isobject"/>
26 <field eval="True" name="replace"/>
27 </ir_set>
28
29
30 <report id="aeroo_mod340_action" string="Modelo 340" model="l10n.es.aeat.mod340"
31 name="aeroo_340" rml="l10n_es_aeat_mod340/report/mod340_report.odt" auto="False"
32 header="False" />
33
34
35
36
37
38</data>
39</openerp>
40\ No newline at end of file0\ No newline at end of file
411
=== added file 'l10n_es_aeat_mod340/taxes_data.xml'
--- l10n_es_aeat_mod340/taxes_data.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/taxes_data.xml 2013-05-17 16:51:41 +0000
@@ -0,0 +1,192 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="0">
4 <!-- Bases incluidas en el Modelo 340
5 Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
6 -->
7 <!--IVA Devengado Base imponible-->
8 <record id="l10n_es.iva_dev_base" model="account.tax.code.template">
9 <field name="mod340" eval="True"/>
10 </record>
11 <!-- Exentas IVA -->
12 <record id="l10n_es.base_sop_ex" model="account.tax.code.template">
13 <field name="mod340" eval="True"/>
14 </record>
15
16 <record id="l10n_es.base_rep_ex" model="account.tax.code.template">
17 <field name="mod340" eval="True"/>
18 </record>
19 <!--Regimen general-->
20 <record id="l10n_es.iva_dev_01" model="account.tax.code.template">
21 <field name="mod340" eval="True"/>
22 </record>
23
24 <record id="l10n_es.iva_dev_04" model="account.tax.code.template">
25 <field name="mod340" eval="True"/>
26 </record>
27
28 <record id="l10n_es.iva_dev_04_8" model="account.tax.code.template">
29 <field name="mod340" eval="True"/>
30 </record>
31
32 <record id="l10n_es.iva_dev_04_10" model="account.tax.code.template">
33 <field name="mod340" eval="True"/>
34 </record>
35
36 <record id="l10n_es.iva_dev_07" model="account.tax.code.template">
37 <field name="mod340" eval="True"/>
38 </record>
39
40 <record id="l10n_es.iva_dev_07_18" model="account.tax.code.template">
41 <field name="mod340" eval="True"/>
42 </record>
43
44 <record id="l10n_es.iva_dev_07_21" model="account.tax.code.template">
45 <field name="mod340" eval="True"/>
46 </record>
47 <!-- ADQUISICIONES INTRACOMUNITARIAS -->
48 <record id="l10n_es.iva_dev_19" model="account.tax.code.template">
49 <field name="mod340" eval="True"/>
50 </record>
51 <!--IVA DEDUCIBLE -->
52 <record id="l10n_es.iva_ded_base_total" model="account.tax.code.template">
53 <field name="mod340" eval="True"/>
54 </record>
55 <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
56 <record id="l10n_es.iva_ded_22" model="account.tax.code.template">
57 <field name="mod340" eval="True"/>
58 </record>
59
60 <record id="l10n_es.iva_ded_22_4" model="account.tax.code.template">
61 <field name="mod340" eval="True"/>
62 </record>
63
64 <record id="l10n_es.iva_ded_22_7" model="account.tax.code.template">
65 <field name="mod340" eval="True"/>
66 </record>
67
68 <record id="l10n_es.iva_ded_22_8" model="account.tax.code.template">
69 <field name="mod340" eval="True"/>
70 </record>
71
72 <record id="l10n_es.iva_ded_22_10" model="account.tax.code.template">
73 <field name="mod340" eval="True"/>
74 </record>
75
76 <record id="l10n_es.iva_ded_22_16" model="account.tax.code.template">
77 <field name="mod340" eval="True"/>
78 </record>
79
80 <record id="l10n_es.iva_ded_22_18" model="account.tax.code.template">
81 <field name="mod340" eval="True"/>
82 </record>
83
84 <record id="l10n_es.iva_ded_22_21" model="account.tax.code.template">
85 <field name="mod340" eval="True"/>
86 </record>
87 <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
88 <record id="l10n_es.iva_ded_24" model="account.tax.code.template">
89 <field name="mod340" eval="True"/>
90 </record>
91
92 <record id="l10n_es.iva_ded_24_4" model="account.tax.code.template">
93 <field name="mod340" eval="True"/>
94 </record>
95
96 <record id="l10n_es.iva_ded_24_7" model="account.tax.code.template">
97 <field name="mod340" eval="True"/>
98 </record>
99
100 <record id="l10n_es.iva_ded_24_8" model="account.tax.code.template">
101 <field name="mod340" eval="True"/>
102 </record>
103
104 <record id="l10n_es.iva_ded_24_10" model="account.tax.code.template">
105 <field name="mod340" eval="True"/>
106 </record>
107
108 <record id="l10n_es.iva_ded_24_16" model="account.tax.code.template">
109 <field name="mod340" eval="True"/>
110 </record>
111
112 <record id="l10n_es.iva_ded_24_18" model="account.tax.code.template">
113 <field name="mod340" eval="True"/>
114 </record>
115
116 <record id="l10n_es.iva_ded_24_21" model="account.tax.code.template">
117 <field name="mod340" eval="True"/>
118 </record>
119 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
120 <record id="l10n_es.iva_ded_30" model="account.tax.code.template">
121 <field name="mod340" eval="True"/>
122 </record>
123
124 <record id="l10n_es.iva_ded_30_4" model="account.tax.code.template">
125 <field name="mod340" eval="True"/>
126 </record>
127
128 <record id="l10n_es.iva_ded_30_7" model="account.tax.code.template">
129 <field name="mod340" eval="True"/>
130 </record>
131
132 <record id="l10n_es.iva_ded_30_8" model="account.tax.code.template">
133 <field name="mod340" eval="True"/>
134 </record>
135
136 <record id="l10n_es.iva_ded_30_10" model="account.tax.code.template">
137 <field name="mod340" eval="True"/>
138 </record>
139
140 <record id="l10n_es.iva_ded_30_16" model="account.tax.code.template">
141 <field name="mod340" eval="True"/>
142 </record>
143
144 <record id="l10n_es.iva_ded_30_18" model="account.tax.code.template">
145 <field name="mod340" eval="True"/>
146 </record>
147
148 <record id="l10n_es.iva_ded_30_21" model="account.tax.code.template">
149 <field name="mod340" eval="True"/>
150 </record>
151 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
152 <record id="l10n_es.iva_ded_32" model="account.tax.code.template">
153 <field name="mod340" eval="True"/>
154 </record>
155
156 <record id="l10n_es.iva_ded_32_4" model="account.tax.code.template">
157 <field name="mod340" eval="True"/>
158 </record>
159
160 <record id="l10n_es.iva_ded_32_7" model="account.tax.code.template">
161 <field name="mod340" eval="True"/>
162 </record>
163
164 <record id="l10n_es.iva_ded_32_8" model="account.tax.code.template">
165 <field name="mod340" eval="True"/>
166 </record>
167
168 <record id="l10n_es.iva_ded_32_10" model="account.tax.code.template">
169 <field name="mod340" eval="True"/>
170 </record>
171
172 <record id="l10n_es.iva_ded_32_16" model="account.tax.code.template">
173 <field name="mod340" eval="True"/>
174 </record>
175
176 <record id="l10n_es.iva_ded_32_18" model="account.tax.code.template">
177 <field name="mod340" eval="True"/>
178 </record>
179
180 <record id="l10n_es.iva_ded_32_21" model="account.tax.code.template">
181 <field name="mod340" eval="True"/>
182 </record>
183 <!--Otros Códigos de Impuestos-->
184 <record id="l10n_es.base_intra_42" model="account.tax.code.template">
185 <field name="mod340" eval="True"/>
186 </record>
187
188 <record id="l10n_es.base_extra_44" model="account.tax.code.template">
189 <field name="mod340" eval="True"/>
190 </record>
191 </data>
192</openerp>
0\ No newline at end of file193\ No newline at end of file
1194
=== added file 'l10n_es_aeat_mod340/taxes_data_pymes.xml'
--- l10n_es_aeat_mod340/taxes_data_pymes.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/taxes_data_pymes.xml 2013-05-17 16:51:41 +0000
@@ -0,0 +1,192 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="0">
4 <!-- Bases incluidas en el Modelo 340
5 Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
6 -->
7 <!--IVA Devengado Base imponible-->
8 <record id="l10n_es.iva_pymes_dev_base" model="account.tax.code.template">
9 <field name="mod340" eval="True"/>
10 </record>
11 <!-- Exentas IVA -->
12 <record id="l10n_es.base_pymes_sop_ex" model="account.tax.code.template">
13 <field name="mod340" eval="True"/>
14 </record>
15
16 <record id="l10n_es.base_pymes_rep_ex" model="account.tax.code.template">
17 <field name="mod340" eval="True"/>
18 </record>
19 <!--Regimen general-->
20 <record id="l10n_es.iva_pymes_dev_01" model="account.tax.code.template">
21 <field name="mod340" eval="True"/>
22 </record>
23
24 <record id="l10n_es.iva_pymes_dev_04" model="account.tax.code.template">
25 <field name="mod340" eval="True"/>
26 </record>
27
28 <record id="l10n_es.iva_pymes_dev_04_8" model="account.tax.code.template">
29 <field name="mod340" eval="True"/>
30 </record>
31
32 <record id="l10n_es.iva_pymes_dev_04_10" model="account.tax.code.template">
33 <field name="mod340" eval="True"/>
34 </record>
35
36 <record id="l10n_es.iva_pymes_dev_07" model="account.tax.code.template">
37 <field name="mod340" eval="True"/>
38 </record>
39
40 <record id="l10n_es.iva_pymes_dev_07_18" model="account.tax.code.template">
41 <field name="mod340" eval="True"/>
42 </record>
43
44 <record id="l10n_es.iva_pymes_dev_07_21" model="account.tax.code.template">
45 <field name="mod340" eval="True"/>
46 </record>
47 <!-- ADQUISICIONES INTRACOMUNITARIAS -->
48 <record id="l10n_es.iva_pymes_dev_19" model="account.tax.code.template">
49 <field name="mod340" eval="True"/>
50 </record>
51 <!--IVA DEDUCIBLE -->
52 <record id="l10n_es.iva_pymes_ded_base_total" model="account.tax.code.template">
53 <field name="mod340" eval="True"/>
54 </record>
55 <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
56 <record id="l10n_es.iva_pymes_ded_22" model="account.tax.code.template">
57 <field name="mod340" eval="True"/>
58 </record>
59
60 <record id="l10n_es.iva_pymes_ded_22_4" model="account.tax.code.template">
61 <field name="mod340" eval="True"/>
62 </record>
63
64 <record id="l10n_es.iva_pymes_ded_22_7" model="account.tax.code.template">
65 <field name="mod340" eval="True"/>
66 </record>
67
68 <record id="l10n_es.iva_pymes_ded_22_8" model="account.tax.code.template">
69 <field name="mod340" eval="True"/>
70 </record>
71
72 <record id="l10n_es.iva_pymes_ded_22_10" model="account.tax.code.template">
73 <field name="mod340" eval="True"/>
74 </record>
75
76 <record id="l10n_es.iva_pymes_ded_22_16" model="account.tax.code.template">
77 <field name="mod340" eval="True"/>
78 </record>
79
80 <record id="l10n_es.iva_pymes_ded_22_18" model="account.tax.code.template">
81 <field name="mod340" eval="True"/>
82 </record>
83
84 <record id="l10n_es.iva_pymes_ded_22_21" model="account.tax.code.template">
85 <field name="mod340" eval="True"/>
86 </record>
87 <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
88 <record id="l10n_es.iva_pymes_ded_24" model="account.tax.code.template">
89 <field name="mod340" eval="True"/>
90 </record>
91
92 <record id="l10n_es.iva_pymes_ded_24_4" model="account.tax.code.template">
93 <field name="mod340" eval="True"/>
94 </record>
95
96 <record id="l10n_es.iva_pymes_ded_24_7" model="account.tax.code.template">
97 <field name="mod340" eval="True"/>
98 </record>
99
100 <record id="l10n_es.iva_pymes_ded_24_8" model="account.tax.code.template">
101 <field name="mod340" eval="True"/>
102 </record>
103
104 <record id="l10n_es.iva_pymes_ded_24_10" model="account.tax.code.template">
105 <field name="mod340" eval="True"/>
106 </record>
107
108 <record id="l10n_es.iva_pymes_ded_24_16" model="account.tax.code.template">
109 <field name="mod340" eval="True"/>
110 </record>
111
112 <record id="l10n_es.iva_pymes_ded_24_18" model="account.tax.code.template">
113 <field name="mod340" eval="True"/>
114 </record>
115
116 <record id="l10n_es.iva_pymes_ded_24_21" model="account.tax.code.template">
117 <field name="mod340" eval="True"/>
118 </record>
119 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
120 <record id="l10n_es.iva_pymes_ded_30" model="account.tax.code.template">
121 <field name="mod340" eval="True"/>
122 </record>
123
124 <record id="l10n_es.iva_pymes_ded_30_4" model="account.tax.code.template">
125 <field name="mod340" eval="True"/>
126 </record>
127
128 <record id="l10n_es.iva_pymes_ded_30_7" model="account.tax.code.template">
129 <field name="mod340" eval="True"/>
130 </record>
131
132 <record id="l10n_es.iva_pymes_ded_30_8" model="account.tax.code.template">
133 <field name="mod340" eval="True"/>
134 </record>
135
136 <record id="l10n_es.iva_pymes_ded_30_10" model="account.tax.code.template">
137 <field name="mod340" eval="True"/>
138 </record>
139
140 <record id="l10n_es.iva_pymes_ded_30_16" model="account.tax.code.template">
141 <field name="mod340" eval="True"/>
142 </record>
143
144 <record id="l10n_es.iva_pymes_ded_30_18" model="account.tax.code.template">
145 <field name="mod340" eval="True"/>
146 </record>
147
148 <record id="l10n_es.iva_pymes_ded_30_21" model="account.tax.code.template">
149 <field name="mod340" eval="True"/>
150 </record>
151 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
152 <record id="l10n_es.iva_pymes_ded_32" model="account.tax.code.template">
153 <field name="mod340" eval="True"/>
154 </record>
155
156 <record id="l10n_es.iva_pymes_ded_32_4" model="account.tax.code.template">
157 <field name="mod340" eval="True"/>
158 </record>
159
160 <record id="l10n_es.iva_pymes_ded_32_7" model="account.tax.code.template">
161 <field name="mod340" eval="True"/>
162 </record>
163
164 <record id="l10n_es.iva_pymes_ded_32_8" model="account.tax.code.template">
165 <field name="mod340" eval="True"/>
166 </record>
167
168 <record id="l10n_es.iva_pymes_ded_32_10" model="account.tax.code.template">
169 <field name="mod340" eval="True"/>
170 </record>
171
172 <record id="l10n_es.iva_pymes_ded_32_16" model="account.tax.code.template">
173 <field name="mod340" eval="True"/>
174 </record>
175
176 <record id="l10n_es.iva_pymes_ded_32_18" model="account.tax.code.template">
177 <field name="mod340" eval="True"/>
178 </record>
179
180 <record id="l10n_es.iva_pymes_ded_32_21" model="account.tax.code.template">
181 <field name="mod340" eval="True"/>
182 </record>
183 <!--Otros Códigos de Impuestos-->
184 <record id="l10n_es.base_intra_42" model="account.tax.code.template">
185 <field name="mod340" eval="True"/>
186 </record>
187
188 <record id="l10n_es.base_extra_44" model="account.tax.code.template">
189 <field name="mod340" eval="True"/>
190 </record>
191 </data>
192</openerp>
0\ No newline at end of file193\ No newline at end of file
1194
=== modified file 'l10n_es_aeat_mod340/wizard/calculate_mod340_records.py'
--- l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2012-08-06 16:25:56 +0000
+++ l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2013-05-17 16:51:41 +0000
@@ -2,7 +2,7 @@
2##############################################################################2##############################################################################
3#3#
4# Copyright (C) 2011 Ting. All Rights Reserved4# Copyright (C) 2011 Ting. All Rights Reserved
5# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved5# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
6# Ignacio Ibeas Izquierdo <ignacio@acysos.com>6# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
7#7#
8# This program is free software: you can redistribute it and/or modify8# This program is free software: you can redistribute it and/or modify
@@ -53,6 +53,7 @@
53 53
54 invoices340 = self.pool.get('l10n.es.aeat.mod340.issued')54 invoices340 = self.pool.get('l10n.es.aeat.mod340.issued')
55 invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received')55 invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received')
56 period_obj = self.pool.get('account.period')
56 57
57 mod340.write({58 mod340.write({
58 'state' : 'calculated',59 'state' : 'calculated',
@@ -64,31 +65,13 @@
64 65
65 wf_service = netsvc.LocalService("workflow")66 wf_service = netsvc.LocalService("workflow")
66 wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report', ids and ids[0], 'calculate', cr)67 wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report', ids and ids[0], 'calculate', cr)
67 68
68 fecha_ini = False69 code = '340'+mod340.fiscalyear_id.code+''+mod340.period_to.date_stop[5:7]+'0001'
69 fecha_fin = False70
70 71 account_period_ids = period_obj.build_ctx_periods(cr, uid, mod340.period_from.id, mod340.period_to.id)
71 dec_year =mod340.fiscalyear_id.date_start.split('-')[0]72
72 73 if len(account_period_ids) == 0:
73 mod = mod340.period74 raise osv.except_osv(_('Error'), _("The periods selected don't belong to the fiscal year %s") % (mod340.fiscalyear_id.name))
74
75 if mod >= '01' and mod <= '12':
76 fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, mod), '%Y-%m-%d')
77 fecha_fin = fecha_ini + relativedelta(months=+1, days=-1)
78
79 if mod in ('1T', '2T', '3T', '4T'):
80 month = ( ( int(mod[0])-1 ) * 3 ) + 1
81 fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, month), '%Y-%m-%d')
82 fecha_fin = fecha_ini + relativedelta(months=+3, days=-1)
83 mod = '%02d' % month
84
85 code = '340'+dec_year+''+mod+'0001'
86
87 account_period_id = self.pool.get('account.period').search(cr,uid,[('date_start','=',fecha_ini),('date_stop','=',fecha_fin)])
88
89 if not account_period_id:
90 raise osv.except_osv(_('El periodo seleccionado no coincide con los periodos del año fiscal:'), dec_year)
91
92 75
93 tot_base = 076 tot_base = 0
94 tot_amount = 077 tot_amount = 0
@@ -110,87 +93,89 @@
110 if del_ids:93 if del_ids:
111 invoices340_rec.unlink(cr, uid, del_ids, context=context)94 invoices340_rec.unlink(cr, uid, del_ids, context=context)
112 95
113 domain = [('period_id', '=',account_period_id[0]), 96 domain = [('period_id', 'in',account_period_ids),
114 ('state', 'in', ('open', 'paid'))]97 ('state', 'in', ('open', 'paid'))]
11598
116 invoice_ids = self.pool.get('account.invoice').search(cr, uid, domain, context=context)99 invoice_ids = self.pool.get('account.invoice').search(cr, uid, domain, context=context)
117 for invoice in self.pool.get('account.invoice').browse(cr, uid, invoice_ids, context):100 for invoice in self.pool.get('account.invoice').browse(cr, uid, invoice_ids, context):
118 if invoice.partner_id.vat_type == 1:101 include = False
119 if not invoice.partner_id.vat:
120 raise osv.except_osv(_('La siguiente empresa no tiene asignado nif:'), invoice.partner_id.name)
121
122 nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)", invoice.partner_id.vat).groups()[1]
123 country_code = invoice.address_invoice_id.country_id.code
124
125 values = {
126 'mod340_id': mod340.id,
127 'partner_id':invoice.partner_id.id,
128 'partner_vat':nif,
129 'representative_vat': '',
130 'partner_country_code' : country_code,
131 'invoice_id':invoice.id,
132 'base_tax':invoice.amount_untaxed,
133 'amount_tax':invoice.amount_tax,
134 'total':invoice.amount_total
135 }
136 if invoice.type in ( 'out_refund','in_refund'):
137 values['base_tax'] *=-1
138 values['amount_tax'] *=-1
139 values['total'] *=-1
140
141
142 if invoice.type=="out_invoice" or invoice.type=="out_refund":
143 invoice_created = invoices340.create(cr,uid,values)
144
145 if invoice.type=="in_invoice" or invoice.type=="in_refund":
146 invoice_created = invoices340_rec.create(cr,uid,values)
147
148 tot_tax_invoice = 0
149 check_tax=0
150 check_base=0
151
152 # Add the invoices detail to the partner record
153 for tax_line in invoice.tax_line:102 for tax_line in invoice.tax_line:
154 if tax_line.name.find('IRPF') == -1: # Remove IRPF from Mod340
155 tax_description = tax_line.name.split(' - ')
156 if len(tax_description) == 2: name = tax_description[1]
157 if len(tax_description) == 1: name = tax_description[0]
158 account_tax = self.pool.get('account.tax').browse(cr, uid, self.pool.get('account.tax').search(cr, uid, [('name','=',name)], context=context))
159 if account_tax[0].amount < 0:
160 continue
The diff has been truncated for viewing.