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
1=== modified file 'l10n_es_aeat_mod340/__init__.py'
2--- l10n_es_aeat_mod340/__init__.py 2012-02-15 23:33:37 +0000
3+++ l10n_es_aeat_mod340/__init__.py 2013-05-17 16:51:41 +0000
4@@ -3,7 +3,7 @@
5 #
6 # OpenERP, Open Source Management Solution
7 # Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved.
8-# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved
9+# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
10 # Ignacio Ibeas Izquierdo <ignacio@acysos.com>
11 #
12 # $Id$
13@@ -27,4 +27,5 @@
14 import mod340
15 import res_partner
16 import account_invoice
17+import account
18
19
20=== modified file 'l10n_es_aeat_mod340/__openerp__.py'
21--- l10n_es_aeat_mod340/__openerp__.py 2012-06-15 16:23:53 +0000
22+++ l10n_es_aeat_mod340/__openerp__.py 2013-05-17 16:51:41 +0000
23@@ -3,9 +3,8 @@
24 #
25 # OpenERP, Open Source Management Solution
26 # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
27-# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved
28+# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
29 # Ignacio Ibeas Izquierdo <ignacio@acysos.com>
30-#
31 # $Id$
32 #
33 # This program is free software: you can redistribute it and/or modify
34@@ -24,22 +23,24 @@
35 ##############################################################################
36
37 {
38- "name" : "Generación de fichero modelo 340",
39- "version" : "1.0",
40- "author" : "Acysos S.L., Francisco Pascual (Ting), Nan-tic",
41- "website" : "http://www.acysos.com, www.ting.es, www.nan-tic.com",
42- "category" : "Localisation/Accounting",
43- "description" : """
44-Módulo para la presentación del modelo 340. Exportación a formato AEAT.
45-
46---- ESTADO ACTUAL -------------------------------------------------------------
47-
48-Búsqueda de facturas emitidas y recibidas. Excluidas lineas de impuestos con IRPF.
49+ 'name' : 'Generación de fichero modelo 340 y libro de IVA',
50+ 'version' : '2.0',
51+ 'author' : 'Acysos S.L., Francisco Pascual (Ting), Nan-tic',
52+ 'website' : 'www.acysos.com, www.ting.es, www.nan-tic.com',
53+ 'category' : 'Localisation/Accounting',
54+ 'description' : '''
55+Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA
56+
57+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.
58+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
59+
60+Búsqueda de facturas emitidas y recibidas.
61 Exportación a formato de AEAT de facturas emitidas y recibidas.
62-Exportación de facturas con varios tipos impositivos. Clave de operación C
63-Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial
64-Facturas rectificativas
65-Facturas resumen de tiques
66+Exportación de facturas con varios tipos impositivos. Clave de operación C.
67+Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial.
68+Facturas rectificativas.
69+Facturas resumen de tiques.
70+Permite imprimir el libro de IVA, basado en la misma legislación.
71
72 --- COSAS PENDIENTES (TODO LIST) ----------------------------------------------
73
74@@ -47,19 +48,28 @@
75 Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.
76 Asientos contables de resumen de tiques
77 Exportación de asientos resumen de facturas
78-
79-ADVERTENCIA: Los periodos de la empresas deben coincidir con los peridos de presentación de IVA.
80-""",
81- "website" : "www.acysos.com, www.ting.es",
82- "license" : "AGPL-3",
83- "depends" : ["account",
84- "base_vat",
85- "l10n_es_aeat",
86- "account_refund_original",
87+''',
88+ 'license' : 'AGPL-3',
89+ 'depends' : ['account',
90+ 'base_vat',
91+ 'l10n_es_aeat',
92+ 'account_refund_original',
93+ 'account_chart_update',
94+ 'city',
95 ],
96- "init_xml" : [],
97- "demo_xml" : [],
98- "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"],
99- "installable" : True,
100- "active" : False,
101+ 'init_xml' : [],
102+ 'demo_xml' : [],
103+ 'update_xml' : [
104+ 'report/report_view.xml',
105+ 'mod340_view.xml',
106+ 'mod340_workflow.xml',
107+ 'security/ir.model.access.csv',
108+ 'res_partner_view.xml',
109+ 'mod340_sequence.xml',
110+ 'account_invoice_view.xml',
111+ 'account_view.xml',
112+ 'taxes_data.xml',
113+ 'taxes_data_pymes.xml'],
114+ 'installable' : True,
115+ 'active' : False,
116 }
117
118=== added file 'l10n_es_aeat_mod340/account.py'
119--- l10n_es_aeat_mod340/account.py 1970-01-01 00:00:00 +0000
120+++ l10n_es_aeat_mod340/account.py 2013-05-17 16:51:41 +0000
121@@ -0,0 +1,190 @@
122+# -*- coding: utf-8 -*-
123+##############################################################################
124+#
125+# Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved
126+# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
127+#
128+# This program is free software: you can redistribute it and/or modify
129+# it under the terms of the GNU Affero General Public License as published by
130+# the Free Software Foundation, either version 3 of the License, or
131+# (at your option) any later version.
132+#
133+# This program is distributed in the hope that it will be useful,
134+# but WITHOUT ANY WARRANTY; without even the implied warranty of
135+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
136+# GNU Affero General Public License for more details.
137+#
138+# You should have received a copy of the GNU Affero General Public License
139+# along with this program. If not, see <http://www.gnu.org/licenses/>.
140+#
141+##############################################################################
142+
143+from osv import osv, fields
144+from tools.translate import _
145+
146+class account_tax_code_template(osv.osv):
147+
148+ _inherit = 'account.tax.code.template'
149+
150+ _columns = {
151+ 'mod340':fields.boolean("Include in mod340"),
152+ }
153+
154+account_tax_code_template()
155+
156+class account_tax_code(osv.osv):
157+
158+ _inherit = 'account.tax.code'
159+
160+ _columns = {
161+ 'mod340':fields.boolean("Include in mod340"),
162+ }
163+
164+account_tax_code()
165+
166+class wizard_update_charts_accounts(osv.osv_memory):
167+ _inherit = 'wizard.update.charts.accounts'
168+
169+ def _find_tax_codes(self, cr, uid, wizard, context=None):
170+ """
171+ Search for, and load, tax code templates to create/update.
172+ """
173+ new_tax_codes = 0
174+ updated_tax_codes = 0
175+ tax_code_template_mapping = {}
176+
177+ tax_code_templ_obj = self.pool.get('account.tax.code.template')
178+ tax_code_obj = self.pool.get('account.tax.code')
179+ wiz_tax_code_obj = self.pool.get('wizard.update.charts.accounts.tax.code')
180+
181+ # Remove previous tax codes
182+ wiz_tax_code_obj.unlink(cr, uid, wiz_tax_code_obj.search(cr, uid, []))
183+
184+ #
185+ # Search for new / updated tax codes
186+ #
187+ root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
188+ children_tax_code_template = tax_code_templ_obj.search(cr, uid, [('parent_id', 'child_of', [root_tax_code_id])], order='id')
189+ for tax_code_template in tax_code_templ_obj.browse(cr, uid, children_tax_code_template):
190+ # Ensure the tax code template is on the map (search for the mapped tax code id).
191+ self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template, context)
192+
193+ tax_code_id = tax_code_template_mapping.get(tax_code_template.id)
194+ if not tax_code_id:
195+ new_tax_codes += 1
196+ wiz_tax_code_obj.create(cr, uid, {
197+ 'tax_code_id': tax_code_template.id,
198+ 'update_chart_wizard_id': wizard.id,
199+ 'type': 'new',
200+ }, context)
201+ elif wizard.update_tax_code:
202+ #
203+ # Check the tax code for changes.
204+ #
205+ modified = False
206+ notes = ""
207+ tax_code = tax_code_obj.browse(cr, uid, tax_code_id, context=context)
208+
209+ if tax_code.code != tax_code_template.code:
210+ notes += _("The code field is different.\n")
211+ modified = True
212+ if tax_code.info != tax_code_template.info:
213+ notes += _("The info field is different.\n")
214+ modified = True
215+ if tax_code.sign != tax_code_template.sign:
216+ notes += _("The sign field is different.\n")
217+ modified = True
218+ if tax_code.mod340 != tax_code_template.mod340:
219+ notes += _("The Mod 340 field is different.\n")
220+ modified = True
221+
222+ # TODO: We could check other account fields for changes...
223+
224+ if modified:
225+ #
226+ # Tax code to update.
227+ #
228+ updated_tax_codes += 1
229+ wiz_tax_code_obj.create(cr, uid, {
230+ 'tax_code_id': tax_code_template.id,
231+ 'update_chart_wizard_id': wizard.id,
232+ 'type': 'updated',
233+ 'update_tax_code_id': tax_code_id,
234+ 'notes': notes,
235+ }, context)
236+
237+ return { 'new': new_tax_codes, 'updated': updated_tax_codes, 'mapping': tax_code_template_mapping }
238+
239+ def _update_tax_codes(self, cr, uid, wizard, log, context=None):
240+ """
241+ Search for, and load, tax code templates to create/update.
242+ """
243+ tax_code_obj = self.pool.get('account.tax.code')
244+
245+ root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
246+
247+ new_tax_codes = 0
248+ updated_tax_codes = 0
249+ tax_code_template_mapping = {}
250+
251+ for wiz_tax_code in wizard.tax_code_ids:
252+ tax_code_template = wiz_tax_code.tax_code_id
253+ tax_code_name = (root_tax_code_id == tax_code_template.id) and wizard.company_id.name or tax_code_template.name
254+
255+ # Ensure the parent tax code template is on the map.
256+ self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template.parent_id, context)
257+
258+ #
259+ # Values
260+ #
261+ vals = {
262+ 'name': tax_code_name,
263+ 'code': tax_code_template.code,
264+ 'info': tax_code_template.info,
265+ 'parent_id': tax_code_template.parent_id and tax_code_template_mapping.get(tax_code_template.parent_id.id),
266+ 'company_id': wizard.company_id.id,
267+ 'sign': tax_code_template.sign,
268+ 'mod340': tax_code_template.mod340
269+ }
270+
271+ tax_code_id = None
272+ modified = False
273+
274+ if wiz_tax_code.type == 'new':
275+ #
276+ # Create the tax code
277+ #
278+ tax_code_id = tax_code_obj.create(cr, uid, vals)
279+ log.add(_("Created tax code %s.\n") % tax_code_name)
280+ new_tax_codes += 1
281+ modified = True
282+ elif wizard.update_tax_code and wiz_tax_code.update_tax_code_id:
283+ #
284+ # Update the tax code
285+ #
286+ tax_code_id = wiz_tax_code.update_tax_code_id.id
287+ tax_code_obj.write(cr, uid, [tax_code_id], vals)
288+ log.add(_("Updated tax code %s.\n") % tax_code_name)
289+ updated_tax_codes += 1
290+ modified = True
291+ else:
292+ tax_code_id = wiz_tax_code.update_tax_code_id and wiz_tax_code.update_tax_code_id.id
293+ modified = False
294+
295+ # Store the tax codes on the map
296+ tax_code_template_mapping[tax_code_template.id] = tax_code_id
297+
298+ if modified:
299+ #
300+ # Detect errors
301+ #
302+ if tax_code_template.parent_id and not tax_code_template_mapping.get(tax_code_template.parent_id.id):
303+ 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)
304+
305+ return {
306+ 'new': new_tax_codes,
307+ 'updated': updated_tax_codes,
308+ 'mapping': tax_code_template_mapping
309+ }
310+
311+wizard_update_charts_accounts()
312\ No newline at end of file
313
314=== added file 'l10n_es_aeat_mod340/account_view.xml'
315--- l10n_es_aeat_mod340/account_view.xml 1970-01-01 00:00:00 +0000
316+++ l10n_es_aeat_mod340/account_view.xml 2013-05-17 16:51:41 +0000
317@@ -0,0 +1,28 @@
318+<?xml version="1.0" encoding="utf-8"?>
319+<openerp>
320+ <data>
321+ <record id="view_tax_code_template_form_mod340" model="ir.ui.view">
322+ <field name="name">account.tax.code.template.form.mod340</field>
323+ <field name="model">account.tax.code.template</field>
324+ <field name="inherit_id" ref="account.view_tax_code_template_form"/>
325+ <field name="type">form</field>
326+ <field name="arch" type="xml">
327+ <field name="sign" position="after">
328+ <field name="mod340"/>
329+ </field>
330+ </field>
331+ </record>
332+
333+ <record id="view_tax_code_form_mod340" model="ir.ui.view">
334+ <field name="name">account.tax.code.form.mod340</field>
335+ <field name="model">account.tax.code</field>
336+ <field name="inherit_id" ref="account.view_tax_code_form"/>
337+ <field name="type">form</field>
338+ <field name="arch" type="xml">
339+ <field name="sign" position="after">
340+ <field name="mod340"/>
341+ </field>
342+ </field>
343+ </record>
344+ </data>
345+</openerp>
346\ No newline at end of file
347
348=== modified file 'l10n_es_aeat_mod340/i18n/es.po'
349--- l10n_es_aeat_mod340/i18n/es.po 2012-02-23 22:09:13 +0000
350+++ l10n_es_aeat_mod340/i18n/es.po 2013-05-17 16:51:41 +0000
351@@ -1,53 +1,51 @@
352 # Translation of OpenERP Server.
353 # This file contains the translation of the following modules:
354-# * l10n_es_aeat_mod340
355+# * l10n_es_aeat_mod340
356 #
357 msgid ""
358 msgstr ""
359-"Project-Id-Version: OpenERP Server 6.0.2\n"
360+"Project-Id-Version: OpenERP Server 6.0.3\n"
361 "Report-Msgid-Bugs-To: support@openerp.com\n"
362-"POT-Creation-Date: 2012-01-30 10:57+0000\n"
363-"PO-Revision-Date: 2012-01-30 10:57+0000\n"
364+"POT-Creation-Date: 2013-05-15 16:29+0000\n"
365+"PO-Revision-Date: 2013-05-15 16:29+0000\n"
366+"Last-Translator: <>\n"
367 "Language-Team: \n"
368 "MIME-Version: 1.0\n"
369 "Content-Type: text/plain; charset=UTF-8\n"
370-"Content-Transfer-Encoding: 8bit\n"
371+"Content-Transfer-Encoding: \n"
372 "Plural-Forms: \n"
373
374 #. module: l10n_es_aeat_mod340
375-#: selection:l10n.es.aeat.mod340,period:0
376-msgid "Third quarter"
377-msgstr "Tercer trimestre"
378-
379-#. module: l10n_es_aeat_mod340
380 #: view:l10n.es.aeat.mod340.issued:0
381 msgid "Issued invoices"
382 msgstr "Facturas emitidas"
383
384 #. module: l10n_es_aeat_mod340
385-#: code:addons/l10n_es_aeat_mod340/mod340.py:162
386+#: code:addons/l10n_es_aeat_mod340/mod340.py:178
387 #, python-format
388 msgid "All real state records state code field must be filled."
389 msgstr "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."
390
391 #. module: l10n_es_aeat_mod340
392-#: code:addons/l10n_es_aeat_mod340/mod340.py:65
393-#, python-format
394-msgid "En desarrollo"
395-msgstr "En desarrollo"
396-
397-#. module: l10n_es_aeat_mod340
398-#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
399-#: field:l10n.es.aeat.mod340.investment,amount_tax:0
400-#: field:l10n.es.aeat.mod340.issued,amount_tax:0
401-#: field:l10n.es.aeat.mod340.received,amount_tax:0
402-msgid "amount of the tax"
403-msgstr "cantidad de impuestos"
404-
405-#. module: l10n_es_aeat_mod340
406-#: selection:l10n.es.aeat.mod340,period:0
407-msgid "March"
408-msgstr "Marzo"
409+#: code:addons/l10n_es_aeat_mod340/account.py:89
410+#, python-format
411+msgid "The code field is different.\n"
412+""
413+msgstr "El campo código es diferente.\n"
414+""
415+
416+#. module: l10n_es_aeat_mod340
417+#: field:l10n.es.aeat.mod340,total_taxable:0
418+msgid "Total Taxable"
419+msgstr "Total"
420+
421+#. module: l10n_es_aeat_mod340
422+#: code:addons/l10n_es_aeat_mod340/account.py:158
423+#, python-format
424+msgid "Created tax code %s.\n"
425+""
426+msgstr "Código de impuesto %s creado.\n"
427+""
428
429 #. module: l10n_es_aeat_mod340
430 #: view:l10n.es.aeat.mod340:0
431@@ -61,12 +59,17 @@
432 msgstr "Compañia"
433
434 #. module: l10n_es_aeat_mod340
435+#: field:l10n.es.aeat.mod340,total_sharetax:0
436+msgid "Total Share Tax"
437+msgstr "Total impuestos"
438+
439+#. module: l10n_es_aeat_mod340
440 #: field:l10n.es.aeat.mod340,number_records:0
441 msgid "Records"
442 msgstr "Registros"
443
444 #. module: l10n_es_aeat_mod340
445-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:270
446+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:341
447 #, python-format
448 msgid "The type 2 received record must be 500 characters long for each Vat registry"
449 msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
450@@ -82,10 +85,19 @@
451 msgstr "Teléfono de contacto"
452
453 #. module: l10n_es_aeat_mod340
454+#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
455+#: field:l10n.es.aeat.mod340.investment,base_tax:0
456+#: field:l10n.es.aeat.mod340.issued,base_tax:0
457+#: field:l10n.es.aeat.mod340.received,base_tax:0
458 #: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0
459 #: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0
460 msgid "Base tax bill"
461-msgstr "Base imponible"
462+msgstr "Base"
463+
464+#. module: l10n_es_aeat_mod340
465+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
466+msgid "Tax Code"
467+msgstr "Código impuesto"
468
469 #. module: l10n_es_aeat_mod340
470 #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
471@@ -93,25 +105,29 @@
472 msgstr "Crear informe del Model AEAT 340"
473
474 #. module: l10n_es_aeat_mod340
475-#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92
476+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:134
477 #, python-format
478-msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"
479-msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:"
480-
481-#. module: l10n_es_aeat_mod340
482-#: view:l10n.es.aeat.mod340:0
483-msgid "In process"
484-msgstr "En processo"
485-
486-#. module: l10n_es_aeat_mod340
487+msgid "The period hasn't a valid Mod340 period"
488+msgstr "El periodo no es válido para el Módelo 340"
489+
490+#. module: l10n_es_aeat_mod340
491+#: field:account.tax.code,mod340:0
492+#: field:account.tax.code.template,mod340:0
493+msgid "Include in mod340"
494+msgstr "Incluir en el modelo 340"
495+
496+#. module: l10n_es_aeat_mod340
497+#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
498+#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
499+#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
500 #: field:l10n.es.aeat.mod340.received,tax_line_ids:0
501 msgid "Tax lines"
502-msgstr "Líneas de impuestos"
503+msgstr "Lineas de impuestos"
504
505 #. module: l10n_es_aeat_mod340
506-#: code:addons/l10n_es_aeat_mod340/mod340.py:156
507-#: code:addons/l10n_es_aeat_mod340/mod340.py:158
508-#: code:addons/l10n_es_aeat_mod340/mod340.py:162
509+#: code:addons/l10n_es_aeat_mod340/mod340.py:172
510+#: code:addons/l10n_es_aeat_mod340/mod340.py:174
511+#: code:addons/l10n_es_aeat_mod340/mod340.py:178
512 #, python-format
513 msgid "Error!"
514 msgstr "Error!"
515@@ -127,17 +143,80 @@
516 msgstr "6 - Otro documento probatorio"
517
518 #. module: l10n_es_aeat_mod340
519-#: field:l10n.es.aeat.mod340,company_vat:0
520-msgid "VAT number"
521-msgstr "CIF/NIF"
522-
523-#. module: l10n_es_aeat_mod340
524-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184
525+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:252
526 #, python-format
527 msgid "The type 2 issued record must be 500 characters long for each Vat registry"
528 msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
529
530 #. module: l10n_es_aeat_mod340
531+#: model:ir.module.module,description:l10n_es_aeat_mod340.module_meta_information
532+msgid "\n"
533+"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
534+"\n"
535+"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"
536+"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"
537+"\n"
538+"Búsqueda de facturas emitidas y recibidas.\n"
539+"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
540+"Exportación de facturas con varios tipos impositivos. Clave de operación C\n"
541+"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial\n"
542+"Facturas rectificativas\n"
543+"Facturas resumen de tiques\n"
544+"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
545+"\n"
546+"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
547+"\n"
548+"Facturas bienes de inversión\n"
549+"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
550+"Asientos contables de resumen de tiques\n"
551+"Exportación de asientos resumen de facturas\n"
552+""
553+msgstr "\n"
554+"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
555+"\n"
556+"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"
557+"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"
558+"\n"
559+"Búsqueda de facturas emitidas y recibidas.\n"
560+"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
561+"Exportación de facturas con varios tipos impositivos. Clave de operación C\n"
562+"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial\n"
563+"Facturas rectificativas\n"
564+"Facturas resumen de tiques\n"
565+"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
566+"\n"
567+"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
568+"\n"
569+"Facturas bienes de inversión\n"
570+"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
571+"Asientos contables de resumen de tiques\n"
572+"Exportación de asientos resumen de facturas\n"
573+""
574+
575+#. module: l10n_es_aeat_mod340
576+#: selection:l10n.es.aeat.mod340,type:0
577+msgid "Complementary"
578+msgstr "Complementaria"
579+
580+#. module: l10n_es_aeat_mod340
581+#: field:l10n.es.aeat.mod340,period_from:0
582+msgid "Start period"
583+msgstr "Periodo inicial"
584+
585+#. module: l10n_es_aeat_mod340
586+#: constraint:account.tax.code:0
587+msgid "Error ! You can not create recursive accounts."
588+msgstr "¡Error! No se pueden crear cuentas recursivas."
589+
590+#. module: l10n_es_aeat_mod340
591+#: code:addons/l10n_es_aeat_mod340/account.py:167
592+#, python-format
593+msgid "Updated tax code %s.\n"
594+""
595+msgstr "Código de impuesto %s actualizado.\n"
596+""
597+
598+#. module: l10n_es_aeat_mod340
599 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
600 #: field:l10n.es.aeat.mod340,intracomunitarias:0
601 msgid "Operations Intracomunitarias"
602@@ -153,7 +232,20 @@
603 #: view:l10n.es.aeat.mod340:0
604 #: field:l10n.es.aeat.mod340,ean13:0
605 msgid "Electronic Code VAT reverse charge"
606-msgstr "Electronic Code VAT reverse charge"
607+msgstr "Código electrónico del modelo 303"
608+
609+#. module: l10n_es_aeat_mod340
610+#: field:l10n.es.aeat.mod340,period_to:0
611+msgid "End period"
612+msgstr "Periodo final"
613+
614+#. module: l10n_es_aeat_mod340
615+#: code:addons/l10n_es_aeat_mod340/account.py:98
616+#, python-format
617+msgid "The Mod 340 field is different.\n"
618+""
619+msgstr "El campo Mod 340 es diferente.\n"
620+""
621
622 #. module: l10n_es_aeat_mod340
623 #: view:l10n.es.aeat.mod340:0
624@@ -161,6 +253,12 @@
625 msgstr "Identificación"
626
627 #. module: l10n_es_aeat_mod340
628+#: view:l10n.es.aeat.mod340.issued:0
629+#: view:l10n.es.aeat.mod340.received:0
630+msgid "Total Tax"
631+msgstr "Total Impuestos"
632+
633+#. module: l10n_es_aeat_mod340
634 #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
635 msgid "mod340 report"
636 msgstr "mod340 report"
637@@ -171,7 +269,7 @@
638 msgstr "Facturas"
639
640 #. module: l10n_es_aeat_mod340
641-#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65
642+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64
643 #, python-format
644 msgid "This company dont have NIF"
645 msgstr "Esta compañía no tiene CIF/NIF"
646@@ -187,7 +285,7 @@
647 msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
648
649 #. module: l10n_es_aeat_mod340
650-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306
651+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:377
652 #, python-format
653 msgid "340_report_%s.txt"
654 msgstr "340_report_%s.txt"
655@@ -198,16 +296,19 @@
656 msgstr "Estado"
657
658 #. module: l10n_es_aeat_mod340
659-#: selection:l10n.es.aeat.mod340,period:0
660-msgid "First quarter"
661-msgstr "Pirmer trimestre"
662-
663-#. module: l10n_es_aeat_mod340
664 #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
665 msgid "AEAT 340 Model"
666 msgstr "Modelo AEAT 340"
667
668 #. module: l10n_es_aeat_mod340
669+#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
670+#: field:l10n.es.aeat.mod340.investment,amount_tax:0
671+#: field:l10n.es.aeat.mod340.issued,amount_tax:0
672+#: field:l10n.es.aeat.mod340.received,amount_tax:0
673+msgid "Total tax"
674+msgstr "Total impuestos"
675+
676+#. module: l10n_es_aeat_mod340
677 #: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
678 #: help:l10n.es.aeat.mod340.investment,representative_vat:0
679 #: help:l10n.es.aeat.mod340.issued,representative_vat:0
680@@ -231,7 +332,7 @@
681 msgstr "Tipo de soporte"
682
683 #. module: l10n_es_aeat_mod340
684-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306
685+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:377
686 #, python-format
687 msgid "%Y-%m-%d"
688 msgstr "%d-%m-%Y"
689@@ -242,9 +343,25 @@
690 msgstr "Exportar al BOE"
691
692 #. module: l10n_es_aeat_mod340
693-#: selection:l10n.es.aeat.mod340,period:0
694-msgid "July"
695-msgstr "Julio"
696+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
697+#, python-format
698+msgid "The periods selected don't belong to the fiscal year %s"
699+msgstr "Los periodos seleccionados no pertenecen al año fiscal %s"
700+
701+#. module: l10n_es_aeat_mod340
702+#: constraint:account.tax.code.template:0
703+msgid "Error ! You can not create recursive Tax Codes."
704+msgstr "¡Error! No puede crear códigos de impuestos recursivos."
705+
706+#. module: l10n_es_aeat_mod340
707+#: field:l10n.es.aeat.mod340,company_vat:0
708+msgid "VAT number"
709+msgstr "CIF/NIF"
710+
711+#. module: l10n_es_aeat_mod340
712+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax
713+msgid "account.tax"
714+msgstr "contabilidad.impuesto"
715
716 #. module: l10n_es_aeat_mod340
717 #: selection:res.partner,vat_type:0
718@@ -257,15 +374,15 @@
719 msgstr "Exportar Modelo AEAT 340 al formato del BOE"
720
721 #. module: l10n_es_aeat_mod340
722-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92
723+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:147
724 #, python-format
725 msgid "The type 1 record must be 500 characters long"
726 msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"
727
728 #. module: l10n_es_aeat_mod340
729-#: field:l10n.es.aeat.mod340,calculation_date:0
730-msgid "Calculation date"
731-msgstr "Fecha de calculo"
732+#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
733+msgid "Mod340 vat lines issued"
734+msgstr "Líneas de impuestos emitidos"
735
736 #. module: l10n_es_aeat_mod340
737 #: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner
738@@ -277,27 +394,22 @@
739 msgstr "Empresa"
740
741 #. module: l10n_es_aeat_mod340
742-#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
743-#: field:l10n.es.aeat.mod340.investment,base_tax:0
744-#: field:l10n.es.aeat.mod340.issued,base_tax:0
745-#: field:l10n.es.aeat.mod340.received,base_tax:0
746-msgid "base tax bill"
747-msgstr "Base imponible"
748-
749-#. module: l10n_es_aeat_mod340
750 #: view:l10n.es.aeat.mod340.tax_line_received:0
751 msgid "Tax line received"
752 msgstr "Líneas de impuestos recibidos"
753
754 #. module: l10n_es_aeat_mod340
755-#: selection:l10n.es.aeat.mod340,period:0
756-msgid "September"
757-msgstr "Septiembre"
758+#: code:addons/l10n_es_aeat_mod340/account.py:95
759+#, python-format
760+msgid "The sign field is different.\n"
761+""
762+msgstr "El campo signo es diferente.\n"
763+""
764
765 #. module: l10n_es_aeat_mod340
766-#: selection:l10n.es.aeat.mod340,period:0
767-msgid "December"
768-msgstr "Diciembre"
769+#: selection:l10n.es.aeat.mod340,type:0
770+msgid "Normal"
771+msgstr "Normal"
772
773 #. module: l10n_es_aeat_mod340
774 #: field:l10n.es.aeat.mod340,number:0
775@@ -310,14 +422,14 @@
776 msgstr "Cancelado"
777
778 #. module: l10n_es_aeat_mod340
779-#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
780-msgid "Mod340 vat lines issued"
781-msgstr "Líneas de impuestos emitidos"
782+#: field:l10n.es.aeat.mod340,calculation_date:0
783+msgid "Calculation date"
784+msgstr "Fecha de calculo"
785
786 #. module: l10n_es_aeat_mod340
787-#: field:l10n.es.aeat.mod340,total_taxable:0
788-msgid "Total Taxable"
789-msgstr "Total"
790+#: field:account.invoice,number_tickets:0
791+msgid "Number of tickets"
792+msgstr "Número de tiques"
793
794 #. module: l10n_es_aeat_mod340
795 #: view:l10n.es.aeat.mod340:0
796@@ -325,9 +437,12 @@
797 msgstr "Calcular"
798
799 #. module: l10n_es_aeat_mod340
800-#: field:l10n.es.aeat.mod340,total_sharetax:0
801-msgid "Total Share Tax"
802-msgstr "Total impuestos"
803+#: code:addons/l10n_es_aeat_mod340/account.py:182
804+#, python-format
805+msgid "Tax code %s: The parent tax code %s can not be set.\n"
806+""
807+msgstr "Código de impuesto %s: el padre de %s no puede ser guardado.\n"
808+""
809
810 #. module: l10n_es_aeat_mod340
811 #: selection:l10n.es.aeat.mod340,support_type:0
812@@ -335,19 +450,22 @@
813 msgstr "DVD"
814
815 #. module: l10n_es_aeat_mod340
816-#: code:addons/l10n_es_aeat_mod340/mod340.py:65
817-#, python-format
818-msgid "No disponible:"
819-msgstr "No disponible:"
820+#: view:l10n.es.aeat.mod340:0
821+msgid "In process"
822+msgstr "En processo"
823
824 #. module: l10n_es_aeat_mod340
825-#: code:addons/l10n_es_aeat_mod340/mod340.py:156
826+#: code:addons/l10n_es_aeat_mod340/mod340.py:172
827 #, python-format
828 msgid "All partner state code field must be filled."
829 msgstr "Todos las empresas deben tener provincia."
830
831 #. module: l10n_es_aeat_mod340
832-#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340
833+#: model:ir.module.module,shortdesc:l10n_es_aeat_mod340.module_meta_information
834+msgid "Generación de fichero modelo 340 y libro de IVA"
835+msgstr "Generación de fichero modelo 340 y libro de IVA"
836+
837+#. module: l10n_es_aeat_mod340
838 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
839 #: view:l10n.es.aeat.mod340:0
840 #: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0
841@@ -369,28 +487,26 @@
842 msgstr "3 - Pasaporte"
843
844 #. module: l10n_es_aeat_mod340
845-#: code:addons/l10n_es_aeat_mod340/mod340.py:158
846+#: code:addons/l10n_es_aeat_mod340/mod340.py:174
847 #, python-format
848 msgid "All partner vat number field must be filled."
849 msgstr "Todas las empresas deben tener CIF/NIF."
850
851 #. module: l10n_es_aeat_mod340
852-#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
853-#: field:l10n.es.aeat.mod340.investment,total:0
854-#: field:l10n.es.aeat.mod340.issued,total:0
855-#: field:l10n.es.aeat.mod340.received,total:0
856-msgid "total"
857-msgstr "total"
858-
859-#. module: l10n_es_aeat_mod340
860-#: selection:l10n.es.aeat.mod340,period:0
861-msgid "August"
862-msgstr "Agosto"
863-
864-#. module: l10n_es_aeat_mod340
865-#: selection:l10n.es.aeat.mod340,type:0
866-msgid "Normal"
867-msgstr "Normal"
868+#: view:l10n.es.aeat.mod340.issued:0
869+#: view:l10n.es.aeat.mod340.received:0
870+msgid "Total Base"
871+msgstr "Total Base"
872+
873+#. module: l10n_es_aeat_mod340
874+#: field:account.invoice,first_ticket:0
875+msgid "First ticket"
876+msgstr "Primer tique"
877+
878+#. module: l10n_es_aeat_mod340
879+#: help:account.invoice,is_ticket_summary:0
880+msgid "Check if this invoice is a ticket summary"
881+msgstr "Active si esta factura es un resumen de tiques"
882
883 #. module: l10n_es_aeat_mod340
884 #: selection:l10n.es.aeat.mod340,state:0
885@@ -398,29 +514,24 @@
886 msgstr "Procesando"
887
888 #. module: l10n_es_aeat_mod340
889-#: selection:l10n.es.aeat.mod340,period:0
890-msgid "June"
891-msgstr "Junio"
892-
893-#. module: l10n_es_aeat_mod340
894 #: field:l10n.es.aeat.mod340,contact_phone:0
895 msgid "Phone"
896 msgstr "Teléfono"
897
898 #. module: l10n_es_aeat_mod340
899-#: selection:l10n.es.aeat.mod340,period:0
900-msgid "November"
901-msgstr "Noviembre"
902-
903-#. module: l10n_es_aeat_mod340
904-#: selection:l10n.es.aeat.mod340,period:0
905-msgid "October"
906-msgstr "Octubre"
907-
908-#. module: l10n_es_aeat_mod340
909-#: selection:l10n.es.aeat.mod340,period:0
910-msgid "January"
911-msgstr "Enero"
912+#: field:account.invoice,last_ticket:0
913+msgid "Last ticket"
914+msgstr "Último tique"
915+
916+#. module: l10n_es_aeat_mod340
917+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_template
918+msgid "account.tax.template"
919+msgstr "cuenta.impuesto.plantilla"
920+
921+#. module: l10n_es_aeat_mod340
922+#: field:account.invoice,is_ticket_summary:0
923+msgid "Ticket Summary"
924+msgstr "Resumen de tiques"
925
926 #. module: l10n_es_aeat_mod340
927 #: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0
928@@ -436,6 +547,11 @@
929 msgstr "Resumen"
930
931 #. module: l10n_es_aeat_mod340
932+#: view:l10n.es.aeat.mod340:0
933+msgid "Presenter"
934+msgstr "Presentador"
935+
936+#. module: l10n_es_aeat_mod340
937 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records
938 msgid "AEAT Model 340 Wizard - Calculate Records"
939 msgstr "Modelo 340 - Calcular registros"
940@@ -451,6 +567,12 @@
941 msgstr "Factudas emitidas"
942
943 #. module: l10n_es_aeat_mod340
944+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
945+#, python-format
946+msgid "Error"
947+msgstr "Error"
948+
949+#. module: l10n_es_aeat_mod340
950 #: field:l10n.es.aeat.mod340,representative_vat:0
951 #: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
952 #: field:l10n.es.aeat.mod340.investment,representative_vat:0
953@@ -480,11 +602,6 @@
954 msgstr "Tipo de documento"
955
956 #. module: l10n_es_aeat_mod340
957-#: field:l10n.es.aeat.mod340,period:0
958-msgid "Period"
959-msgstr "Periodo"
960-
961-#. module: l10n_es_aeat_mod340
962 #: view:l10n.es.aeat.mod340:0
963 msgid "General"
964 msgstr "General"
965@@ -501,6 +618,7 @@
966 msgstr "4 - Documento oficial de identificación expedido por el país"
967
968 #. module: l10n_es_aeat_mod340
969+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice
970 #: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0
971 #: field:l10n.es.aeat.mod340.investment,invoice_id:0
972 #: field:l10n.es.aeat.mod340.issued,invoice_id:0
973@@ -519,16 +637,12 @@
974 msgstr "Recalcular"
975
976 #. module: l10n_es_aeat_mod340
977-#: selection:l10n.es.aeat.mod340,period:0
978-msgid "Fourth quarter"
979-msgstr "Cuarto trimestre"
980-
981-#. module: l10n_es_aeat_mod340
982 #: selection:res.partner,vat_type:0
983 msgid "5 - Certificado de residencia fiscal"
984 msgstr "5 - Certificado de residencia fiscal"
985
986 #. module: l10n_es_aeat_mod340
987+#: view:account.invoice:0
988 #: view:l10n.es.aeat.mod340:0
989 msgid "AEAT 340"
990 msgstr "AEAT 340"
991@@ -555,9 +669,10 @@
992 msgstr "Modelo AEAT 340"
993
994 #. module: l10n_es_aeat_mod340
995-#: selection:l10n.es.aeat.mod340,period:0
996-msgid "May"
997-msgstr "Mayo"
998+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
999+#, python-format
1000+msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
1001+msgstr "Factura %s, La cantidad de lineas sin impuesto %.2f no corresponde con la cantidad sin impuestos en la factura %.2f"
1002
1003 #. module: l10n_es_aeat_mod340
1004 #: help:res.partner,vat_type:0
1005@@ -570,7 +685,7 @@
1006 #: help:l10n.es.aeat.mod340,total_sharetax:0
1007 #: help:l10n.es.aeat.mod340,total_taxable:0
1008 msgid "The declaration will include partners with the total of operations over this limit"
1009-msgstr "The declaration will include partners with the total of operations over this limit"
1010+msgstr "La declaración incluye las empresas que no superen este limite"
1011
1012 #. module: l10n_es_aeat_mod340
1013 #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
1014@@ -594,7 +709,7 @@
1015 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment
1016 #: field:l10n.es.aeat.mod340,investment:0
1017 msgid "Property Investment"
1018-msgstr "Property Investment"
1019+msgstr "Inmobilizado"
1020
1021 #. module: l10n_es_aeat_mod340
1022 #: field:l10n.es.aeat.mod340,name_contact:0
1023@@ -602,11 +717,6 @@
1024 msgstr "Nombre y apellido de contacto"
1025
1026 #. module: l10n_es_aeat_mod340
1027-#: selection:l10n.es.aeat.mod340,period:0
1028-msgid "February"
1029-msgstr "Febrero"
1030-
1031-#. module: l10n_es_aeat_mod340
1032 #: field:l10n.es.aeat.mod340,name:0
1033 #: field:l10n.es.aeat.mod340.tax_line_issued,name:0
1034 #: field:l10n.es.aeat.mod340.tax_line_received,name:0
1035@@ -619,11 +729,6 @@
1036 msgstr "Facturas recibidas"
1037
1038 #. module: l10n_es_aeat_mod340
1039-#: selection:l10n.es.aeat.mod340,period:0
1040-msgid "April"
1041-msgstr "Abril"
1042-
1043-#. module: l10n_es_aeat_mod340
1044 #: view:l10n.es.aeat.mod340:0
1045 #: field:l10n.es.aeat.mod340,fiscalyear_id:0
1046 msgid "Fiscal Year"
1047@@ -636,6 +741,14 @@
1048 msgstr "Facturas recibidas"
1049
1050 #. module: l10n_es_aeat_mod340
1051+#: code:addons/l10n_es_aeat_mod340/account.py:92
1052+#, python-format
1053+msgid "The info field is different.\n"
1054+""
1055+msgstr "El campo descripción es diferente.\n"
1056+""
1057+
1058+#. module: l10n_es_aeat_mod340
1059 #: selection:l10n.es.aeat.mod340,support_type:0
1060 msgid "Telematics"
1061 msgstr "Telemática"
1062@@ -646,53 +759,34 @@
1063 msgstr "Clave tipo de NIF"
1064
1065 #. module: l10n_es_aeat_mod340
1066-#: selection:l10n.es.aeat.mod340,period:0
1067-msgid "Second quarter"
1068-msgstr "Segundo trimestre"
1069-
1070-#. module: l10n_es_aeat_mod340
1071-#: selection:l10n.es.aeat.mod340,type:0
1072-msgid "Complementary"
1073-msgstr "Complementaria"
1074-
1075-#. module: l10n_es_aeat_mod340
1076-#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
1077-#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
1078-#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
1079-msgid "tax lines"
1080-msgstr "líneas de impuestos"
1081+#: constraint:account.invoice:0
1082+msgid "Invoice date is previous to an existing invoice."
1083+msgstr "La fecha de la factura es anterior a una factura existente."
1084+
1085+#. module: l10n_es_aeat_mod340
1086+#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
1087+msgid "wizard.update.charts.accounts"
1088+msgstr "wizard.update.charts.accounts"
1089
1090 #. module: l10n_es_aeat_mod340
1091 #: field:l10n.es.aeat.mod340,total:0
1092+#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
1093+#: field:l10n.es.aeat.mod340.investment,total:0
1094+#: view:l10n.es.aeat.mod340.issued:0
1095+#: field:l10n.es.aeat.mod340.issued,total:0
1096+#: view:l10n.es.aeat.mod340.received:0
1097+#: field:l10n.es.aeat.mod340.received,total:0
1098 msgid "Total"
1099 msgstr "Total"
1100
1101 #. module: l10n_es_aeat_mod340
1102-#: field:account.invoice,number_tickets:0
1103-msgid "Number of tickets"
1104-msgstr "Número de tiques"
1105-
1106-#. module: l10n_es_aeat_mod340
1107-#: field:account.invoice,first_ticket:0
1108-msgid "First ticket"
1109-msgstr "Primer tique"
1110-
1111-#. module: l10n_es_aeat_mod340
1112-#: help:account.invoice,is_ticket_summary:0
1113-msgid "Check if this invoice is a ticket summary"
1114-msgstr "Active si esta factura es un resumen de tiques"
1115-
1116-#. module: l10n_es_aeat_mod340
1117-#: field:account.invoice,last_ticket:0
1118-msgid "Last ticket"
1119-msgstr "Último tique"
1120-
1121-#. module: l10n_es_aeat_mod340
1122-#: field:account.invoice,is_ticket_summary:0
1123-msgid "Ticket Summary"
1124-msgstr "Resumen de tiques"
1125-
1126-#. module: account
1127-#: view:account.invoice:0
1128-msgid "Tickets"
1129-msgstr "Tiques"
1130\ No newline at end of file
1131+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
1132+msgid "Tax Code Template"
1133+msgstr "Plantilla códigos de impuestos"
1134+
1135+#. module: l10n_es_aeat_mod340
1136+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
1137+#, python-format
1138+msgid "La siguiente empresa no tiene asignado nif:"
1139+msgstr "La siguiente empresa no tiene asignado nif:"
1140+
1141
1142=== modified file 'l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot'
1143--- l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2012-02-23 22:09:13 +0000
1144+++ l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2013-05-17 16:51:41 +0000
1145@@ -1,271 +1,356 @@
1146 # Translation of OpenERP Server.
1147 # This file contains the translation of the following modules:
1148-# * l10n_es_aeat_mod340
1149+# * l10n_es_aeat_mod340
1150 #
1151 msgid ""
1152 msgstr ""
1153-"Project-Id-Version: OpenERP Server 6.0.2\n"
1154+"Project-Id-Version: OpenERP Server 6.0.3\n"
1155 "Report-Msgid-Bugs-To: support@openerp.com\n"
1156-"POT-Creation-Date: 2012-01-30 10:57+0000\n"
1157-"PO-Revision-Date: 2012-01-30 10:57+0000\n"
1158+"POT-Creation-Date: 2013-05-15 17:41+0000\n"
1159+"PO-Revision-Date: 2013-05-15 17:41+0000\n"
1160+"Last-Translator: <>\n"
1161 "Language-Team: \n"
1162 "MIME-Version: 1.0\n"
1163 "Content-Type: text/plain; charset=UTF-8\n"
1164-"Content-Transfer-Encoding: 8bit\n"
1165+"Content-Transfer-Encoding: \n"
1166 "Plural-Forms: \n"
1167
1168 #. module: l10n_es_aeat_mod340
1169-#: selection:l10n.es.aeat.mod340,period:0
1170-msgid "Third quarter"
1171-msgstr "Tercer trimestre"
1172-
1173-#. module: l10n_es_aeat_mod340
1174 #: view:l10n.es.aeat.mod340.issued:0
1175 msgid "Issued invoices"
1176-msgstr "Facturas emitidas"
1177+msgstr ""
1178
1179 #. module: l10n_es_aeat_mod340
1180-#: code:addons/l10n_es_aeat_mod340/mod340.py:162
1181+#: code:addons/l10n_es_aeat_mod340/mod340.py:178
1182 #, python-format
1183 msgid "All real state records state code field must be filled."
1184-msgstr "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."
1185-
1186-#. module: l10n_es_aeat_mod340
1187-#: code:addons/l10n_es_aeat_mod340/mod340.py:65
1188-#, python-format
1189-msgid "En desarrollo"
1190-msgstr "En desarrollo"
1191-
1192-#. module: l10n_es_aeat_mod340
1193-#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
1194-#: field:l10n.es.aeat.mod340.investment,amount_tax:0
1195-#: field:l10n.es.aeat.mod340.issued,amount_tax:0
1196-#: field:l10n.es.aeat.mod340.received,amount_tax:0
1197-msgid "amount of the tax"
1198-msgstr "cantidad de impuestos"
1199-
1200-#. module: l10n_es_aeat_mod340
1201-#: selection:l10n.es.aeat.mod340,period:0
1202-msgid "March"
1203-msgstr "Marzo"
1204+msgstr ""
1205+
1206+#. module: l10n_es_aeat_mod340
1207+#: code:addons/l10n_es_aeat_mod340/account.py:89
1208+#, python-format
1209+msgid "The code field is different.\n"
1210+""
1211+msgstr ""
1212+
1213+#. module: l10n_es_aeat_mod340
1214+#: field:l10n.es.aeat.mod340,total_taxable:0
1215+msgid "Total Taxable"
1216+msgstr ""
1217+
1218+#. module: l10n_es_aeat_mod340
1219+#: code:addons/l10n_es_aeat_mod340/account.py:158
1220+#, python-format
1221+msgid "Created tax code %s.\n"
1222+""
1223+msgstr ""
1224
1225 #. module: l10n_es_aeat_mod340
1226 #: view:l10n.es.aeat.mod340:0
1227 msgid "Susbtitutive/complementary declaration"
1228-msgstr "Declaración sustitutiva/complementaría"
1229+msgstr ""
1230
1231 #. module: l10n_es_aeat_mod340
1232 #: view:l10n.es.aeat.mod340:0
1233 #: field:l10n.es.aeat.mod340,company_id:0
1234 msgid "Company"
1235-msgstr "Compañia"
1236+msgstr ""
1237+
1238+#. module: l10n_es_aeat_mod340
1239+#: field:l10n.es.aeat.mod340,total_sharetax:0
1240+msgid "Total Share Tax"
1241+msgstr ""
1242
1243 #. module: l10n_es_aeat_mod340
1244 #: field:l10n.es.aeat.mod340,number_records:0
1245 msgid "Records"
1246-msgstr "Registros"
1247+msgstr ""
1248
1249 #. module: l10n_es_aeat_mod340
1250-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:270
1251+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:361
1252 #, python-format
1253 msgid "The type 2 received record must be 500 characters long for each Vat registry"
1254-msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
1255+msgstr ""
1256
1257 #. module: l10n_es_aeat_mod340
1258 #: selection:l10n.es.aeat.mod340,type:0
1259 msgid "Substitutive"
1260-msgstr "Substitutiva"
1261+msgstr ""
1262
1263 #. module: l10n_es_aeat_mod340
1264 #: field:l10n.es.aeat.mod340,phone_contact:0
1265 msgid "Phone Contact"
1266-msgstr "Teléfono de contacto"
1267+msgstr ""
1268
1269 #. module: l10n_es_aeat_mod340
1270+#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
1271+#: field:l10n.es.aeat.mod340.investment,base_tax:0
1272+#: field:l10n.es.aeat.mod340.issued,base_tax:0
1273+#: field:l10n.es.aeat.mod340.received,base_tax:0
1274 #: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0
1275 #: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0
1276 msgid "Base tax bill"
1277-msgstr "Base imponible"
1278+msgstr ""
1279+
1280+#. module: l10n_es_aeat_mod340
1281+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
1282+msgid "Tax Code"
1283+msgstr ""
1284
1285 #. module: l10n_es_aeat_mod340
1286 #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
1287 msgid "Create and query AEAT Model 340 Reports"
1288-msgstr "Crear informe del Model AEAT 340"
1289+msgstr ""
1290
1291 #. module: l10n_es_aeat_mod340
1292-#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92
1293+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:157
1294 #, python-format
1295-msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"
1296-msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:"
1297-
1298-#. module: l10n_es_aeat_mod340
1299-#: view:l10n.es.aeat.mod340:0
1300-msgid "In process"
1301-msgstr "En processo"
1302-
1303-#. module: l10n_es_aeat_mod340
1304+msgid "The period hasn't a valid Mod340 period"
1305+msgstr ""
1306+
1307+#. module: l10n_es_aeat_mod340
1308+#: field:account.tax.code,mod340:0
1309+#: field:account.tax.code.template,mod340:0
1310+msgid "Include in mod340"
1311+msgstr ""
1312+
1313+#. module: l10n_es_aeat_mod340
1314+#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
1315+#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
1316+#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
1317 #: field:l10n.es.aeat.mod340.received,tax_line_ids:0
1318 msgid "Tax lines"
1319-msgstr "Líneas de impuestos"
1320+msgstr ""
1321
1322 #. module: l10n_es_aeat_mod340
1323-#: code:addons/l10n_es_aeat_mod340/mod340.py:156
1324-#: code:addons/l10n_es_aeat_mod340/mod340.py:158
1325-#: code:addons/l10n_es_aeat_mod340/mod340.py:162
1326+#: code:addons/l10n_es_aeat_mod340/mod340.py:172
1327+#: code:addons/l10n_es_aeat_mod340/mod340.py:174
1328+#: code:addons/l10n_es_aeat_mod340/mod340.py:178
1329 #, python-format
1330 msgid "Error!"
1331-msgstr "Error!"
1332+msgstr ""
1333
1334 #. module: l10n_es_aeat_mod340
1335 #: view:l10n.es.aeat.mod340:0
1336 msgid "Cancelled"
1337-msgstr "Cancelado"
1338+msgstr ""
1339
1340 #. module: l10n_es_aeat_mod340
1341 #: selection:res.partner,vat_type:0
1342 msgid "6 - Otro documento probatorio"
1343-msgstr "6 - Otro documento probatorio"
1344-
1345-#. module: l10n_es_aeat_mod340
1346-#: field:l10n.es.aeat.mod340,company_vat:0
1347-msgid "VAT number"
1348-msgstr "CIF/NIF"
1349-
1350-#. module: l10n_es_aeat_mod340
1351-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184
1352+msgstr ""
1353+
1354+#. module: l10n_es_aeat_mod340
1355+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:275
1356 #, python-format
1357 msgid "The type 2 issued record must be 500 characters long for each Vat registry"
1358-msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
1359+msgstr ""
1360+
1361+#. module: l10n_es_aeat_mod340
1362+#: selection:l10n.es.aeat.mod340,type:0
1363+msgid "Complementary"
1364+msgstr ""
1365+
1366+#. module: l10n_es_aeat_mod340
1367+#: field:l10n.es.aeat.mod340,period_from:0
1368+msgid "Start period"
1369+msgstr ""
1370+
1371+#. module: l10n_es_aeat_mod340
1372+#: constraint:account.tax.code:0
1373+msgid "Error ! You can not create recursive accounts."
1374+msgstr ""
1375+
1376+#. module: l10n_es_aeat_mod340
1377+#: code:addons/l10n_es_aeat_mod340/account.py:167
1378+#, python-format
1379+msgid "Updated tax code %s.\n"
1380+""
1381+msgstr ""
1382
1383 #. module: l10n_es_aeat_mod340
1384 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
1385 #: field:l10n.es.aeat.mod340,intracomunitarias:0
1386 msgid "Operations Intracomunitarias"
1387-msgstr "Operaciones intracomunitarias"
1388+msgstr ""
1389
1390 #. module: l10n_es_aeat_mod340
1391 #: field:l10n.es.aeat.mod340.tax_line_issued,tax_amount:0
1392 #: field:l10n.es.aeat.mod340.tax_line_received,tax_amount:0
1393 msgid "Tax amount"
1394-msgstr "Impuestos"
1395+msgstr ""
1396
1397 #. module: l10n_es_aeat_mod340
1398 #: view:l10n.es.aeat.mod340:0
1399 #: field:l10n.es.aeat.mod340,ean13:0
1400 msgid "Electronic Code VAT reverse charge"
1401-msgstr "Electronic Code VAT reverse charge"
1402+msgstr ""
1403+
1404+#. module: l10n_es_aeat_mod340
1405+#: field:l10n.es.aeat.mod340,period_to:0
1406+msgid "End period"
1407+msgstr ""
1408+
1409+#. module: l10n_es_aeat_mod340
1410+#: code:addons/l10n_es_aeat_mod340/account.py:98
1411+#, python-format
1412+msgid "The Mod 340 field is different.\n"
1413+""
1414+msgstr ""
1415
1416 #. module: l10n_es_aeat_mod340
1417 #: view:l10n.es.aeat.mod340:0
1418 msgid "Identification"
1419-msgstr "Identificación"
1420+msgstr ""
1421+
1422+#. module: l10n_es_aeat_mod340
1423+#: view:l10n.es.aeat.mod340.issued:0
1424+#: view:l10n.es.aeat.mod340.received:0
1425+msgid "Total Tax"
1426+msgstr ""
1427
1428 #. module: l10n_es_aeat_mod340
1429 #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
1430 msgid "mod340 report"
1431-msgstr "mod340 report"
1432+msgstr ""
1433
1434 #. module: l10n_es_aeat_mod340
1435 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued
1436 msgid "Invoices invoice"
1437-msgstr "Facturas"
1438+msgstr ""
1439
1440 #. module: l10n_es_aeat_mod340
1441-#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65
1442+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:96
1443 #, python-format
1444-msgid "This company dont have NIF"
1445-msgstr "Esta compañía no tiene CIF/NIF"
1446+msgid "The type 0 record must be 500 characters long"
1447+msgstr ""
1448
1449 #. module: l10n_es_aeat_mod340
1450 #: view:l10n.es.aeat.mod340:0
1451 msgid "Confirm"
1452-msgstr "Confirmar"
1453+msgstr ""
1454
1455 #. module: l10n_es_aeat_mod340
1456 #: selection:res.partner,vat_type:0
1457 msgid "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
1458-msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
1459+msgstr ""
1460
1461 #. module: l10n_es_aeat_mod340
1462-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306
1463+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406
1464 #, python-format
1465 msgid "340_report_%s.txt"
1466-msgstr "340_report_%s.txt"
1467+msgstr ""
1468
1469 #. module: l10n_es_aeat_mod340
1470 #: field:l10n.es.aeat.mod340,state:0
1471 msgid "State"
1472-msgstr "Estado"
1473-
1474-#. module: l10n_es_aeat_mod340
1475-#: selection:l10n.es.aeat.mod340,period:0
1476-msgid "First quarter"
1477-msgstr "Pirmer trimestre"
1478+msgstr ""
1479
1480 #. module: l10n_es_aeat_mod340
1481 #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
1482 msgid "AEAT 340 Model"
1483-msgstr "Modelo AEAT 340"
1484-
1485-#. module: l10n_es_aeat_mod340
1486-#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
1487-#: help:l10n.es.aeat.mod340.investment,representative_vat:0
1488-#: help:l10n.es.aeat.mod340.issued,representative_vat:0
1489-#: help:l10n.es.aeat.mod340.received,representative_vat:0
1490-msgid "Legal Representative VAT number"
1491-msgstr "CIF/NIF del representante legal"
1492+msgstr ""
1493+
1494+#. module: l10n_es_aeat_mod340
1495+#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
1496+#: field:l10n.es.aeat.mod340.investment,amount_tax:0
1497+#: field:l10n.es.aeat.mod340.issued,amount_tax:0
1498+#: field:l10n.es.aeat.mod340.received,amount_tax:0
1499+msgid "Total tax"
1500+msgstr ""
1501+
1502+#. module: l10n_es_aeat_mod340
1503+#: model:ir.module.module,description:l10n_es_aeat_mod340.module_meta_information
1504+msgid "\n"
1505+"Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA\n"
1506+"\n"
1507+"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"
1508+"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"
1509+"\n"
1510+"Búsqueda de facturas emitidas y recibidas.\n"
1511+"Exportación a formato de AEAT de facturas emitidas y recibidas.\n"
1512+"Exportación de facturas con varios tipos impositivos. Clave de operación C.\n"
1513+"Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial.\n"
1514+"Facturas rectificativas.\n"
1515+"Facturas resumen de tiques.\n"
1516+"Permite imprimir el libro de IVA, basado en la misma legislación.\n"
1517+"\n"
1518+"--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------\n"
1519+"\n"
1520+"Facturas bienes de inversión\n"
1521+"Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.\n"
1522+"Asientos contables de resumen de tiques\n"
1523+"Exportación de asientos resumen de facturas\n"
1524+""
1525+msgstr ""
1526
1527 #. module: l10n_es_aeat_mod340
1528 #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340
1529 msgid "Modelo 340"
1530-msgstr "Modelo 340"
1531+msgstr ""
1532
1533 #. module: l10n_es_aeat_mod340
1534 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_received
1535 msgid "Mod340 vat lines received"
1536-msgstr "Línea de impuestos recibidas"
1537+msgstr ""
1538
1539 #. module: l10n_es_aeat_mod340
1540 #: field:l10n.es.aeat.mod340,support_type:0
1541 msgid "Support Type"
1542-msgstr "Tipo de soporte"
1543+msgstr ""
1544
1545 #. module: l10n_es_aeat_mod340
1546-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306
1547+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406
1548 #, python-format
1549 msgid "%Y-%m-%d"
1550-msgstr "%d-%m-%Y"
1551+msgstr ""
1552
1553 #. module: l10n_es_aeat_mod340
1554 #: view:l10n.es.aeat.mod340:0
1555 msgid "Export to BOE"
1556-msgstr "Exportar al BOE"
1557-
1558-#. module: l10n_es_aeat_mod340
1559-#: selection:l10n.es.aeat.mod340,period:0
1560-msgid "July"
1561-msgstr "Julio"
1562+msgstr ""
1563+
1564+#. module: l10n_es_aeat_mod340
1565+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
1566+#, python-format
1567+msgid "The periods selected don't belong to the fiscal year %s"
1568+msgstr ""
1569+
1570+#. module: l10n_es_aeat_mod340
1571+#: constraint:account.tax.code.template:0
1572+msgid "Error ! You can not create recursive Tax Codes."
1573+msgstr ""
1574+
1575+#. module: l10n_es_aeat_mod340
1576+#: field:l10n.es.aeat.mod340,company_vat:0
1577+msgid "VAT number"
1578+msgstr ""
1579+
1580+#. module: l10n_es_aeat_mod340
1581+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax
1582+msgid "account.tax"
1583+msgstr ""
1584
1585 #. module: l10n_es_aeat_mod340
1586 #: selection:res.partner,vat_type:0
1587 msgid "1 - Corresponde a un NIF"
1588-msgstr "1 - Corresponde a un NIF"
1589+msgstr ""
1590
1591 #. module: l10n_es_aeat_mod340
1592 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_export_to_boe
1593 msgid "Export AEAT Model 340 to BOE format"
1594-msgstr "Exportar Modelo AEAT 340 al formato del BOE"
1595+msgstr ""
1596
1597 #. module: l10n_es_aeat_mod340
1598-#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92
1599+#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:170
1600 #, python-format
1601 msgid "The type 1 record must be 500 characters long"
1602-msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"
1603+msgstr ""
1604
1605 #. module: l10n_es_aeat_mod340
1606-#: field:l10n.es.aeat.mod340,calculation_date:0
1607-msgid "Calculation date"
1608-msgstr "Fecha de calculo"
1609+#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
1610+msgid "Mod340 vat lines issued"
1611+msgstr ""
1612
1613 #. module: l10n_es_aeat_mod340
1614 #: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner
1615@@ -274,80 +359,79 @@
1616 #: field:l10n.es.aeat.mod340.issued,partner_id:0
1617 #: field:l10n.es.aeat.mod340.received,partner_id:0
1618 msgid "Partner"
1619-msgstr "Empresa"
1620-
1621-#. module: l10n_es_aeat_mod340
1622-#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
1623-#: field:l10n.es.aeat.mod340.investment,base_tax:0
1624-#: field:l10n.es.aeat.mod340.issued,base_tax:0
1625-#: field:l10n.es.aeat.mod340.received,base_tax:0
1626-msgid "base tax bill"
1627-msgstr "Base imponible"
1628+msgstr ""
1629
1630 #. module: l10n_es_aeat_mod340
1631 #: view:l10n.es.aeat.mod340.tax_line_received:0
1632 msgid "Tax line received"
1633-msgstr "Líneas de impuestos recibidos"
1634-
1635-#. module: l10n_es_aeat_mod340
1636-#: selection:l10n.es.aeat.mod340,period:0
1637-msgid "September"
1638-msgstr "Septiembre"
1639-
1640-#. module: l10n_es_aeat_mod340
1641-#: selection:l10n.es.aeat.mod340,period:0
1642-msgid "December"
1643-msgstr "Diciembre"
1644+msgstr ""
1645+
1646+#. module: l10n_es_aeat_mod340
1647+#: code:addons/l10n_es_aeat_mod340/account.py:95
1648+#, python-format
1649+msgid "The sign field is different.\n"
1650+""
1651+msgstr ""
1652+
1653+#. module: l10n_es_aeat_mod340
1654+#: selection:l10n.es.aeat.mod340,type:0
1655+msgid "Normal"
1656+msgstr ""
1657
1658 #. module: l10n_es_aeat_mod340
1659 #: field:l10n.es.aeat.mod340,number:0
1660 msgid "Declaration Number"
1661-msgstr "Número de declaración"
1662+msgstr ""
1663
1664 #. module: l10n_es_aeat_mod340
1665 #: selection:l10n.es.aeat.mod340,state:0
1666 msgid "Canceled"
1667-msgstr "Cancelado"
1668-
1669-#. module: l10n_es_aeat_mod340
1670-#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
1671-msgid "Mod340 vat lines issued"
1672-msgstr "Líneas de impuestos emitidos"
1673-
1674-#. module: l10n_es_aeat_mod340
1675-#: field:l10n.es.aeat.mod340,total_taxable:0
1676-msgid "Total Taxable"
1677-msgstr "Total"
1678+msgstr ""
1679+
1680+#. module: l10n_es_aeat_mod340
1681+#: field:l10n.es.aeat.mod340,calculation_date:0
1682+msgid "Calculation date"
1683+msgstr ""
1684+
1685+#. module: l10n_es_aeat_mod340
1686+#: field:account.invoice,number_tickets:0
1687+msgid "Number of tickets"
1688+msgstr ""
1689
1690 #. module: l10n_es_aeat_mod340
1691 #: view:l10n.es.aeat.mod340:0
1692 msgid "Calculate"
1693-msgstr "Calcular"
1694+msgstr ""
1695
1696 #. module: l10n_es_aeat_mod340
1697-#: field:l10n.es.aeat.mod340,total_sharetax:0
1698-msgid "Total Share Tax"
1699-msgstr "Total impuestos"
1700+#: code:addons/l10n_es_aeat_mod340/account.py:182
1701+#, python-format
1702+msgid "Tax code %s: The parent tax code %s can not be set.\n"
1703+""
1704+msgstr ""
1705
1706 #. module: l10n_es_aeat_mod340
1707 #: selection:l10n.es.aeat.mod340,support_type:0
1708 msgid "DVD"
1709-msgstr "DVD"
1710-
1711-#. module: l10n_es_aeat_mod340
1712-#: code:addons/l10n_es_aeat_mod340/mod340.py:65
1713-#, python-format
1714-msgid "No disponible:"
1715-msgstr "No disponible:"
1716-
1717-#. module: l10n_es_aeat_mod340
1718-#: code:addons/l10n_es_aeat_mod340/mod340.py:156
1719+msgstr ""
1720+
1721+#. module: l10n_es_aeat_mod340
1722+#: view:l10n.es.aeat.mod340:0
1723+msgid "In process"
1724+msgstr ""
1725+
1726+#. module: l10n_es_aeat_mod340
1727+#: code:addons/l10n_es_aeat_mod340/mod340.py:172
1728 #, python-format
1729 msgid "All partner state code field must be filled."
1730-msgstr "Todos las empresas deben tener provincia."
1731-
1732-#. module: l10n_es_aeat_mod340
1733-#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340
1734+msgstr ""
1735+
1736+#. module: l10n_es_aeat_mod340
1737+#: model:ir.module.module,shortdesc:l10n_es_aeat_mod340.module_meta_information
1738+msgid "Generación de fichero modelo 340 y libro de IVA"
1739+msgstr ""
1740+
1741+#. module: l10n_es_aeat_mod340
1742 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
1743 #: view:l10n.es.aeat.mod340:0
1744 #: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0
1745@@ -355,72 +439,71 @@
1746 #: field:l10n.es.aeat.mod340.issued,mod340_id:0
1747 #: field:l10n.es.aeat.mod340.received,mod340_id:0
1748 msgid "Model 340"
1749-msgstr "Modelo 340"
1750+msgstr ""
1751
1752 #. module: l10n_es_aeat_mod340
1753 #: view:l10n.es.aeat.mod340:0
1754 #: selection:l10n.es.aeat.mod340,state:0
1755 msgid "Draft"
1756-msgstr "Borrador"
1757+msgstr ""
1758
1759 #. module: l10n_es_aeat_mod340
1760 #: selection:res.partner,vat_type:0
1761 msgid "3 - Pasaporte"
1762-msgstr "3 - Pasaporte"
1763+msgstr ""
1764
1765 #. module: l10n_es_aeat_mod340
1766-#: code:addons/l10n_es_aeat_mod340/mod340.py:158
1767+#: code:addons/l10n_es_aeat_mod340/mod340.py:174
1768 #, python-format
1769 msgid "All partner vat number field must be filled."
1770-msgstr "Todas las empresas deben tener CIF/NIF."
1771-
1772-#. module: l10n_es_aeat_mod340
1773-#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
1774-#: field:l10n.es.aeat.mod340.investment,total:0
1775-#: field:l10n.es.aeat.mod340.issued,total:0
1776-#: field:l10n.es.aeat.mod340.received,total:0
1777-msgid "total"
1778-msgstr "total"
1779-
1780-#. module: l10n_es_aeat_mod340
1781-#: selection:l10n.es.aeat.mod340,period:0
1782-msgid "August"
1783-msgstr "Agosto"
1784-
1785-#. module: l10n_es_aeat_mod340
1786-#: selection:l10n.es.aeat.mod340,type:0
1787-msgid "Normal"
1788-msgstr "Normal"
1789+msgstr ""
1790+
1791+#. module: l10n_es_aeat_mod340
1792+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64
1793+#, python-format
1794+msgid "This company dont have NIF"
1795+msgstr ""
1796+
1797+#. module: l10n_es_aeat_mod340
1798+#: view:l10n.es.aeat.mod340.issued:0
1799+#: view:l10n.es.aeat.mod340.received:0
1800+msgid "Total Base"
1801+msgstr ""
1802+
1803+#. module: l10n_es_aeat_mod340
1804+#: field:account.invoice,first_ticket:0
1805+msgid "First ticket"
1806+msgstr ""
1807+
1808+#. module: l10n_es_aeat_mod340
1809+#: help:account.invoice,is_ticket_summary:0
1810+msgid "Check if this invoice is a ticket summary"
1811+msgstr ""
1812
1813 #. module: l10n_es_aeat_mod340
1814 #: selection:l10n.es.aeat.mod340,state:0
1815 msgid "Processing"
1816-msgstr "Procesando"
1817-
1818-#. module: l10n_es_aeat_mod340
1819-#: selection:l10n.es.aeat.mod340,period:0
1820-msgid "June"
1821-msgstr "Junio"
1822+msgstr ""
1823
1824 #. module: l10n_es_aeat_mod340
1825 #: field:l10n.es.aeat.mod340,contact_phone:0
1826 msgid "Phone"
1827-msgstr "Teléfono"
1828-
1829-#. module: l10n_es_aeat_mod340
1830-#: selection:l10n.es.aeat.mod340,period:0
1831-msgid "November"
1832-msgstr "Noviembre"
1833-
1834-#. module: l10n_es_aeat_mod340
1835-#: selection:l10n.es.aeat.mod340,period:0
1836-msgid "October"
1837-msgstr "Octubre"
1838-
1839-#. module: l10n_es_aeat_mod340
1840-#: selection:l10n.es.aeat.mod340,period:0
1841-msgid "January"
1842-msgstr "Enero"
1843+msgstr ""
1844+
1845+#. module: l10n_es_aeat_mod340
1846+#: field:account.invoice,last_ticket:0
1847+msgid "Last ticket"
1848+msgstr ""
1849+
1850+#. module: l10n_es_aeat_mod340
1851+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_template
1852+msgid "account.tax.template"
1853+msgstr ""
1854+
1855+#. module: l10n_es_aeat_mod340
1856+#: field:account.invoice,is_ticket_summary:0
1857+msgid "Ticket Summary"
1858+msgstr ""
1859
1860 #. module: l10n_es_aeat_mod340
1861 #: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0
1862@@ -428,27 +511,38 @@
1863 #: field:l10n.es.aeat.mod340.issued,partner_country_code:0
1864 #: field:l10n.es.aeat.mod340.received,partner_country_code:0
1865 msgid "Country Code"
1866-msgstr "Código del país"
1867+msgstr ""
1868
1869 #. module: l10n_es_aeat_mod340
1870 #: view:l10n.es.aeat.mod340:0
1871 msgid "Summary"
1872-msgstr "Resumen"
1873+msgstr ""
1874+
1875+#. module: l10n_es_aeat_mod340
1876+#: view:l10n.es.aeat.mod340:0
1877+msgid "Presenter"
1878+msgstr ""
1879
1880 #. module: l10n_es_aeat_mod340
1881 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_calculate_records
1882 msgid "AEAT Model 340 Wizard - Calculate Records"
1883-msgstr "Modelo 340 - Calcular registros"
1884+msgstr ""
1885
1886 #. module: l10n_es_aeat_mod340
1887 #: selection:l10n.es.aeat.mod340,state:0
1888 msgid "Processed"
1889-msgstr "Procesado"
1890+msgstr ""
1891
1892 #. module: l10n_es_aeat_mod340
1893 #: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0
1894 msgid "Invoice issued"
1895-msgstr "Factudas emitidas"
1896+msgstr ""
1897+
1898+#. module: l10n_es_aeat_mod340
1899+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
1900+#, python-format
1901+msgid "Error"
1902+msgstr ""
1903
1904 #. module: l10n_es_aeat_mod340
1905 #: field:l10n.es.aeat.mod340,representative_vat:0
1906@@ -457,112 +551,105 @@
1907 #: field:l10n.es.aeat.mod340.issued,representative_vat:0
1908 #: field:l10n.es.aeat.mod340.received,representative_vat:0
1909 msgid "L.R. VAT number"
1910-msgstr "CIF/NIF Representante legal"
1911+msgstr ""
1912
1913 #. module: l10n_es_aeat_mod340
1914 #: view:l10n.es.aeat.mod340:0
1915 msgid "Issued invoice"
1916-msgstr "Factura emitida"
1917+msgstr ""
1918
1919 #. module: l10n_es_aeat_mod340
1920 #: field:l10n.es.aeat.mod340,issued:0
1921 msgid "Invoices Issued"
1922-msgstr "Facturas emitidas"
1923+msgstr ""
1924
1925 #. module: l10n_es_aeat_mod340
1926 #: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0
1927 msgid "Invoice received"
1928-msgstr "Factura recibida"
1929+msgstr ""
1930
1931 #. module: l10n_es_aeat_mod340
1932 #: field:l10n.es.aeat.mod340,type:0
1933 msgid "Statement Type"
1934-msgstr "Tipo de documento"
1935-
1936-#. module: l10n_es_aeat_mod340
1937-#: field:l10n.es.aeat.mod340,period:0
1938-msgid "Period"
1939-msgstr "Periodo"
1940+msgstr ""
1941
1942 #. module: l10n_es_aeat_mod340
1943 #: view:l10n.es.aeat.mod340:0
1944 msgid "General"
1945-msgstr "General"
1946+msgstr ""
1947
1948 #. module: l10n_es_aeat_mod340
1949 #: view:l10n.es.aeat.mod340:0
1950 #: selection:l10n.es.aeat.mod340,state:0
1951 msgid "Done"
1952-msgstr "Realizado"
1953+msgstr ""
1954
1955 #. module: l10n_es_aeat_mod340
1956 #: selection:res.partner,vat_type:0
1957 msgid "4 - Documento oficial de identificación expedido por el país"
1958-msgstr "4 - Documento oficial de identificación expedido por el país"
1959+msgstr ""
1960
1961 #. module: l10n_es_aeat_mod340
1962+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice
1963 #: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0
1964 #: field:l10n.es.aeat.mod340.investment,invoice_id:0
1965 #: field:l10n.es.aeat.mod340.issued,invoice_id:0
1966 #: field:l10n.es.aeat.mod340.received,invoice_id:0
1967 msgid "Invoice"
1968-msgstr "Factura"
1969+msgstr ""
1970
1971 #. module: l10n_es_aeat_mod340
1972 #: view:l10n.es.aeat.mod340:0
1973 msgid "Cancel"
1974-msgstr "Cancelar"
1975+msgstr ""
1976
1977 #. module: l10n_es_aeat_mod340
1978 #: view:l10n.es.aeat.mod340:0
1979 msgid "Recalculate"
1980-msgstr "Recalcular"
1981-
1982-#. module: l10n_es_aeat_mod340
1983-#: selection:l10n.es.aeat.mod340,period:0
1984-msgid "Fourth quarter"
1985-msgstr "Cuarto trimestre"
1986+msgstr ""
1987
1988 #. module: l10n_es_aeat_mod340
1989 #: selection:res.partner,vat_type:0
1990 msgid "5 - Certificado de residencia fiscal"
1991-msgstr "5 - Certificado de residencia fiscal"
1992+msgstr ""
1993
1994 #. module: l10n_es_aeat_mod340
1995+#: view:account.invoice:0
1996 #: view:l10n.es.aeat.mod340:0
1997 msgid "AEAT 340"
1998-msgstr "AEAT 340"
1999+msgstr ""
2000
2001 #. module: l10n_es_aeat_mod340
2002 #: field:l10n.es.aeat.mod340.tax_line_issued,tax_percentage:0
2003 #: field:l10n.es.aeat.mod340.tax_line_received,tax_percentage:0
2004 msgid "Tax percentage"
2005-msgstr "Impuesto"
2006+msgstr ""
2007
2008 #. module: l10n_es_aeat_mod340
2009 #: view:l10n.es.aeat.mod340:0
2010 msgid "Received invoice"
2011-msgstr "Factura recibida"
2012+msgstr ""
2013
2014 #. module: l10n_es_aeat_mod340
2015 #: view:l10n.es.aeat.mod340.tax_line_issued:0
2016 msgid "Tax line issued"
2017-msgstr "Línea de impuesto emitido"
2018+msgstr ""
2019
2020 #. module: l10n_es_aeat_mod340
2021 #: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
2022 msgid "AEAT Model 340"
2023-msgstr "Modelo AEAT 340"
2024+msgstr ""
2025
2026 #. module: l10n_es_aeat_mod340
2027-#: selection:l10n.es.aeat.mod340,period:0
2028-msgid "May"
2029-msgstr "Mayo"
2030+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
2031+#, python-format
2032+msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
2033+msgstr ""
2034
2035 #. module: l10n_es_aeat_mod340
2036 #: help:res.partner,vat_type:0
2037 msgid "Clave número de identificación en el país de residencia. Modelo 340."
2038-msgstr "Clave número de identificación en el país de residencia. Modelo 340."
2039+msgstr ""
2040
2041 #. module: l10n_es_aeat_mod340
2042 #: help:l10n.es.aeat.mod340,number_records:0
2043@@ -570,7 +657,7 @@
2044 #: help:l10n.es.aeat.mod340,total_sharetax:0
2045 #: help:l10n.es.aeat.mod340,total_taxable:0
2046 msgid "The declaration will include partners with the total of operations over this limit"
2047-msgstr "The declaration will include partners with the total of operations over this limit"
2048+msgstr ""
2049
2050 #. module: l10n_es_aeat_mod340
2051 #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
2052@@ -578,121 +665,107 @@
2053 #: field:l10n.es.aeat.mod340.issued,partner_vat:0
2054 #: field:l10n.es.aeat.mod340.received,partner_vat:0
2055 msgid "Company CIF/NIF"
2056-msgstr "CIF/NIF de la compañía"
2057+msgstr ""
2058
2059 #. module: l10n_es_aeat_mod340
2060 #: help:l10n.es.aeat.mod340,representative_vat:0
2061 msgid "Legal Representative VAT number."
2062-msgstr "CIF/NIF del representante legal."
2063+msgstr ""
2064
2065 #. module: l10n_es_aeat_mod340
2066 #: field:l10n.es.aeat.mod340,previous_number:0
2067 msgid "Previous Declaration Number"
2068-msgstr "Número de la declaración anterior"
2069+msgstr ""
2070
2071 #. module: l10n_es_aeat_mod340
2072 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_investment
2073 #: field:l10n.es.aeat.mod340,investment:0
2074 msgid "Property Investment"
2075-msgstr "Property Investment"
2076+msgstr ""
2077
2078 #. module: l10n_es_aeat_mod340
2079 #: field:l10n.es.aeat.mod340,name_contact:0
2080 msgid "Name And Surname Contact"
2081-msgstr "Nombre y apellido de contacto"
2082-
2083-#. module: l10n_es_aeat_mod340
2084-#: selection:l10n.es.aeat.mod340,period:0
2085-msgid "February"
2086-msgstr "Febrero"
2087+msgstr ""
2088
2089 #. module: l10n_es_aeat_mod340
2090 #: field:l10n.es.aeat.mod340,name:0
2091 #: field:l10n.es.aeat.mod340.tax_line_issued,name:0
2092 #: field:l10n.es.aeat.mod340.tax_line_received,name:0
2093 msgid "Name"
2094-msgstr "Nombre"
2095+msgstr ""
2096
2097 #. module: l10n_es_aeat_mod340
2098 #: view:l10n.es.aeat.mod340.received:0
2099 msgid "Received invoices"
2100-msgstr "Facturas recibidas"
2101+msgstr ""
2102
2103 #. module: l10n_es_aeat_mod340
2104-#: selection:l10n.es.aeat.mod340,period:0
2105-msgid "April"
2106-msgstr "Abril"
2107+#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
2108+#: help:l10n.es.aeat.mod340.investment,representative_vat:0
2109+#: help:l10n.es.aeat.mod340.issued,representative_vat:0
2110+#: help:l10n.es.aeat.mod340.received,representative_vat:0
2111+msgid "Legal Representative VAT number"
2112+msgstr ""
2113
2114 #. module: l10n_es_aeat_mod340
2115 #: view:l10n.es.aeat.mod340:0
2116 #: field:l10n.es.aeat.mod340,fiscalyear_id:0
2117 msgid "Fiscal Year"
2118-msgstr "Año fiscal"
2119+msgstr ""
2120
2121 #. module: l10n_es_aeat_mod340
2122 #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received
2123 #: field:l10n.es.aeat.mod340,received:0
2124 msgid "Invoices Received"
2125-msgstr "Facturas recibidas"
2126+msgstr ""
2127+
2128+#. module: l10n_es_aeat_mod340
2129+#: code:addons/l10n_es_aeat_mod340/account.py:92
2130+#, python-format
2131+msgid "The info field is different.\n"
2132+""
2133+msgstr ""
2134
2135 #. module: l10n_es_aeat_mod340
2136 #: selection:l10n.es.aeat.mod340,support_type:0
2137 msgid "Telematics"
2138-msgstr "Telemática"
2139+msgstr ""
2140
2141 #. module: l10n_es_aeat_mod340
2142 #: field:res.partner,vat_type:0
2143 msgid "Clave tipo de NIF"
2144-msgstr "Clave tipo de NIF"
2145-
2146-#. module: l10n_es_aeat_mod340
2147-#: selection:l10n.es.aeat.mod340,period:0
2148-msgid "Second quarter"
2149-msgstr "Segundo trimestre"
2150-
2151-#. module: l10n_es_aeat_mod340
2152-#: selection:l10n.es.aeat.mod340,type:0
2153-msgid "Complementary"
2154-msgstr "Complementaria"
2155-
2156-#. module: l10n_es_aeat_mod340
2157-#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
2158-#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
2159-#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
2160-msgid "tax lines"
2161-msgstr "líneas de impuestos"
2162+msgstr ""
2163+
2164+#. module: l10n_es_aeat_mod340
2165+#: constraint:account.invoice:0
2166+msgid "Invoice date is previous to an existing invoice."
2167+msgstr ""
2168+
2169+#. module: l10n_es_aeat_mod340
2170+#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
2171+msgid "wizard.update.charts.accounts"
2172+msgstr ""
2173
2174 #. module: l10n_es_aeat_mod340
2175 #: field:l10n.es.aeat.mod340,total:0
2176+#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
2177+#: field:l10n.es.aeat.mod340.investment,total:0
2178+#: view:l10n.es.aeat.mod340.issued:0
2179+#: field:l10n.es.aeat.mod340.issued,total:0
2180+#: view:l10n.es.aeat.mod340.received:0
2181+#: field:l10n.es.aeat.mod340.received,total:0
2182 msgid "Total"
2183-msgstr "Total"
2184-
2185-#. module: l10n_es_aeat_mod340
2186-#: field:account.invoice,number_tickets:0
2187-msgid "Number of tickets"
2188-msgstr "Número de tiques"
2189-
2190-#. module: l10n_es_aeat_mod340
2191-#: field:account.invoice,first_ticket:0
2192-msgid "First ticket"
2193-msgstr "Primer tique"
2194-
2195-#. module: l10n_es_aeat_mod340
2196-#: help:account.invoice,is_ticket_summary:0
2197-msgid "Check if this invoice is a ticket summary"
2198-msgstr "Active si esta factura es un resumen de tiques"
2199-
2200-#. module: l10n_es_aeat_mod340
2201-#: field:account.invoice,last_ticket:0
2202-msgid "Last ticket"
2203-msgstr "Último tique"
2204-
2205-#. module: l10n_es_aeat_mod340
2206-#: field:account.invoice,is_ticket_summary:0
2207-msgid "Ticket Summary"
2208-msgstr "Resumen de tiques"
2209-
2210-#. module: account
2211-#: view:account.invoice:0
2212-msgid "Tickets"
2213-msgstr "Tiques"
2214\ No newline at end of file
2215+msgstr ""
2216+
2217+#. module: l10n_es_aeat_mod340
2218+#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
2219+msgid "Tax Code Template"
2220+msgstr ""
2221+
2222+#. module: l10n_es_aeat_mod340
2223+#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
2224+#, python-format
2225+msgid "La siguiente empresa no tiene asignado nif:"
2226+msgstr ""
2227+
2228
2229=== modified file 'l10n_es_aeat_mod340/mod340.py'
2230--- l10n_es_aeat_mod340/mod340.py 2011-09-20 06:58:23 +0000
2231+++ l10n_es_aeat_mod340/mod340.py 2013-05-17 16:51:41 +0000
2232@@ -3,7 +3,7 @@
2233 #
2234 # OpenERP, Open Source Management Solution
2235 # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
2236-# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved
2237+# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
2238 # Ignacio Ibeas Izquierdo <ignacio@acysos.com>
2239 # Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.
2240 # http://www.NaN-tic.com
2241@@ -34,9 +34,6 @@
2242 from tools.translate import _
2243 import pooler
2244
2245-
2246-
2247-
2248 class l10n_es_aeat_mod340(osv.osv):
2249
2250 def button_calculate(self, cr, uid, ids, args, context=None):
2251@@ -60,15 +57,13 @@
2252 return True
2253
2254 def button_export(self, cr, uid, ids, context=None):
2255- #FUNCION CALCADA DEL MODELO 347, inoperativa de momento
2256-
2257- #raise osv.except_osv(_('No disponible:'), _('En desarrollo'))
2258
2259 if context is None:
2260 context = {}
2261
2262 export_obj = self.pool.get("l10n.es.aeat.mod340.export_to_boe")
2263- export_obj._export_boe_file(cr, uid, ids, self.browse(cr, uid, ids and ids[0]))
2264+ report = self.browse(cr, uid, ids and ids[0])
2265+ export_obj._export_boe_file(cr, uid, ids, report)
2266
2267 return True
2268
2269@@ -103,8 +98,6 @@
2270
2271 return result
2272
2273-
2274-
2275 _inherit = "l10n.es.aeat.report"
2276 _name = 'l10n.es.aeat.mod340'
2277 _description = 'Model 340'
2278@@ -113,12 +106,8 @@
2279 'contact_phone': fields.char("Phone", size=9),
2280 'phone_contact' : fields.char('Phone Contact',size=9),
2281 'name_contact' : fields.char('Name And Surname Contact',size=40),
2282- 'period': fields.selection([
2283- ('1T','First quarter'),('2T','Second quarter'),('3T','Third quarter'),
2284- ('4T','Fourth quarter'),('01','January'),('02','February'),('03','March'),('04','April'),
2285- ('05','May'),('06','June'),('07','July'),('08','August'),('09','September'),('10','October'),
2286- ('11','November'),('12','December')
2287- ], 'Period'),
2288+ 'period_from': fields.many2one('account.period', 'Start period',states={'done': [('readonly', True)]}),
2289+ 'period_to': fields.many2one('account.period', 'End period',states={'done': [('readonly', True)]}),
2290 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id','Invoices Issued'),
2291 'received': fields.one2many('l10n.es.aeat.mod340.received','mod340_id','Invoices Received'),
2292 'investment': fields.one2many(
2293@@ -130,7 +119,7 @@
2294 '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"),
2295 '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"),
2296 '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"),
2297- '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"),
2298+ '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"),
2299 'calculation_date': fields.date('Calculation date', readonly=True),
2300 }
2301 _defaults = {
2302@@ -144,32 +133,6 @@
2303 wf_service = netsvc.LocalService("workflow")
2304 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', id, 'done', cr)
2305 return True
2306-
2307- def _check_report_lines(self, cr, uid, ids, context=None):
2308- """checks report lines"""
2309-# if context is None: context = {}
2310-
2311-# for item in self.browse(cr, uid, ids, context):
2312-# ## Browse partner record lines to check if all are correct (all fields filled)
2313-# for partner_record in item.partner_record_ids:
2314-# if not partner_record.partner_state_code:
2315-# raise osv.except_osv(_('Error!'), _("All partner state code field must be filled."))
2316-# if not partner_record.partner_vat:
2317-# raise osv.except_osv(_('Error!'), _("All partner vat number field must be filled."))
2318-#
2319-# for real_state_record in item.real_state_record_ids:
2320-# if not real_state_record.state_code:
2321-# raise osv.except_osv(_('Error!'), _("All real state records state code field must be filled."))
2322-
2323- return True
2324-
2325- def check_report(self, cr, uid, ids, context=None):
2326- """Different check out in report"""
2327- if context is None: context = {}
2328-
2329- self._check_report_lines(cr, uid, ids, context)
2330-
2331- return True
2332
2333 def action_confirm(self, cr, uid, ids, context=None):
2334 """set to done the report and check its records"""
2335@@ -206,10 +169,10 @@
2336 'representative_vat': fields.char('L.R. VAT number', size=9, help="Legal Representative VAT number"),
2337 'partner_country_code': fields.char('Country Code', size=2),
2338 'invoice_id':fields.many2one('account.invoice','Invoice',ondelete="cascade"),
2339- 'base_tax':fields.float('base tax bill',digits=(13,2)),
2340- 'amount_tax':fields.float('amount of the tax',digits=(13,2)),
2341- 'total':fields.float('total',digits=(13,2)),
2342- 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', 'invoice_record_id', 'tax lines', states = {'done': [('readonly', True)]}),
2343+ 'base_tax':fields.float('Base tax bill',digits=(13,2)),
2344+ 'amount_tax':fields.float('Total tax',digits=(13,2)),
2345+ 'total':fields.float('Total',digits=(13,2)),
2346+ 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', 'invoice_record_id', 'Tax lines', states = {'done': [('readonly', True)]}),
2347 }
2348 l10n_es_aeat_mod340_issued()
2349
2350
2351=== modified file 'l10n_es_aeat_mod340/mod340_view.xml'
2352--- l10n_es_aeat_mod340/mod340_view.xml 2011-09-20 06:58:23 +0000
2353+++ l10n_es_aeat_mod340/mod340_view.xml 2013-05-17 16:51:41 +0000
2354@@ -6,14 +6,14 @@
2355 <field name="name">l10n.es.aeat.mod340.tree</field>
2356 <field name="model">l10n.es.aeat.mod340</field>
2357 <field name="type">tree</field>
2358- <!--<field name="priority" eval="5"/>-->
2359 <field name="arch" type="xml">
2360- <tree string="Model 340">
2361- <field name="period"/>
2362- <field name="fiscalyear_id"/>
2363- <field name="number"/>
2364- <field name="type"/>
2365- </tree>
2366+ <tree string="Model 340">
2367+ <field name="fiscalyear_id"/>
2368+ <field name="period_from"/>
2369+ <field name="period_to"/>
2370+ <field name="number"/>
2371+ <field name="type"/>
2372+ </tree>
2373 </field>
2374 </record>
2375
2376@@ -26,9 +26,10 @@
2377 <form string="Model 340">
2378 <group col="6" colspan="4">
2379 <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1" readonly="1"/>
2380+ <field name="fiscalyear_id" select="1"/>
2381 <newline/>
2382- <field name="fiscalyear_id" select="1"/>
2383- <field name="period" select="1" required="1"/>
2384+ <field name="period_from" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
2385+ <field name="period_to" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
2386 <newline />
2387 <field name="number"/>
2388 <field name="support_type"/>
2389@@ -37,9 +38,9 @@
2390 <page string="General">
2391 <group string="Identification" colspan="4">
2392 <field name="company_vat" required="1" />
2393- <field name="contact_phone"/>
2394- <field name="name_contact" colspan="4"/>
2395- <field name="representative_vat"/>
2396+ <field name="phone_contact" />
2397+ <field name="name_contact" colspan="4" />
2398+ <field name="representative_vat" />
2399 </group>
2400 <group string="Susbtitutive/complementary declaration" colspan="4">
2401 <field name="type"/>
2402@@ -66,7 +67,7 @@
2403 string="Calculate"
2404 states="draft"
2405 icon="terp-stock_format-scientific"
2406- />
2407+ />
2408 <button name="button_recalculate"
2409 type="object"
2410 string="Recalculate"
2411@@ -76,23 +77,23 @@
2412 type="object"
2413 string="Export to BOE"
2414 states="done"
2415- icon="gtk-execute"/>
2416+ icon="gtk-execute"
2417+ />
2418 <button name="confirm" string="Confirm" type="object" states="calculated" icon="gtk-ok"/>
2419 <button name="cancel" string="Cancel" type="object" states="calculated,done" icon="gtk-cancel"/>
2420 <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/>
2421
2422 </group>
2423- </page>
2424- <page string="Issued invoice" >
2425- <field name="issued" nolabel="1" />
2426- </page>
2427- <page string="Received invoice" >
2428- <field name="received" nolabel="1" />
2429- </page>
2430-
2431- </notebook>
2432- </form>
2433- </field>
2434+ </page>
2435+ <page string="Issued invoice" >
2436+ <field name="issued" nolabel="1" />
2437+ </page>
2438+ <page string="Received invoice" >
2439+ <field name="received" nolabel="1" />
2440+ </page>
2441+ </notebook>
2442+ </form>
2443+ </field>
2444 </record>
2445 <!-- FIN Modelo 340 -->
2446
2447@@ -228,7 +229,8 @@
2448 <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/>
2449 </group>
2450 <newline/>
2451- <field name="period"/>
2452+ <field name="period_from"/>
2453+ <field name="period_to" />
2454 <field name="fiscalyear_id"/>
2455 <field name="number"/>
2456 <field name="type"/>
2457
2458=== removed file 'l10n_es_aeat_mod340/report/lorem.py'
2459--- l10n_es_aeat_mod340/report/lorem.py 2011-04-04 18:43:02 +0000
2460+++ l10n_es_aeat_mod340/report/lorem.py 1970-01-01 00:00:00 +0000
2461@@ -1,1982 +0,0 @@
2462-# -*- coding: utf8 -*-
2463-
2464-shortname = "lorem"
2465-program = "Lorem Ipsum Generator (%s)" % shortname
2466-version = "0.6"
2467-copyright = "Copyright (C) 2007 Per Erik Strandberg"
2468-license = """This is free software, and you are welcome to redistribute it
2469-under the GNU General Public License <http://www.gnu.org/licenses/gpl.html>
2470-%s comes with NO WARRANTY, to the extent permitted by law.""" % shortname
2471-
2472-# Copyright 2007 Per Erik Strandberg: per at pererikstrandberg dot se
2473-#
2474-# This program is free software you can redistribute it and/or modify
2475-# it under the terms of the GNU General Public License as published by
2476-# the Free Software Foundation either version 3 of the License, or
2477-# (at your option) any later version.
2478-#
2479-# This program is distributed in the hope that it will be useful,
2480-# but WITHOUT ANY WARRANTY without even the implied warranty of
2481-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2482-# GNU General Public License for more details.
2483-#
2484-# You should have received a copy of the GNU General Public License
2485-# along with this program if not, write to the Free Software
2486-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
2487-# MA 02110-1301, USA.
2488-
2489-
2490-GPLv3 = """GNU GENERAL PUBLIC LICENSE
2491-
2492-Version 3, 29 June 2007
2493-
2494-Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
2495-
2496-Everyone is permitted to copy and distribute verbatim copies of this license
2497-document, but changing it is not allowed.
2498-
2499-Preamble
2500-
2501-The GNU General Public License is a free, copyleft license for software and
2502-other kinds of works.
2503-
2504-The licenses for most software and other practical works are designed to take
2505-away your freedom to share and change the works. By contrast, the GNU General
2506-Public License is intended to guarantee your freedom to share and change all
2507-versions of a program--to make sure it remains free software for all its users.
2508-We, the Free Software Foundation, use the GNU General Public License for most
2509-of our software it applies also to any other work released this way by its
2510-authors. You can apply it to your programs, too.
2511-
2512-When we speak of free software, we are referring to freedom, not price. Our
2513-General Public Licenses are designed to make sure that you have the freedom to
2514-distribute copies of free software (and charge for them if you wish), that you
2515-receive source code or can get it if you want it, that you can change the
2516-software or use pieces of it in new free programs, and that you know you can
2517-do these things.
2518-
2519-To protect your rights, we need to prevent others from denying you these
2520-rights or asking you to surrender the rights. Therefore, you have certain
2521-responsibilities if you distribute copies of the software, or if you modify
2522-it: responsibilities to respect the freedom of others.
2523-
2524-For example, if you distribute copies of such a program, whether gratis or for
2525-a fee, you must pass on to the recipients the same freedoms that you received.
2526-You must make sure that they, too, receive or can get the source code. And you
2527-must show them these terms so they know their rights.
2528-
2529-Developers that use the GNU GPL protect your rights with two steps: (1) assert
2530-copyright on the software, and (2) offer you this License giving you legal
2531-permission to copy, distribute and/or modify it.
2532-
2533-For the developers' and authors' protection, the GPL clearly explains that
2534-there is no warranty for this free software. For both users' and authors'
2535-sake, the GPL requires that modified versions be marked as changed, so that
2536-their problems will not be attributed erroneously to authors of previous
2537-versions.
2538-
2539-Some devices are designed to deny users access to install or run modified
2540-versions of the software inside them, although the manufacturer can do so.
2541-This is fundamentally incompatible with the aim of protecting users' freedom
2542-to change the software. The systematic pattern of such abuse occurs in the
2543-area of products for individuals to use, which is precisely where it is most
2544-unacceptable. Therefore, we have designed this version of the GPL to prohibit
2545-the practice for those products. If such problems arise substantially in other
2546-domains, we stand ready to extend this provision to those domains in future
2547-versions of the GPL, as needed to protect the freedom of users.
2548-
2549-Finally, every program is threatened constantly by software patents. States
2550-should not allow patents to restrict development and use of software on
2551-general-purpose computers, but in those that do, we wish to avoid the special
2552-danger that patents applied to a free program could make it effectively
2553-proprietary. To prevent this, the GPL assures that patents cannot be used to
2554-render the program non-free.
2555-
2556-The precise terms and conditions for copying, distribution and modification
2557-follow.
2558-
2559-
2560-TERMS AND CONDITIONS
2561-0. Definitions.
2562-
2563-"This License" refers to version 3 of the GNU General Public License.
2564-
2565-"Copyright" also means copyright-like laws that apply to other kinds of works,
2566-such as semiconductor masks.
2567-
2568-"The Program" refers to any copyrightable work licensed under this License.
2569-Each licensee is addressed as "you". "Licensees" and "recipients" may be
2570-individuals or organizations.
2571-
2572-To "modify" a work means to copy from or adapt all or part of the work in a
2573-fashion requiring copyright permission, other than the making of an exact
2574-copy. The resulting work is called a "modified version" of the earlier work or
2575-a work "based on" the earlier work.
2576-
2577-A "covered work" means either the unmodified Program or a work based on the
2578-Program.
2579-
2580-To "propagate" a work means to do anything with it that, without permission,
2581-would make you directly or secondarily liable for infringement under
2582-applicable copyright law, except executing it on a computer or modifying a
2583-private copy. Propagation includes copying, distribution (with or without
2584-modification), making available to the public, and in some countries other
2585-activities as well.
2586-
2587-To "convey" a work means any kind of propagation that enables other
2588-parties to make or receive copies. Mere interaction with a user
2589-through a computer network, with no transfer of a copy, is not
2590-conveying.
2591-
2592-An interactive user interface displays "Appropriate Legal Notices" to
2593-the extent that it includes a convenient and prominently visible
2594-feature that (1) displays an appropriate copyright notice, and (2)
2595-tells the user that there is no warranty for the work (except to the
2596-extent that warranties are provided), that licensees may convey the
2597-work under this License, and how to view a copy of this License. If
2598-the interface presents a list of user commands or options, such as a
2599-menu, a prominent item in the list meets this criterion.
2600-
2601-1. Source Code.
2602-
2603-The "source code" for a work means the preferred form of the work for
2604-making modifications to it. "Object code" means any non-source form of
2605-a work.
2606-
2607-A "Standard Interface" means an interface that either is an official
2608-standard defined by a recognized standards body, or, in the case of
2609-interfaces specified for a particular programming language, one that
2610-is widely used among developers working in that language.
2611-
2612-The "System Libraries" of an executable work include anything, other
2613-than the work as a whole, that (a) is included in the normal form of
2614-packaging a Major Component, but which is not part of that Major
2615-Component, and (b) serves only to enable use of the work with that
2616-Major Component, or to implement a Standard Interface for which an
2617-implementation is available to the public in source code form. A
2618-"Major Component", in this context, means a major essential component
2619-(kernel, window system, and so on) of the specific operating system
2620-(if any) on which the executable work runs, or a compiler used to
2621-produce the work, or an object code interpreter used to run it.
2622-
2623-The "Corresponding Source" for a work in object code form means all
2624-the source code needed to generate, install, and (for an executable
2625-work) run the object code and to modify the work, including scripts to
2626-control those activities. However, it does not include the work's
2627-System Libraries, or general-purpose tools or generally available free
2628-programs which are used unmodified in performing those activities but
2629-which are not part of the work. For example, Corresponding Source
2630-includes interface definition files associated with source files for
2631-the work, and the source code for shared libraries and dynamically
2632-linked subprograms that the work is specifically designed to require,
2633-such as by intimate data communication or control flow between those
2634-subprograms and other parts of the work.
2635-
2636-The Corresponding Source need not include anything that users can
2637-regenerate automatically from other parts of the Corresponding Source.
2638-
2639-The Corresponding Source for a work in source code form is that same
2640-work.
2641-
2642-2. Basic Permissions.
2643-
2644-All rights granted under this License are granted for the term of
2645-copyright on the Program, and are irrevocable provided the stated
2646-conditions are met. This License explicitly affirms your unlimited
2647-permission to run the unmodified Program. The output from running a
2648-covered work is covered by this License only if the output, given its
2649-content, constitutes a covered work. This License acknowledges your
2650-rights of fair use or other equivalent, as provided by copyright law.
2651-
2652-You may make, run and propagate covered works that you do not convey,
2653-without conditions so long as your license otherwise remains in
2654-force. You may convey covered works to others for the sole purpose of
2655-having them make modifications exclusively for you, or provide you
2656-with facilities for running those works, provided that you comply with
2657-the terms of this License in conveying all material for which you do
2658-not control copyright. Those thus making or running the covered works
2659-for you must do so exclusively on your behalf, under your direction
2660-and control, on terms that prohibit them from making any copies of
2661-your copyrighted material outside their relationship with you.
2662-
2663-Conveying under any other circumstances is permitted solely under the
2664-conditions stated below. Sublicensing is not allowed section 10 makes
2665-it unnecessary.
2666-
2667-3. Protecting Users' Legal Rights From Anti-Circumvention Law.
2668-
2669-No covered work shall be deemed part of an effective technological
2670-measure under any applicable law fulfilling obligations under article
2671-11 of the WIPO copyright treaty adopted on 20 December 1996, or
2672-similar laws prohibiting or restricting circumvention of such
2673-measures.
2674-
2675-When you convey a covered work, you waive any legal power to forbid
2676-circumvention of technological measures to the extent such
2677-circumvention is effected by exercising rights under this License with
2678-respect to the covered work, and you disclaim any intention to limit
2679-operation or modification of the work as a means of enforcing, against
2680-the work's users, your or third parties' legal rights to forbid
2681-circumvention of technological measures.
2682-
2683-4. Conveying Verbatim Copies.
2684-
2685-You may convey verbatim copies of the Program's source code as you
2686-receive it, in any medium, provided that you conspicuously and
2687-appropriately publish on each copy an appropriate copyright notice
2688-keep intact all notices stating that this License and any
2689-non-permissive terms added in accord with section 7 apply to the code
2690-keep intact all notices of the absence of any warranty and give all
2691-recipients a copy of this License along with the Program.
2692-
2693-You may charge any price or no price for each copy that you convey,
2694-and you may offer support or warranty protection for a fee.
2695-
2696-5. Conveying Modified Source Versions.
2697-
2698-You may convey a work based on the Program, or the modifications to
2699-produce it from the Program, in the form of source code under the
2700-terms of section 4, provided that you also meet all of these
2701-conditions:
2702-
2703- * a) The work must carry prominent notices stating that you
2704-modified it, and giving a relevant date.
2705- * b) The work must carry prominent notices stating that it is
2706-released under this License and any conditions added under section
2707-7. This requirement modifies the requirement in section 4 to "keep
2708-intact all notices".
2709- * c) You must license the entire work, as a whole, under this
2710-License to anyone who comes into possession of a copy. This License
2711-will therefore apply, along with any applicable section 7 additional
2712-terms, to the whole of the work, and all its parts, regardless of how
2713-they are packaged. This License gives no permission to license the
2714-work in any other way, but it does not invalidate such permission if
2715-you have separately received it.
2716- * d) If the work has interactive user interfaces, each must
2717-display Appropriate Legal Notices however, if the Program has
2718-interactive interfaces that do not display Appropriate Legal Notices,
2719-your work need not make them do so.
2720-
2721-A compilation of a covered work with other separate and independent
2722-works, which are not by their nature extensions of the covered work,
2723-and which are not combined with it such as to form a larger program,
2724-in or on a volume of a storage or distribution medium, is called an
2725-"aggregate" if the compilation and its resulting copyright are not
2726-used to limit the access or legal rights of the compilation's users
2727-beyond what the individual works permit. Inclusion of a covered work
2728-in an aggregate does not cause this License to apply to the other
2729-parts of the aggregate.
2730-
2731-6. Conveying Non-Source Forms.
2732-
2733-You may convey a covered work in object code form under the terms of
2734-sections 4 and 5, provided that you also convey the machine-readable
2735-Corresponding Source under the terms of this License, in one of these
2736-ways:
2737-
2738- * a) Convey the object code in, or embodied in, a physical product
2739-(including a physical distribution medium), accompanied by the
2740-Corresponding Source fixed on a durable physical medium customarily
2741-used for software interchange.
2742- * b) Convey the object code in, or embodied in, a physical product
2743-(including a physical distribution medium), accompanied by a written
2744-offer, valid for at least three years and valid for as long as you
2745-offer spare parts or customer support for that product model, to give
2746-anyone who possesses the object code either (1) a copy of the
2747-Corresponding Source for all the software in the product that is
2748-covered by this License, on a durable physical medium customarily used
2749-for software interchange, for a price no more than your reasonable
2750-cost of physically performing this conveying of source, or (2) access
2751-to copy the Corresponding Source from a network server at no charge.
2752- * c) Convey individual copies of the object code with a copy of
2753-the written offer to provide the Corresponding Source. This
2754-alternative is allowed only occasionally and noncommercially, and only
2755-if you received the object code with such an offer, in accord with
2756-subsection 6b.
2757- * d) Convey the object code by offering access from a designated
2758-place (gratis or for a charge), and offer equivalent access to the
2759-Corresponding Source in the same way through the same place at no
2760-further charge. You need not require recipients to copy the
2761-Corresponding Source along with the object code. If the place to copy
2762-the object code is a network server, the Corresponding Source may be
2763-on a different server (operated by you or a third party) that supports
2764-equivalent copying facilities, provided you maintain clear directions
2765-next to the object code saying where to find the Corresponding
2766-Source. Regardless of what server hosts the Corresponding Source, you
2767-remain obligated to ensure that it is available for as long as needed
2768-to satisfy these requirements.
2769- * e) Convey the object code using peer-to-peer transmission,
2770-provided you inform other peers where the object code and
2771-Corresponding Source of the work are being offered to the general
2772-public at no charge under subsection 6d.
2773-
2774-A separable portion of the object code, whose source code is excluded
2775-from the Corresponding Source as a System Library, need not be
2776-included in conveying the object code work.
2777-
2778-A "User Product" is either (1) a "consumer product", which means any
2779-tangible personal property which is normally used for personal,
2780-family, or household purposes, or (2) anything designed or sold for
2781-incorporation into a dwelling. In determining whether a product is a
2782-consumer product, doubtful cases shall be resolved in favor of
2783-coverage. For a particular product received by a particular user,
2784-"normally used" refers to a typical or common use of that class of
2785-product, regardless of the status of the particular user or of the way
2786-in which the particular user actually uses, or expects or is expected
2787-to use, the product. A product is a consumer product regardless of
2788-whether the product has substantial commercial, industrial or
2789-non-consumer uses, unless such uses represent the only significant
2790-mode of use of the product.
2791-
2792-"Installation Information" for a User Product means any methods,
2793-procedures, authorization keys, or other information required to
2794-install and execute modified versions of a covered work in that User
2795-Product from a modified version of its Corresponding Source. The
2796-information must suffice to ensure that the continued functioning of
2797-the modified object code is in no case prevented or interfered with
2798-solely because modification has been made.
2799-
2800-If you convey an object code work under this section in, or with, or
2801-specifically for use in, a User Product, and the conveying occurs as
2802-part of a transaction in which the right of possession and use of the
2803-User Product is transferred to the recipient in perpetuity or for a
2804-fixed term (regardless of how the transaction is characterized), the
2805-Corresponding Source conveyed under this section must be accompanied
2806-by the Installation Information. But this requirement does not apply
2807-if neither you nor any third party retains the ability to install
2808-modified object code on the User Product (for example, the work has
2809-been installed in ROM).
2810-
2811-The requirement to provide Installation Information does not include a
2812-requirement to continue to provide support service, warranty, or
2813-updates for a work that has been modified or installed by the
2814-recipient, or for the User Product in which it has been modified or
2815-installed. Access to a network may be denied when the modification
2816-itself materially and adversely affects the operation of the network
2817-or violates the rules and protocols for communication across the
2818-network.
2819-
2820-Corresponding Source conveyed, and Installation Information provided,
2821-in accord with this section must be in a format that is publicly
2822-documented (and with an implementation available to the public in
2823-source code form), and must require no special password or key for
2824-unpacking, reading or copying.
2825-
2826-7. Additional Terms.
2827-
2828-"Additional permissions" are terms that supplement the terms of this
2829-License by making exceptions from one or more of its
2830-conditions. Additional permissions that are applicable to the entire
2831-Program shall be treated as though they were included in this License,
2832-to the extent that they are valid under applicable law. If additional
2833-permissions apply only to part of the Program, that part may be used
2834-separately under those permissions, but the entire Program remains
2835-governed by this License without regard to the additional permissions.
2836-
2837-When you convey a copy of a covered work, you may at your option
2838-remove any additional permissions from that copy, or from any part of
2839-it. (Additional permissions may be written to require their own
2840-removal in certain cases when you modify the work.) You may place
2841-additional permissions on material, added by you to a covered work,
2842-for which you have or can give appropriate copyright permission.
2843-
2844-Notwithstanding any other provision of this License, for material you
2845-add to a covered work, you may (if authorized by the copyright holders
2846-of that material) supplement the terms of this License with terms:
2847-
2848- * a) Disclaiming warranty or limiting liability differently from
2849-the terms of sections 15 and 16 of this License or
2850- * b) Requiring preservation of specified reasonable legal notices
2851-or author attributions in that material or in the Appropriate Legal
2852-Notices displayed by works containing it or
2853- * c) Prohibiting misrepresentation of the origin of that material,
2854-or requiring that modified versions of such material be marked in
2855-reasonable ways as different from the original version or
2856- * d) Limiting the use for publicity purposes of names of licensors
2857-or authors of the material or
2858- * e) Declining to grant rights under trademark law for use of some
2859-trade names, trademarks, or service marks or
2860- * f) Requiring indemnification of licensors and authors of that
2861-material by anyone who conveys the material (or modified versions of
2862-it) with contractual assumptions of liability to the recipient, for
2863-any liability that these contractual assumptions directly impose on
2864-those licensors and authors.
2865-
2866-All other non-permissive additional terms are considered "further
2867-restrictions" within the meaning of section 10. If the Program as you
2868-received it, or any part of it, contains a notice stating that it is
2869-governed by this License along with a term that is a further
2870-restriction, you may remove that term. If a license document contains
2871-a further restriction but permits relicensing or conveying under this
2872-License, you may add to a covered work material governed by the terms
2873-of that license document, provided that the further restriction does
2874-not survive such relicensing or conveying.
2875-
2876-If you add terms to a covered work in accord with this section, you
2877-must place, in the relevant source files, a statement of the
2878-additional terms that apply to those files, or a notice indicating
2879-where to find the applicable terms.
2880-
2881-Additional terms, permissive or non-permissive, may be stated in the
2882-form of a separately written license, or stated as exceptions the
2883-above requirements apply either way.
2884-
2885-8. Termination.
2886-
2887-You may not propagate or modify a covered work except as expressly
2888-provided under this License. Any attempt otherwise to propagate or
2889-modify it is void, and will automatically terminate your rights under
2890-this License (including any patent licenses granted under the third
2891-paragraph of section 11).
2892-
2893-However, if you cease all violation of this License, then your license
2894-from a particular copyright holder is reinstated (a) provisionally,
2895-unless and until the copyright holder explicitly and finally
2896-terminates your license, and (b) permanently, if the copyright holder
2897-fails to notify you of the violation by some reasonable means prior to
2898-60 days after the cessation.
2899-
2900-Moreover, your license from a particular copyright holder is
2901-reinstated permanently if the copyright holder notifies you of the
2902-violation by some reasonable means, this is the first time you have
2903-received notice of violation of this License (for any work) from that
2904-copyright holder, and you cure the violation prior to 30 days after
2905-your receipt of the notice.
2906-
2907-Termination of your rights under this section does not terminate the
2908-licenses of parties who have received copies or rights from you under
2909-this License. If your rights have been terminated and not permanently
2910-reinstated, you do not qualify to receive new licenses for the same
2911-material under section 10. 9. Acceptance Not Required for Having
2912-Copies.
2913-
2914-You are not required to accept this License in order to receive or run
2915-a copy of the Program. Ancillary propagation of a covered work
2916-occurring solely as a consequence of using peer-to-peer transmission
2917-to receive a copy likewise does not require acceptance. However,
2918-nothing other than this License grants you permission to propagate or
2919-modify any covered work. These actions infringe copyright if you do
2920-not accept this License. Therefore, by modifying or propagating a
2921-covered work, you indicate your acceptance of this License to do so.
2922-10. Automatic Licensing of Downstream Recipients.
2923-
2924-Each time you convey a covered work, the recipient automatically
2925-receives a license from the original licensors, to run, modify and
2926-propagate that work, subject to this License. You are not responsible
2927-for enforcing compliance by third parties with this License.
2928-
2929-An "entity transaction" is a transaction transferring control of an
2930-organization, or substantially all assets of one, or subdividing an
2931-organization, or merging organizations. If propagation of a covered
2932-work results from an entity transaction, each party to that
2933-transaction who receives a copy of the work also receives whatever
2934-licenses to the work the party's predecessor in interest had or could
2935-give under the previous paragraph, plus a right to possession of the
2936-Corresponding Source of the work from the predecessor in interest, if
2937-the predecessor has it or can get it with reasonable efforts.
2938-
2939-You may not impose any further restrictions on the exercise of the
2940-rights granted or affirmed under this License. For example, you may
2941-not impose a license fee, royalty, or other charge for exercise of
2942-rights granted under this License, and you may not initiate litigation
2943-(including a cross-claim or counterclaim in a lawsuit) alleging that
2944-any patent claim is infringed by making, using, selling, offering for
2945-sale, or importing the Program or any portion of it. 11. Patents.
2946-
2947-A "contributor" is a copyright holder who authorizes use under this
2948-License of the Program or a work on which the Program is based. The
2949-work thus licensed is called the contributor's "contributor version".
2950-
2951-A contributor's "essential patent claims" are all patent claims owned
2952-or controlled by the contributor, whether already acquired or
2953-hereafter acquired, that would be infringed by some manner, permitted
2954-by this License, of making, using, or selling its contributor version,
2955-but do not include claims that would be infringed only as a
2956-consequence of further modification of the contributor version. For
2957-purposes of this definition, "control" includes the right to grant
2958-patent sublicenses in a manner consistent with the requirements of
2959-this License.
2960-
2961-Each contributor grants you a non-exclusive, worldwide, royalty-free
2962-patent license under the contributor's essential patent claims, to
2963-make, use, sell, offer for sale, import and otherwise run, modify and
2964-propagate the contents of its contributor version.
2965-
2966-In the following three paragraphs, a "patent license" is any express
2967-agreement or commitment, however denominated, not to enforce a patent
2968-(such as an express permission to practice a patent or covenant not to
2969-sue for patent infringement). To "grant" such a patent license to a
2970-party means to make such an agreement or commitment not to enforce a
2971-patent against the party.
2972-
2973-If you convey a covered work, knowingly relying on a patent license,
2974-and the Corresponding Source of the work is not available for anyone
2975-to copy, free of charge and under the terms of this License, through a
2976-publicly available network server or other readily accessible means,
2977-then you must either (1) cause the Corresponding Source to be so
2978-available, or (2) arrange to deprive yourself of the benefit of the
2979-patent license for this particular work, or (3) arrange, in a manner
2980-consistent with the requirements of this License, to extend the patent
2981-license to downstream recipients. "Knowingly relying" means you have
2982-actual knowledge that, but for the patent license, your conveying the
2983-covered work in a country, or your recipient's use of the covered work
2984-in a country, would infringe one or more identifiable patents in that
2985-country that you have reason to believe are valid.
2986-
2987-If, pursuant to or in connection with a single transaction or
2988-arrangement, you convey, or propagate by procuring conveyance of, a
2989-covered work, and grant a patent license to some of the parties
2990-receiving the covered work authorizing them to use, propagate, modify
2991-or convey a specific copy of the covered work, then the patent license
2992-you grant is automatically extended to all recipients of the covered
2993-work and works based on it.
2994-
2995-A patent license is "discriminatory" if it does not include within the
2996-scope of its coverage, prohibits the exercise of, or is conditioned on
2997-the non-exercise of one or more of the rights that are specifically
2998-granted under this License. You may not convey a covered work if you
2999-are a party to an arrangement with a third party that is in the
3000-business of distributing software, under which you make payment to the
3001-third party based on the extent of your activity of conveying the
3002-work, and under which the third party grants, to any of the parties
3003-who would receive the covered work from you, a discriminatory patent
3004-license (a) in connection with copies of the covered work conveyed by
3005-you (or copies made from those copies), or (b) primarily for and in
3006-connection with specific products or compilations that contain the
3007-covered work, unless you entered into that arrangement, or that patent
3008-license was granted, prior to 28 March 2007.
3009-
3010-Nothing in this License shall be construed as excluding or limiting
3011-any implied license or other defenses to infringement that may
3012-otherwise be available to you under applicable patent law.
3013-
3014-12. No Surrender of Others' Freedom.
3015-
3016-If conditions are imposed on you (whether by court order, agreement or
3017-otherwise) that contradict the conditions of this License, they do not
3018-excuse you from the conditions of this License. If you cannot convey a
3019-covered work so as to satisfy simultaneously your obligations under
3020-this License and any other pertinent obligations, then as a
3021-consequence you may not convey it at all. For example, if you agree to
3022-terms that obligate you to collect a royalty for further conveying
3023-from those to whom you convey the Program, the only way you could
3024-satisfy both those terms and this License would be to refrain entirely
3025-from conveying the Program.
3026-
3027-13. Use with the GNU Affero General Public License.
3028-
3029-Notwithstanding any other provision of this License, you have
3030-permission to link or combine any covered work with a work licensed
3031-under version 3 of the GNU Affero General Public License into a single
3032-combined work, and to convey the resulting work. The terms of this
3033-License will continue to apply to the part which is the covered work,
3034-but the special requirements of the GNU Affero General Public License,
3035-section 13, concerning interaction through a network will apply to the
3036-combination as such. 14. Revised Versions of this License.
3037-
3038-The Free Software Foundation may publish revised and/or new versions
3039-of the GNU General Public License from time to time. Such new versions
3040-will be similar in spirit to the present version, but may differ in
3041-detail to address new problems or concerns.
3042-
3043-Each version is given a distinguishing version number. If the Program
3044-specifies that a certain numbered version of the GNU General Public
3045-License "or any later version" applies to it, you have the option of
3046-following the terms and conditions either of that numbered version or
3047-of any later version published by the Free Software Foundation. If the
3048-Program does not specify a version number of the GNU General Public
3049-License, you may choose any version ever published by the Free
3050-Software Foundation.
3051-
3052-If the Program specifies that a proxy can decide which future versions
3053-of the GNU General Public License can be used, that proxy's public
3054-statement of acceptance of a version permanently authorizes you to
3055-choose that version for the Program.
3056-
3057-Later license versions may give you additional or different
3058-permissions. However, no additional obligations are imposed on any
3059-author or copyright holder as a result of your choosing to follow a
3060-later version.
3061-
3062-15. Disclaimer of Warranty.
3063-
3064-THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
3065-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
3066-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
3067-WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
3068-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3069-A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
3070-PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
3071-DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
3072-CORRECTION.
3073-
3074-16. Limitation of Liability.
3075-
3076-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3077-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
3078-CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
3079-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
3080-ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
3081-NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
3082-LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
3083-TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
3084-PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
3085-
3086-17. Interpretation of Sections 15 and 16.
3087-
3088-If the disclaimer of warranty and limitation of liability provided
3089-above cannot be given local legal effect according to their terms,
3090-reviewing courts shall apply local law that most closely approximates
3091-an absolute waiver of all civil liability in connection with the
3092-Program, unless a warranty or assumption of liability accompanies a
3093-copy of the Program in return for a fee.
3094-
3095-END OF TERMS AND CONDITIONS
3096-How to Apply These Terms to Your New Programs
3097-
3098-If you develop a new program, and you want it to be of the greatest
3099-possible use to the public, the best way to achieve this is to make it
3100-free software which everyone can redistribute and change under these
3101-terms.
3102-
3103-To do so, attach the following notices to the program. It is safest to
3104-attach them to the start of each source file to most effectively state
3105-the exclusion of warranty and each file should have at least the
3106-"copyright" line and a pointer to where the full notice is found.
3107-
3108- <one line to give the program's name and a brief idea of what it does.>
3109- Copyright (C) <year> <name of author>
3110-
3111- This program is free software: you can redistribute it and/or modify
3112- it under the terms of the GNU General Public License as published by
3113- the Free Software Foundation, either version 3 of the License, or
3114- (at your option) any later version.
3115-
3116- This program is distributed in the hope that it will be useful,
3117- but WITHOUT ANY WARRANTY without even the implied warranty of
3118- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3119- GNU General Public License for more details.
3120-
3121- You should have received a copy of the GNU General Public License
3122- along with this program. If not, see <http://www.gnu.org/licenses/>.
3123-
3124-Also add information on how to contact you by electronic and paper mail.
3125-
3126-If the program does terminal interaction, make it output a short notice
3127-like this when it starts in an interactive mode:
3128-
3129- <program> Copyright (C) <year> <name of author>
3130- This program comes with ABSOLUTELY NO WARRANTY for details type 'show w'.
3131- This is free software, and you are welcome to redistribute it
3132- under certain conditions type 'show c' for details.
3133-
3134-The hypothetical commands 'show w' and 'show c' should show the
3135-appropriate parts of the General Public License. Of course, your
3136-program's commands might be different for a GUI interface, you would
3137-use an "about box".
3138-
3139-You should also get your employer (if you work as a programmer) or
3140-school, if any, to sign a "copyright disclaimer" for the program, if
3141-necessary. For more information on this, and how to apply and follow
3142-the GNU GPL, see <http://www.gnu.org/licenses/>.
3143-
3144-The GNU General Public License does not permit incorporating your
3145-program into proprietary programs. If your program is a subroutine
3146-library, you may consider it more useful to permit linking proprietary
3147-applications with the library. If this is what you want to do, use the
3148-GNU Lesser General Public License instead of this License. But first,
3149-please read <http://www.gnu.org/philosophy/why-not-lgpl.html>."""
3150-
3151-
3152-# Thanks to
3153-# * Barre, for the n overflow solution
3154-# * http://lipsum.sourceforge.net/whatis.php for source lorems and inspiration
3155-
3156-
3157-from string import join
3158-
3159-def get_lorem(q = 0):
3160- i = -1
3161-
3162- i += 1
3163- if q == i:
3164- #This text is under public domain
3165- #Lorem ipsum
3166- #Cicero
3167- return u"""lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy
3168-eirmod tempor invidunt ut labore et dolore magna aliquyam erat sed diam
3169-voluptua at vero eos et accusam et justo duo dolores et ea rebum stet clita
3170-kasd gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem
3171-ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod
3172-tempor invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at
3173-vero eos et accusam et justo duo dolores et ea rebum stet clita kasd
3174-gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum
3175-dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod tempor
3176-invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at vero
3177-eos et accusam et justo duo dolores et ea rebum stet clita kasd gubergren no
3178-sea takimata sanctus est lorem ipsum dolor sit amet
3179-
3180-duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
3181-molestie consequat vel illum dolore eu feugiat nulla facilisis at vero eros
3182-et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril
3183-delenit augue duis dolore te feugait nulla facilisi lorem ipsum dolor sit
3184-amet consectetuer adipiscing elit sed diam nonummy nibh euismod tincidunt ut
3185-laoreet dolore magna aliquam erat volutpat
3186-
3187-ut wisi enim ad minim veniam quis nostrud exerci tation ullamcorper suscipit
3188-lobortis nisl ut aliquip ex ea commodo consequat duis autem vel eum iriure
3189-dolor in hendrerit in vulputate velit esse molestie consequat vel illum
3190-dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio
3191-dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te
3192-feugait nulla facilisi
3193-
3194-nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet
3195-doming id quod mazim placerat facer possim assum lorem ipsum dolor sit amet
3196-consectetuer adipiscing elit sed diam nonummy nibh euismod tincidunt ut
3197-laoreet dolore magna aliquam erat volutpat ut wisi enim ad minim veniam quis
3198-nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea
3199-commodo consequat
3200-
3201-duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
3202-molestie consequat vel illum dolore eu feugiat nulla facilisis
3203-
3204-at vero eos et accusam et justo duo dolores et ea rebum stet clita kasd
3205-gubergren no sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum
3206-dolor sit amet consetetur sadipscing elitr sed diam nonumy eirmod tempor
3207-invidunt ut labore et dolore magna aliquyam erat sed diam voluptua at vero
3208-eos et accusam et justo duo dolores et ea rebum stet clita kasd gubergren no
3209-sea takimata sanctus est lorem ipsum dolor sit amet lorem ipsum dolor sit
3210-amet consetetur sadipscing elitr at accusam aliquyam diam diam dolore
3211-dolores duo eirmod eos erat et nonumy sed tempor et et invidunt justo labore
3212-stet clita ea et gubergren kasd magna no rebum sanctus sea sed takimata ut
3213-vero voluptua est lorem ipsum dolor sit amet lorem ipsum dolor sit amet
3214-consetetur sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore
3215-et dolore magna aliquyam erat
3216-
3217-consetetur sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore
3218-et dolore magna aliquyam erat sed diam voluptua at vero eos et accusam et
3219-justo duo dolores et ea rebum stet clita kasd gubergren no sea takimata
3220-sanctus est lorem ipsum dolor sit amet lorem ipsum dolor sit amet consetetur
3221-sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore et dolore
3222-magna aliquyam erat sed diam voluptua at vero eos et accusam et justo duo
3223-dolores et ea rebum stet clita kasd gubergren no sea takimata sanctus est
3224-lorem ipsum dolor sit amet lorem ipsum dolor sit amet consetetur sadipscing
3225-elitr sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
3226-aliquyam erat sed diam voluptua at vero eos et accusam et justo duo dolores
3227-et ea rebum stet clita kasd gubergren no sea takimata sanctus est lorem
3228-ipsum dolor sit amet"""
3229-
3230- i += 1
3231- if q == i:
3232- #This text is under public domain
3233- #Childe Harold's Pilgrimage - Canto the first (I.-X.)
3234- #Lord Byron
3235- return u"""oh thou in hellas deemed of heavenly birth
3236-muse formed or fabled at the minstrels will
3237-since shamed full oft by later lyres on earth
3238-mine dares not call thee from thy sacred hill
3239-yet there ive wandered by thy vaunted rill
3240-yes sighed oer delphis longdeserted shrine
3241-where save that feeble fountain all is still
3242-nor mote my shell awake the weary nine
3243-to grace so plain a talethis lowly lay of mine
3244-
3245-whilome in albions isle there dwelt a youth
3246-who ne in virtues ways did take delight
3247-but spent his days in riot most uncouth
3248-and vexed with mirth the drowsy ear of night
3249-ah me in sooth he was a shameless wight
3250-sore given to revel and ungodly glee
3251-few earthly things found favour in his sight
3252-save concubines and carnal companie
3253-and flaunting wassailers of high and low degree
3254-
3255-childe harold was he hight but whence his name
3256-and lineage long it suits me not to say
3257-suffice it that perchance they were of fame
3258-and had been glorious in another day
3259-but one sad losel soils a name for aye
3260-however mighty in the olden time
3261-nor all that heralds rake from coffined clay
3262-nor florid prose nor honeyed lines of rhyme
3263-can blazon evil deeds or consecrate a crime
3264-
3265-childe harold basked him in the noontide sun
3266-disporting there like any other fly
3267-nor deemed before his little day was done
3268-one blast might chill him into misery
3269-but long ere scarce a third of his passed by
3270-worse than adversity the childe befell
3271-he felt the fulness of satiety
3272-then loathed he in his native land to dwell
3273-which seemed to him more lone than eremites sad cell
3274-
3275-for he through sins long labyrinth had run
3276-nor made atonement when he did amiss
3277-had sighed to many though he loved but one
3278-and that loved one alas could neer be his
3279-ah happy she to scape from him whose kiss
3280-had been pollution unto aught so chaste
3281-who soon had left her charms for vulgar bliss
3282-and spoiled her goodly lands to gild his waste
3283-nor calm domestic peace had ever deigned to taste
3284-
3285-and now childe harold was sore sick at heart
3286-and from his fellow bacchanals would flee
3287-tis said at times the sullen tear would start
3288-but pride congealed the drop within his ee
3289-apart he stalked in joyless reverie
3290-and from his native land resolved to go
3291-and visit scorching climes beyond the sea
3292-with pleasure drugged he almost longed for woe
3293-and een for change of scene would seek the shades below
3294-
3295-the childe departed from his fathers hall
3296-it was a vast and venerable pile
3297-so old it seemed only not to fall
3298-yet strength was pillared in each massy aisle
3299-monastic dome condemned to uses vile
3300-where superstition once had made her den
3301-now paphian girls were known to sing and smile
3302-and monks might deem their time was come agen
3303-if ancient tales say true nor wrong these holy men
3304-
3305-yet ofttimes in his maddest mirthful mood
3306-strange pangs would flash along childe harolds brow
3307-as if the memory of some deadly feud
3308-or disappointed passion lurked below
3309-but this none knew nor haply cared to know
3310-for his was not that open artless soul
3311-that feels relief by bidding sorrow flow
3312-nor sought he friend to counsel or condole
3313-whateer this grief mote be which he could not control
3314-
3315-and none did love him though to hall and bower
3316-he gathered revellers from far and near
3317-he knew them flatterers of the festal hour
3318-the heartless parasites of present cheer
3319-yea none did love himnot his lemans dear
3320-but pomp and power alone are womans care
3321-and where these are light eros finds a feere
3322-maidens like moths are ever caught by glare
3323-and mammon wins his way where seraphs might despair
3324-
3325-childe harold had a mothernot forgot
3326-though parting from that mother he did shun
3327-a sister whom he loved but saw her not
3328-before his weary pilgrimage begun
3329-if friends he had he bade adieu to none
3330-yet deem not thence his breast a breast of steel
3331-ye who have known what tis to dote upon
3332-a few dear objects will in sadness feel
3333-such partings break the heart they fondly hope to heal"""
3334-
3335- i += 1
3336- if q == i:
3337- #This text is under public domain
3338- #Decameron - Novella Prima
3339- #Giovanni Boccaccio
3340- return u"""convenevole cosa e carissime donne che ciascheduna cosa la quale l'uomo fa
3341-dallo ammirabile e santo nome di colui il quale di tutte fu facitore le dea
3342-principio per che dovendo io al vostro novellare sí come primo dare
3343-cominciamento intendo da una delle sue maravigliose cose incominciare accio
3344-che quella udita la nostra speranza in lui sí come in cosa impermutabile si
3345-fermi e sempre sia da noi il suo nome lodato manifesta cosa e che sí come le
3346-cose temporali tutte sono transitorie e mortali cosí in sé e fuor di sé
3347-esser piene di noia d'angoscia e di fatica e a infiniti pericoli sogiacere
3348-alle quali senza niuno fallo né potremmo noi che viviamo mescolati in esse e
3349-che siamo parte d'esse durare né ripararci se spezial grazia di dio forza e
3350-avvedimento non ci prestasse la quale a noi e in noi non e da credere che
3351-per alcun nostro merito discenda ma dalla sua propria benignita mossa e da'
3352-prieghi di coloro impetrata che sí come noi siamo furon mortali e bene i
3353-suoi piaceri mentre furono in vita seguendo ora con lui eterni son divenuti
3354-e beati alli quali noi medesimi sí come a procuratori informati per
3355-esperienza della nostra fragilita forse non audaci di porgere i prieghi
3356-nostri nel cospetto di tanto giudice delle cose le quali a noi reputiamo
3357-oportune gli porgiamo e ancora piú in lui verso noi di pietosa liberalita
3358-pieno discerniamo che non potendo l'acume dell'occhio mortale nel segreto
3359-della divina mente trapassare in alcun modo avvien forse tal volta che da
3360-oppinione ingannati tale dinanzi alla sua maesta facciamo procuratore che da
3361-quella con etterno essilio e iscacciato e nondimeno esso al quale niuna cosa
3362-e occulta piú alla purita del pregator riguardando che alla sua ignoranza o
3363-allo essilio del pregato cosí come se quegli fosse nel suo cospetto beato
3364-essaudisce coloro che 'l priegano il che manifestamente potra apparire nella
3365-novella la quale di raccontare intendo manifestamente dico non il giudicio
3366-di dio ma quel degli uomini seguitando"""
3367-
3368- i += 1
3369- if q == i:
3370- #This text is under public domain
3371- #Faust: Der Tragödie erster Teil
3372- #Johann Wolfgang von Goethe
3373- return u"""ihr naht euch wieder schwankende gestalten
3374-die früh sich einst dem trüben blick gezeigt
3375-versuch ich wohl euch diesmal festzuhalten
3376-fühl ich mein herz noch jenem wahn geneigt
3377-ihr drängt euch zu nun gut so mögt ihr walten
3378-wie ihr aus dunst und nebel um mich steigt
3379-mein busen fühlt sich jugendlich erschüttert
3380-vom zauberhauch der euren zug umwittert
3381-
3382-ihr bringt mit euch die bilder froher tage
3383-und manche liebe schatten steigen auf
3384-gleich einer alten halbverklungnen sage
3385-kommt erste lieb und freundschaft mit herauf
3386-der schmerz wird neu es wiederholt die klage
3387-des lebens labyrinthisch irren lauf
3388-und nennt die guten die um schöne stunden
3389-vom glück getäuscht vor mir hinweggeschwunden
3390-
3391-sie hören nicht die folgenden gesänge
3392-die seelen denen ich die ersten sang
3393-zerstoben ist das freundliche gedränge
3394-verklungen ach der erste widerklang
3395-mein lied ertönt der unbekannten menge
3396-ihr beifall selbst macht meinem herzen bang
3397-und was sich sonst an meinem lied erfreuet
3398-wenn es noch lebt irrt in der welt zerstreuet
3399-
3400-und mich ergreift ein längst entwöhntes sehnen
3401-nach jenem stillen ernsten geisterreich
3402-es schwebet nun in unbestimmten tönen
3403-mein lispelnd lied der äolsharfe gleich
3404-ein schauer faßt mich träne folgt den tränen
3405-das strenge herz es fühlt sich mild und weich
3406-was ich besitze seh ich wie im weiten
3407-und was verschwand wird mir zu wirklichkeiten"""
3408-
3409- i += 1
3410- if q == i:
3411- #This text is under public domain
3412- #In der Fremde
3413- #Heinrich Heine
3414- return u"""es treibt dich fort von ort zu ort
3415-du weißt nicht mal warum
3416-im winde klingt ein sanftes wort
3417-schaust dich verwundert um
3418-
3419-die liebe die dahinten blieb
3420-sie ruft dich sanft zurück
3421-o komm zurück ich hab dich lieb
3422-du bist mein einz'ges glück
3423-
3424-doch weiter weiter sonder rast
3425-du darfst nicht stillestehn
3426-was du so sehr geliebet hast
3427-sollst du nicht wiedersehn
3428-
3429-du bist ja heut so grambefangen
3430-wie ich dich lange nicht geschaut
3431-es perlet still von deinen wangen
3432-und deine seufzer werden laue
3433-
3434-denkst du der heimat die so ferne
3435-so nebelferne dir verschwand
3436-gestehe mir's du wärest gerne
3437-manchmal im teuren vaterland
3438-
3439-denkst du der dame die so niedlich
3440-mit kleinem zürnen dich ergötzt
3441-oft zürntest du dann ward sie friedlich
3442-und immer lachtet ihr zuletzt
3443-
3444-denkst du der freunde die da sanken
3445-an deine brust in großer stund'
3446-im herzen stürmten die gedanken
3447-jedoch verschwiegen blieb der mund
3448-
3449-denkst du der mutter und der schwester
3450-mit beiden standest du ja gut
3451-ich glaube gar es schmilzt mein bester
3452-in deiner brust der wilde mut
3453-
3454-denkst du der vögel und der bäume
3455-des schönen gartens wo du oft
3456-geträumt der liebe junge träume
3457-wo du gezagt wo du gehofft
3458-
3459-es ist schon spät die nacht ist helle
3460-trübhell gefärbt vom feuchten schnee
3461-ankleiden muß ich mich nun schnelle
3462-und in gesellschaft gehn o weh"""
3463-
3464- i += 1
3465- if q == i:
3466- #This text is under public domain
3467- #Le Bateau Ivre
3468- #Arthur Baudelaire
3469- return u"""comme je descendais des fleuves impassibles
3470-je ne me sentis plus guidé par les haleurs
3471-des peaux-rouges criards les avaient pris pour cibles
3472-les ayant cloués nus aux poteaux de couleurs
3473-
3474-j'étais insoucieux de tous les équipages
3475-porteur de blés flamands ou de cotons anglais
3476-quand avec mes haleurs ont fini ces tapages
3477-les fleuves m'ont laissé descendre ou je voulais
3478-
3479-dans les clapotements furieux des marées
3480-moi l'autre hiver plus sourd que les cerveaux d'enfants
3481-je courus et les péninsules démarrées
3482-n'ont pas subi tohu-bohus plus triomphants
3483-
3484-la tempete a béni mes éveils maritimes
3485-plus léger qu'un bouchon j'ai dansé sur les flots
3486-qu'on appelle rouleurs éternels de victimes
3487-dix nuits sans regretter l'oeil niais des falots
3488-
3489-plus douce qu'aux enfants la chair des pommes sures
3490-l'eau verte pénétra ma coque de sapin
3491-et des taches de vins bleus et des vomissures
3492-me lava dispersant gouvernail et grappin
3493-
3494-et des lors je me suis baigné dans le poeme
3495-de la mer infusé d'astres et lactescent
3496-dévorant les azurs verts ou flottaison bleme
3497-et ravie un noyé pensif parfois descend
3498-
3499-ou teignant tout a coup les bleuités délires
3500-et rythmes lents sous les rutilements du jour
3501-plus fortes que l'alcool plus vastes que nos lyres
3502-fermentent les rousseurs ameres de l'amour
3503-
3504-je sais les cieux crevant en éclairs et les trombes
3505-et les ressacs et les courants je sais le soir
3506-l'aube exaltée ainsi qu'un peuple de colombes
3507-et j'ai vu quelque fois ce que l'homme a cru voir
3508-
3509-j'ai vu le soleil bas taché d'horreurs mystiques
3510-illuminant de longs figements violets
3511-pareils a des acteurs de drames tres-antiques
3512-les flots roulant au loin leurs frissons de volets
3513-
3514-j'ai revé la nuit verte aux neiges éblouies
3515-baiser montant aux yeux des mers avec lenteurs
3516-la circulation des seves inouies
3517-et l'éveil jaune et bleu des phosphores chanteurs
3518-
3519-j'ai suivi des mois pleins pareille aux vacheries
3520-hystériques la houle a l'assaut des récifs
3521-sans songer que les pieds lumineux des maries
3522-pussent forcer le mufle aux océans poussifs
3523-
3524-j'ai heurté savez-vous d'incroyables florides
3525-melant aux fleurs des yeux de pantheres a peaux
3526-d'hommes des arcs-en-ciel tendus comme des brides
3527-sous l'horizon des mers a de glauques troupeaux
3528-
3529-j'ai vu fermenter les marais énormes nasses
3530-ou pourrit dans les joncs tout un léviathan
3531-des écroulement d'eau au milieu des bonaces
3532-et les lointains vers les gouffres cataractant
3533-
3534-glaciers soleils d'argent flots nacreux cieux de braises
3535-échouages hideux au fond des golfes bruns
3536-ou les serpents géants dévorés de punaises
3537-choient des arbres tordus avec de noirs parfums
3538-
3539-j'aurais voulu montrer aux enfants ces dorades
3540-du flot bleu ces poissons d'or ces poissons chantants
3541-- des écumes de fleurs ont bercé mes dérades
3542-et d'ineffables vents m'ont ailé par instants
3543-
3544-parfois martyr lassé des pôles et des zones
3545-la mer dont le sanglot faisait mon roulis doux
3546-montait vers moi ses fleurs d'ombres aux ventouses jaunes
3547-et je restais ainsi qu'une femme a genoux
3548-
3549-presque île balottant sur mes bords les querelles
3550-et les fientes d'oiseaux clabaudeurs aux yeux blonds
3551-et je voguais lorsqu'a travers mes liens freles
3552-des noyés descendaient dormir a reculons
3553-
3554-or moi bateau perdu sous les cheveux des anses
3555-jeté par l'ouragan dans l'éther sans oiseau
3556-moi dont les monitors et les voiliers des hanses
3557-n'auraient pas repeché la carcasse ivre d'eau
3558-
3559-libre fumant monté de brumes violettes
3560-moi qui trouais le ciel rougeoyant comme un mur
3561-qui porte confiture exquise aux bons poetes
3562-des lichens de soleil et des morves d'azur
3563-
3564-qui courais taché de lunules électriques
3565-planche folle escorté des hippocampes noirs
3566-quand les juillets faisaient crouler a coups de triques
3567-les cieux ultramarins aux ardents entonnoirs
3568-
3569-moi qui tremblais sentant geindre a cinquante lieues
3570-le rut des béhémots et les maelstroms épais
3571-fileur éternel des immobilités bleues
3572-je regrette l'europe aux anciens parapets
3573-
3574-j'ai vu des archipels sidéraux et des îles
3575-dont les cieux délirants sont ouverts au vogueur
3576-- est-ce en ces nuits sans fond que tu dors et t'exiles
3577-million d'oiseaux d'or ô future vigueur -
3578-
3579-mais vrai j'ai trop pleuré les aubes sont navrantes
3580-toute lune est atroce et tout soleil amer
3581-l'âcre amour m'a gonflé de torpeurs enivrantes
3582-ô que ma quille éclate ô que j'aille a la mer
3583-
3584-si je désire une eau d'europe c'est la flache
3585-noire et froide ou vers le crépuscule embaumé
3586-un enfant accroupi plein de tristesses lâche
3587-un bateau frele comme un papillon de mai
3588-
3589-je ne puis plus baigné de vos langueurs ô lames
3590-enlever leur sillage aux porteurs de cotons
3591-ni traverser l'orgueil des drapeaux et des flammes
3592-ni nager sous les yeux horribles des pontons"""
3593-
3594- i += 1
3595- if q == i:
3596- #This text is under public domain
3597- #Le Masque
3598- #Arthur Rembaud
3599- return u"""contemplons ce trésor de grâces florentines
3600-dans l'ondulation de ce corps musculeux
3601-l'elégance et la force abondent soeurs divines
3602-cette femme morceau vraiment miraculeux
3603-divinement robuste adorablement mince
3604-est faite pour trôner sur des lits somptueux
3605-et charmer les loisirs d'un pontife ou d'un prince
3606-
3607-aussi vois ce souris fin et voluptueux
3608-ou la fatuité promene son extase
3609-ce long regard sournois langoureux et moqueur
3610-ce visage mignard tout encadré de gaze
3611-dont chaque trait nous dit avec un air vainqueur
3612-«la volupté m'appelle et l'amour me couronne»
3613-a cet etre doué de tant de majesté
3614-vois quel charme excitant la gentillesse donne
3615-approchons et tournons autour de sa beauté
3616-
3617-ô blaspheme de l'art ô surprise fatale
3618-la femme au corps divin promettant le bonheur
3619-par le haut se termine en monstre bicéphale
3620-
3621-mais non ce n'est qu'un masque un décor suborneur
3622-ce visage éclairé d'une exquise grimace
3623-et regarde voici crispée atrocement
3624-la véritable tete et la sincere face
3625-renversée a l'abri de la face qui ment
3626-pauvre grande beauté le magnifique fleuve
3627-de tes pleurs aboutit dans mon coeur soucieux
3628-ton mensonge m'enivre et mon âme s'abreuve
3629-aux flots que la douleur fait jaillir de tes yeux
3630-
3631-mais pourquoi pleure-t-elle elle beauté parfaite
3632-qui mettrait a ses pieds le genre humain vaincu
3633-quel mal mystérieux ronge son flanc d'athlete
3634-
3635-elle pleure insensé parce qu'elle a vécu
3636-et parce qu'elle vit mais ce qu'elle déplore
3637-surtout ce qui la fait frémir jusqu'aux genoux
3638-c'est que demain hélas il faudra vivre encore
3639-demain apres-demain et toujours comme nous"""
3640-
3641- i += 1
3642- if q == i:
3643- #This text is under public domain
3644- #Nagyon fáj
3645- #József Attila
3646- return u"""kivül belõl
3647-leselkedõ halál elõl
3648-mint lukba megriadt egérke
3649-
3650-amíg hevülsz
3651-az asszonyhoz úgy menekülsz
3652-hogy óvjon karja öle térde
3653-
3654-nemcsak a lágy
3655-meleg öl csal nemcsak a vágy
3656-de odataszít a muszáj is
3657-
3658-ezért ölel
3659-minden ami asszonyra lel
3660-míg el nem fehérül a száj is
3661-
3662-kettõs teher
3663-s kettõs kincs hogy szeretni kell
3664-ki szeret s párra nem találhat
3665-
3666-oly hontalan
3667-mint amilyen gyámoltalan
3668-a szükségét végzõ vadállat
3669-
3670-nincsen egyéb
3671-menedékünk a kés hegyét
3672-bár anyádnak szegezd te bátor
3673-
3674-és lásd akadt
3675-nõ ki érti e szavakat
3676-de mégis ellökött magától
3677-
3678-nincsen helyem
3679-így élõk közt zúg a fejem
3680-gondom s fájdalmam kicifrázva
3681-
3682-mint a gyerek
3683-kezében a csörgõ csereg
3684-ha magára hagyottan rázza
3685-
3686-mit kellene
3687-tenni érte és ellene
3688-nem szégyellem ha kitalálom
3689-
3690-hisz kitaszít
3691-a világ így is olyat akit
3692-kábít a nap rettent az álom
3693-
3694-a kultúra
3695-úgy hull le rólam mint ruha
3696-másról a boldog szerelemben
3697-
3698-de az hol áll
3699-hogy nézze mint dobál halál
3700-s még egyedül kelljen szenvednem
3701-
3702-a csecsemõ
3703-is szenvedi ha szül a nõ
3704-páros kínt enyhíthet alázat
3705-
3706-de énnekem
3707-pénzt hoz fájdalmas énekem
3708-s hozzám szegõdik a gyalázat
3709-
3710-segítsetek
3711-ti kisfiúk a szemetek
3712-pattanjon meg ott õ ahol jár
3713-
3714-ártatlanok
3715-csizmák alatt sikongjatok
3716-és mondjátok neki¨nagyon fáj
3717-
3718-ti hû ebek
3719-kerék alá kerüljetek
3720-s ugassátok neki nagyon fáj
3721-
3722-nõk terhetek
3723-viselõk elvetéljetek
3724-és sírjátok neki nagyon fáj
3725-
3726-ép emberek
3727-bukjatok öszetörjetek
3728-s motyogjatok neki nagyon fáj
3729-
3730-ti férfiak
3731-egymást megtépve nõ miatt
3732-ne hallgassátok el nagyon fáj
3733-
3734-lovak bikák
3735-kiket hogy húzzatok igát
3736-herélnek ríjjátok nagyon fáj
3737-
3738-néma halak
3739-horgot kapjatok jég alatt
3740-és tátogjatok rá nagyon fáj
3741-
3742-elevenek
3743-minden mi kíntól megremeg
3744-égjen hol laktok kert vadon táj
3745-
3746-s ágya körül
3747-üszkösen ha elszenderül
3748-vakogjatok velem nagyon fáj
3749-
3750-hallja míg él
3751-azt tagadta meg amit ér
3752-elvonta puszta kénye végett
3753-
3754-kivül belõl
3755-menekülõ élõ elõl
3756-a legutolsó menedéket"""
3757-
3758- i += 1
3759- if q == i:
3760- #This text is under public domain
3761- #Ómagyar-Mária siralom
3762- #Ismeretlen
3763- return u"""volek syrolm thudothlon syrolmol sepedyk buol ozuk epedek walasth vylagumtul
3764-sydou fyodumtul ezes urumemtuul o en eses urodum eggen yg fyodum syrou aniath
3765-thekunched buabeleul kyniuhhad scemem kunuel arad en iunhum buol farad the
3766-werud hullothya en iunhum olelothya vylag uilaga viragnac uiraga keseruen
3767-kynzathul uos scegegkel werethul vh nequem en fyon ezes mezuul scegenul
3768-scepsegud wirud hioll wyzeul syrolmom fuhazatum therthetyk kyul en iumhumnok
3769-bel bua qui sumha nym kyul hyul wegh halal engumet eggedum illen maraggun
3770-urodum kyth wylag felleyn o ygoz symeonnok bezzeg scouuo ere en erzem ez
3771-buthuruth kyt niha egyre tuled ualmun de num ualallal hul yg kynzassal fyom
3772-halallal sydou myth thez turuentelen fyom merth hol byuntelen fugwa huztuzwa
3773-wklelue kethwe ulud keguggethuk fyomnok ne leg kegulm mogomnok owog halal
3774-kynaal anyath ezes fyaal egembelu ullyetuk"""
3775-
3776- i += 1
3777- if q == i:
3778- #This text is under public domain
3779- #Robinsono Kruso (Esperanto)
3780- #Daniel Defoe
3781- return u"""mi naskigxis en jorko anglujo je marto kiu estas la
3782-sesjarrego de la regxo karolo la unua infane mi sentadis grandan
3783-deziron por pasigi mian vivon sur la maro kaj pliagxante la deziro
3784-plifortigxis gxis fine mi forlasis mian lernejon kaj hejmon kaj
3785-piede mi trovis mian vojon al hull kie mi baldaux trovis okupadon sur
3786-sxipo
3787-
3788-post kiam ni velveturis kelke da tagoj okazis ventego kaj kvinanokte
3789-la sxipo enfendigxis cxiuj al la pumpiloj rapidis la sxipon ni sentis
3790-gxemi en cxiuj siaj tabuloj kaj gxian trabajxon ektremi de la antauxa gxis
3791-la posta parto kaj baldaux klarigxis ke ne estas ia espero por gxi kaj
3792-ke cxio kion ni povas fari estas savi niajn vivojn
3793-
3794-unue ni pafadis pafilegojn por venigi helpon kaj post kelke da
3795-tempo sxipo kusxante ne malproksime alsendis boaton por helpi nin sed
3796-la maro estis tro maltrankvila por gxi restadi sxipflanke tial ni
3797-eljxetis sxnuregon kiun la boatanoj ekkaptis kaj firme fiksis kaj
3798-tiamaniere ni cxiuj enboatigxis
3799-
3800-tamen vanigxis en tia maltrankvila maro por peni albordigxi la sxipon
3801-kiu alsendis la virojn aux aluzi la remilojn de la boato kaj ni ne
3802-povis ion fari krom gxin lasi peligxi teron
3803-
3804-duonhore nia sxipo trafis rifon kaj subakvigxis kaj gxin ni ne vidis
3805-plu tre malrapide ni alproksimigxis teron kiun iafoje ni vidis kiam
3806-ajn la boato levigxis sur la supro de ia alta ondo kaj tie ni vidis
3807-homojn kurante amase tien kaj reen havante unu celon savi nin
3808-
3809-fine gxojege ni surterigxis kie bonsxance ni renkontis amikojn kiuj
3810-donis al ni helpon por reveturi al hull kaj se tiam mi havus la
3811-bonan sencon por iri hejmon estus pli bone por mi
3812-
3813-la viro kies sxipo subakvigxis diris kun grava mieno junulo ne iru
3814-plu surmaron tiu ne estas la vivmaniero por vi kial do sinjoro
3815-vi mem iros plu surmaron tiu estas alia afero mi estas elnutrita
3816-por la maro sed vi ne estas vi venis sur mian sxipon por eltrovi la
3817-staton de vivo surmara kaj vi povas diveni tion kio okazos al vi se
3818-vi ne reiros hejmon dio ne benos vin kaj eble vi kauxzis tiun-cxi
3819-tutan malbonon al ni
3820-
3821-mi ne parolis alian vorton al li kiun vojon li iris mi nek scias
3822-nek deziris sciigxi cxar mi estis ofendita pro tiu-cxi malgxentila
3823-parolado mi multe pensis cxu iri hejmon aux cxu iradi surmaron honto
3824-detenis min pri iri hejmon kaj mi ne povis decidi la vivkuron kiun
3825-mi estis ironta
3826-
3827-kiel estis mia sorto travive cxiam elekti la plej malbonon tiel same
3828-mi nun faris mi havis oron en mia monujo kaj bonan vestajxon sur mia
3829-korpo sed surmaron mi ree iris
3830-
3831-sed nun mi havis pli malbonan sxancon ol iam cxar kiam ni estis tre
3832-malproksime enmaro kelke da turkoj en sxipeto plencxase alproksimigxis
3833-al ni ni levis tiom da veloj kiom niaj velstangoj povis elporti por
3834-ke ni forkuru de ili tamen malgraux tio ni vidis ke niaj malamikoj
3835-pli kaj pli alproksimigxis kaj certigxis ke baldaux ili atingos nian
3836-sxipon
3837-
3838-fine ili atingis nin sed ni direktis niajn pafilegojn sur ilin kio
3839-kauxzis portempe ke ili deflanku sian vojon sed ili dauxrigis pafadon
3840-sur ni tiel longe kiel ili estis en pafspaco proksimigxante la duan
3841-fojon kelkaj viroj atingis la ferdekon de nia sxipo kaj ektrancxis la
3842-velojn kaj ekfaris cxiuspecajn difektajxojn tial post kiam dek el
3843-niaj sxipanoj kusxas mortitaj kaj la plimulto el la ceteraj havas
3844-vundojn ni kapitulacis
3845-
3846-la cxefo de la turkoj prenis min kiel sian rabajxon al haveno okupita
3847-de mauxroj li ne agis al mi tiel malbone kiel mi lin unue jugxis sed
3848-li min laborigis kun la ceteraj de siaj sklavoj tio estis sxangxo en
3849-mia vivo kiun mi neniam antauxvidis ho ve kiom mia koro malgxojis
3850-pensante pri tiuj kiujn mi lasis hejme al kiuj mi ne montris tiom da
3851-komplezemo kiom diri adiauxi kiam mi iris surmaron aux sciigi tion
3852-kion mi intencas fari
3853-
3854-tamen cxio kion mi travivis tiam estas nur antauxgusto de la penadoj
3855-kaj zorgoj kiujn de tiam estis mia sorto suferi
3856-
3857-unue mi pensis ke la turko kunprenos min kun si kiam li ree iros
3858-surmaron kaj ke mi iel povos liberigxi sed la espero nelonge dauxris
3859-cxar tiatempe li lasis min surtere por prizorgi liajn rikoltojn
3860-tiamaniere mi vivis du jarojn tamen la turko konante kaj vidante min
3861-plu min pli kaj pli liberigis li unufoje aux dufoje cxiusemajne
3862-veturis en sia boato por kapti iajn platfisxojn kaj iafoje li
3863-kunprenis min kaj knabon kun si cxar ni estas rapidaj cxe tia sporto
3864-kaj tial li pli kaj pli sxatis min
3865-
3866-unu tagon la turko elsendis min viron kaj knabon boate por kapti
3867-kelke da fisxoj surmare okazas tia densa nebulo ke dekduhore ni ne
3868-povas vidi la teron kvankam ni ne estas pli ol duonmejlon 00
3869-metrojn de la terbordo kaj morgauxtage kiam la suno levigxis nia
3870-boato estas enmaro almenaux dek mejlojn kilometrojn de la
3871-terbordo la vento vigle blovis kaj ni cxiuj tre bezonis nutrajxon sed
3872-fine per la helpo de remiloj kaj veloj ni sendangxere reatingis la
3873-terbordon
3874-
3875-kiam la turko sciigxis kiamaniere ni vojperdis li diris ke de nun
3876-kiam li velveturos li prenos boaton kiu enhavos cxion kion ni
3877-bezonus se ni longatempe estus detenataj surmare tial li farigis
3878-grandan kajuton en la longboato de sia sxipo kiel ankaux cxambron por ni
3879-sklavoj unu tagon li min sendis por ke mi ordigu la boaton pro tio
3880-ke li havas du amikojn kiuj intencas veturi kun li por fisxkapti sed
3881-kiam la tempo alvenis ili ne veturas tial li sendis min viron kaj
3882-knabon -- kies nomo estas zuro -- por kapti kelke da fisxoj por la
3883-gastoj kiuj estas vespermangxontaj kun li
3884-
3885-subite eniris en mian kapon la ideo ke nun estas bona okazo boate
3886-forkuri kaj liberigxi tial mi tuj prenis tiom da nutrajxo kiom mi
3887-povas havigi kaj mi diris al la viro ke estus tro malrespekte
3888-mangxante la panon metitan en la boaton por la turko li diris ke li
3889-pensas tiel same tial li alportis sakon da rizo kaj kelke da ruskoj
3890-kukoj
3891-
3892-dum la viro estis surtere mi provizis iom da vino pecegon da vakso
3893-segilon hakilon fosilon iom da sxnurego kaj cxiuspecajn objektojn
3894-kiuj eble estos utilaj al ni mi sciis kie trovigxas la vinkesto de la
3895-turko kaj mi gxin metis surboaton dum la viro estas surtere per alia
3896-ruzo mi havigis cxion kion mi bezonis mi diris al la knabo la
3897-pafiloj de la turko estas en la boato sed ne trovigxas ia pafajxo cxu
3898-vi pensas ke vi povas havigi iom da gxi vi scias kie gxi estas
3899-konservata kaj eble ni volos pafi birdon aux du li do alportis kesto
3900-kaj saketon kiuj enhavas cxion kion ni eble bezonas por la pafiloj
3901-tiujn-cxi mi metis surboaton kaj poste velveturis por fisxkapti
3902-
3903-la vento blovis de la nordo aux nordokcidento tia vento estis malbona
3904-por mi cxar se gxi estus de la sudo mi estus povinta velveturi al la
3905-terbordo de hispanujo tamen de kiu ajn loko la vento blovos mi
3906-estis decidinta forkuri kaj lasi la ceterajn al ilia sorto mi do
3907-mallevis miajn hokfadenojn kvazaux fisxkapti sed mi zorgis ke mi havu
3908-malbonan sukceson kaj kiam la fisxoj mordis mi ilin ne eltiris cxar
3909-mi deziris ke la mauxro ilin ne vidu mi diris al li tiu-cxi loko
3910-estas nebona ni ne kaptos fisxojn tie-cxi ni devas iom antauxen iri
3911-nu la mauxro pensis ke tion fari ne estos malbone li levis la
3912-velojn kaj cxar la direktilo estis en miaj manoj mi elsendis la
3913-boaton unu mejlon aux plu enmaron kaj poste gxin haltigis kvazaux mi
3914-intencas fisxkapti
3915-
3916-nun mi pripensis tiu-cxi estas mia okazo liberigxi tial mi transdonis
3917-la direktilon al la knabo kaj tiam ekprenis la mauxron cxirkaux la
3918-talio kaj eljxetis lin el la boato
3919-
3920-malsupren li falis sed baldaux reaperis por ke li povis nagxi kvazaux
3921-anaso li diris ke li volonte irus cxirkaux la mondo kun mi se mi
3922-enprenus lin
3923-
3924-iom timante ke li surrampos la boatflankon kaj reenigxos perforte mi
3925-direktis mian pafilon sur lin kaj diris vi facile povas nagxi
3926-alteron se vi tion deziras tial rapidigxu tien plie se vi reen
3927-alproksimigxos la boaton vi ricevos kuglon tra la kapo cxar mi de nun
3928-intencas esti libera viro
3929-
3930-tiam li eknagxis kaj sendube sendangxere atingis la terbordon cxar la
3931-maro estis tre trankvila
3932-
3933-unue mi intencis kunpreni la mauxron kun mi kaj nagxigi zuron alteron
3934-sed la mauxro ne estis viro pri kiu mi povis konfidi
3935-
3936-post kiam li forigxis mi diris al zuro se vi jxuros ke vi estos
3937-fidela al mi vi iam farigxos grava viro se vi ne jxuros mi certe
3938-ankaux vin eljxetos el la boato
3939-
3940-la knabo tiel dolcxe ridetis kiam li jxuris resti fidela al mi ke mi
3941-lin ne povis dubi en mia koro
3942-
3943-dum ankoraux ni povis vidi la mauxron survoje alteren ni antauxen iris
3944-enmaron por ke li kaj tiuj kiuj nin vidis de la terbordo kredu ke
3945-ni iros al la influejo de la markolo cxar neniu velveturis al la suda
3946-marbordo cxar tie logxas gento da homoj kiuj laux sciigoj mortigas kaj
3947-mangxas siajn malamikojn
3948-
3949-tiam mi direktis mian veturadon oriente por ke ni lauxlongiru la
3950-marbordon kaj havante favoron venton kaj trankvilan maron ni
3951-morgauxtagmeze estis malapud kaj preter la povo de la turko
3952-
3953-ankoraux mi timis ke mi estus kaptota de la mauxroj tial mi ne volis
3954-iri surteron tage duonlume ni direktis nian boaton alteren kaj
3955-atingis la enfluejon riveretan de kiu mi pensis ni povos nagxi
3956-surteron kaj tiam rigardi la cxirkauxajxojn sed kiam malheligxis la
3957-lumo ni auxdis strangajn sonojn bojojn kriegojn gruntojn
3958-blekadojn la malfelicxa knabo diris ke li ne kuragxas iri surteron
3959-antaux la tagigxo nu mi diris tiuokaze ni atendu sed tage
3960-povas vidi nin la homoj kiuj eble nin pli malhelpos ol sovagxaj
3961-bestoj tiam ni pafilos ilin ridante diris zuro kaj forkurigu
3962-ilin
3963-
3964-mi gxojis vidi ke la knabo montras tiom da gajeco kaj mi donis al li
3965-iom da pano kaj rizo tiunokte ni silente ripozis sed ne longe
3966-dormis cxar post kelke da horoj iaj grandegaj bestoj malsuprenvenis
3967-al la maro por sin bani la malfelicxa knabo ektremis de kapo al
3968-piedoj pro la vidajxo unu el tiuj bestoj alproksimigxis nian boaton
3969-kaj kvankam estis tro mallume por gxin bone vidi ni auxdis gxin blovi
3970-kaj sciis pro gxia bruego ke gxi certe estas granda fine la bruto
3971-tiom alproksimigxis la boaton kiom la longeco de du remiloj tial mi
3972-pafis sur gxin kaj gxi nagxis alteren
3973-
3974-la blekegoj kaj kriegoj kiujn faris bestoj kaj birdoj pro la bruo de
3975-mia pafilo sxajne montris ke ni faris malbonan elekton por surterejo
3976-sed vole ne vole ni devis iri surtere por sercxi fresxan fonton por
3977-ke ni povu plenigi niajn barelojn zuro diris ke li eltrovus cxu la
3978-fontaj akvoj tauxgas por trinki se mi permesus al li preni unu el la
3979-botelegoj kaj ke li gxin reportos plenigitan se la akvo estas bona
3980-kial vi volas iri mi diris kial mi ne estas ironta vi povas
3981-resti en la boato kontrauxe zuro diris se la sovagxuloj venos ili
3982-min mangxu sed vi forkuru mi devis ami la junulon pro la afabla
3983-parolado nu mi diris ni ambaux iros kaj se la sovagxuloj venos
3984-ni ilin mortigu ja ili ne mangxos aux vin aux min
3985-
3986-mi donis al zuro iom da rumo el la kesto de la turko por reforti lin
3987-kaj ni iris surteron la knabo ekiris kun sia pafilo mejlon de la
3988-loko kie ni surteriris kaj li revenis kun leporo kiun li mortpafis
3989-kaj kiun ni gxoje kuiris kaj mangxis laux la bona novajxo kiun li
3990-raportis li eltrovis fonton kaj ne vidis sovagxulojn
3991-
3992-mi divenis ke la promontoro de la verdaj insuloj ne estas
3993-malproksime cxar mi vidis la supron de la granda pinto kiun kiel mi
3994-sciis estas apud ili mia sola espero estis ke lauxlongirante la
3995-terbordon ni trovos sxipon kiu ensxipigos nin kaj tiam kaj ne antaux
3996-tiam mi sentos kvazaux libera viro unuvorte mi konfidis mian sorton
3997-al la sxanco aux renkonti ian sxipon aux morti
3998-
3999-surteron ni ekvidis iujn homojn kiuj staras kaj rigardas nin ili
4000-estis nigraj kaj ne portis vestajxon mi estus irinta surteron al ili
4001-sed zuro -- kiu sciis plej bone -- diris ne vi iru ne vi iru tial
4002-mi direktis la boaton lauxteron por ke mi povu paroli kun ili kaj ili
4003-longaspace iradis laux ni mi ekvidis ke unu havas lancon en mano
4004-
4005-mi faris signojn ke ili alportu iom da nutrajxo al mi kaj ili
4006-siaparte faris signojn ke mi haltu mian boaton tial mi demetis la
4007-supran parton de mia velo kaj haltis tiam du el ili ekforkuris kaj
4008-duonhore revenis kun iom da sekigxita viando kaj ia greno kiu kreskas
4009-en tiu parto de la mondo tion-cxi ni deziregis sed ne sciis kiel
4010-havigi gxin cxar ni ne kuragxis iri surteron al ili nek ili kuragxis
4011-alproksimigxi al ni
4012-
4013-fine ili eltrovis peron sendangxeran por ni cxiuj alportante la
4014-nutrajxon al la marbordo ili gxin demetis kaj tre fortirigis si mem dum
4015-ni gxin prenis ni faris signojn por montri nian dankon ne havante ion
4016-alian kion ni povas doni al ili sed bonsxance ni baldaux kaptis
4017-grandan donacon por ili cxar du sovagxaj bestoj de la sama speco pri
4018-kiu mi jam priparolis venis plencxase de la montetoj al la maro
4019-
4020-ili nagxis kvazaux ili venis por sportigi cxiuj forkuris de ili krom
4021-tiu kiu portas la lancon unu el tiuj bestoj alproksimigxis nian
4022-boaton tial mi gxin atendis kun mia pafilo kaj tuj kiam gxi estis en
4023-pafspaco mi gxin pafis tra la kapo dufoje gxi subakvigxis kaj dufoje gxi
4024-suprenlevigxis kaj poste gxi nagxis alteren kaj falis senviva la viroj
4025-tiom timis pro la pafilbruo kiom ili antauxe timis je la vidajxo de la
4026-bestoj sed kiam mi faris signojn por ke ili venu al la marbordo ili
4027-tuj venis
4028-
4029-ili rapidis al sia rabajxo kaj tordante cxirkaux gxi sxnuregon ili gxin
4030-sendangxere eltiris surteron
4031-
4032-ni nun lasis niajn sovagxulojn kaj iradis dekdu tagojn plu la terbordo
4033-antaux ni etendis sin kvar aux kvin mejlojn aux kilometrojn
4034-bekforme kaj ni devis veturi iom de la terbordo por atingi tiun
4035-terpinton tiel ke ni portempe ne vidis teron
4036-
4037-mi konfidis la direktilon al zuro kaj sidigxis por pripensi tion kion
4038-estos plej bone nun fari kiam subite mi auxdis ke la knabo krias
4039-sxipon kun velo sxipon kun velo li ne montris multe da gxojo je la
4040-vidajxo opiniante ke la sxipo venis por repreni lin sed mi bone
4041-scias laux la sxajno ke gxi ne estas iu el la sxipoj de la turko
4042-
4043-mi levis kiel eble plej multe da veloj por renkonti la sxipon gxiavoje
4044-kaj ordonis al zuro ke li ekpafu pafilon cxar mi esperis ke se tiuj
4045-kiuj estas sur la ferdeko ne povus auxdi la sonon ili vidus la
4046-fumigadon ili ja gxin vidis kaj tuj demetis siajn velojn por ke ni
4047-povu atingi ilin kaj trihore ni estis cxe la sxipflanko la viroj
4048-parolis kun ni per la franca lingvo sed ni ne povis kompreni tion
4049-kion ili diras fine skoto sursxipe diris per mia lingvo kiu vi
4050-estas de kien vi venas mi diris al li iomvorte kiel mi liberigxis
4051-de la mauxroj
4052-
4053-tiam la sxipestro invitis min veni sxipbordon kaj ensxipis min zuron
4054-kaj cxiujn miajn posedajxojn mi diris al li ke li havu cxion kion mi
4055-havas sed li respondis vi estas rericevonta viajn posedajxojn post
4056-kiam ni atingos teron cxar mi por vi nur faris tion kion por mi vi
4057-farus samstate
4058-
4059-li pagis al mi multan monon por mia boato kaj diris ke mi ricevos
4060-egalan monon por zuro se mi lin fordonus sed mi diris al li ke
4061-liberigxinte kun helpo de la knabo mi lin ne volas vendi li diris ke
4062-estas juste kaj prave por mi tiel senti sed se mi decidus fordoni
4063-zuron li estus liberigota dujare tial cxar la sklavo deziris iri mi
4064-nenial diris ne trisemajne mi alvenis al cxiuj sanktuloj golfeto kaj
4065-nun mi estis liberulo
4066-
4067-mi ricevis multan monon por cxiujn miaj posedajxoj kaj kun gxi mi iris
4068-surteron sed mi tute ne sciis kion nun fari fine mi renkontis
4069-viron kies stato estas laux la mia kaj ni ambaux akiris pecon da tero
4070-por gxin prilabori mia farmilaro laux la lia estis malgranda sed ni
4071-produktigis la farmojn suficxe por subteni nin sed ne plu ni bezonis
4072-helpon kaj nun mi eksentis ke mi eraris ellasante la knabon
4073-
4074-mi tute ne sxatis tiun manieron de vivo kion mi pensis cxu mi venis
4075-tian longan vojon por fari tion kion mi lauxbone povus fari hejme kaj
4076-kun miaj parencoj cxirkaux mi kaj pligrandigxis mia malgxojo cxar la
4077-bonamiko kiu min alsxipis tien-cxi intencas nune lasi tiun-cxi
4078-terbordon
4079-
4080-kiam mi estis knabo kaj ekiris surmaron mi metis en la manojn de mia
4081-onklino iom da mono pri kiu mia bonamiko diris ke mi bone farus se
4082-mi gxin elspezus pro mia bieno tial post kiam li revenis hejmon li
4083-alsendis iom da gxi kontante kaj la restajxon kiel tukoj sxtofoj
4084-lanajxoj kaj similajxoj kiujn li acxetis mia onklino tiam metis en
4085-liajn manojn iom da livroj kiel donaco al li por montri sian
4086-dankecon pro cxio kion li faris por mi kaj per tiu mono li afable
4087-acxetis sklavon por mi intertempe mi jam acxetis sklavon tial mi nun
4088-havas du kaj cxio prosperis dum la sekvanta jaro"""
4089-
4090- i += 1
4091- if q == i:
4092- #This text is under public domain
4093- #The Raven
4094- #Edgar Allan Poe
4095- return u"""once upon a midnight dreary while i pondered weak and weary
4096-over many a quaint and curious volume of forgotten lore
4097-while i nodded nearly napping suddenly there came a tapping
4098-as of some one gently rapping rapping at my chamber door
4099-tis some visiter i muttered tapping at my chamber door
4100-only this and nothing more
4101-
4102-ah distinctly i remember it was in the bleak december
4103-and each separate dying ember wrought its ghost upon the floor
4104-eagerly i wished the morrow vainly i had sought to borrow
4105-from my books surcease of sorrowsorrow for the lost lenore
4106-for the rare and radiant maiden whom the angels name lenore
4107-nameless here for evermore
4108-
4109-and the silken sad uncertain rustling of each purple curtain
4110-thrilled mefilled me with fantastic terrors never felt before
4111-so that now to still the beating of my heart i stood repeating
4112-tis some visiter entreating entrance at my chamber door
4113-some late visiter entreating entrance at my chamber door
4114-this it is and nothing more
4115-
4116-presently my soul grew stronger hesitating then no longer
4117-sir said i or madam truly your forgiveness i implore
4118-but the fact is i was napping and so gently you came rapping
4119-and so faintly you came tapping tapping at my chamber door
4120-that i scarce was sure i heard youhere i opened wide the door
4121-darkness there and nothing more
4122-
4123-deep into that darkness peering long i stood there wondering fearing
4124-doubting dreaming dreams no mortals ever dared to dream before
4125-but the silence was unbroken and the stillness gave no token
4126-and the only word there spoken was the whispered word lenore
4127-this i whispered and an echo murmured back the word lenore
4128-merely this and nothing more
4129-
4130-back into the chamber turning all my soul within me burning
4131-soon again i heard a tapping something louder than before
4132-surely said i surely that is something at my window lattice
4133-let me see then what thereat is and this mystery explore
4134-let my heart be still a moment and this mystery explore
4135-tis the wind and nothing more
4136-
4137-open here i flung the shutter when with many a flirt and flutter
4138-in there stepped a stately raven of the saintly days of yore
4139-not the least obeisance made he not a minute stopped or stayed he
4140-but with mien of lord or lady perched above my chamber door
4141-perched upon a bust of pallas just above my chamber door
4142-perched and sat and nothing more
4143-
4144-then the ebony bird beguiling my sad fancy into smiling
4145-by the grave and stern decorum of the countenance it wore
4146-though thy crest be shorn and shaven thou i said art sure no craven
4147-ghastly grim and ancient raven wandering from the nightly shore
4148-tell me what thy lordly name is on the nights plutonian shore
4149-quoth the raven nevermore
4150-
4151-much i marvelled this ungainly fowl to hear discourse so plainly
4152-though its answer little meaninglittle relevancy bore
4153-for we cannot help agreeing that no living human being
4154-ever yet was blessed with seeing bird above his chamber door
4155-bird or beast upon the sculptured bust above his chamber door
4156-with such name as nevermore
4157-
4158-but the raven sitting lonely on that placid bust spoke only
4159-that one word as if its soul in that one word he did outpour
4160-nothing farther then he uttered not a feather then he fluttered
4161-till i scarcely more than muttered other friends have flown before
4162-on the morrow he will leave me as my hopes have flown before
4163-then the bird said nevermore
4164-
4165-startled at the stillness broken by reply so aptly spoken
4166-doubtless said i what it utters is its only stock and store
4167-caught from some unhappy master whom unmerciful disaster
4168-followed fast and followed faster till his songs one burden bore
4169-till the dirges of his hope that melancholy burden bore
4170-of nevernevermore
4171-
4172-but the raven still beguiling all my sad soul into smiling
4173-straight i wheeled a cushioned seat in front of bird and bust and door
4174-then upon the velvet sinking i betook myself to linking
4175-fancy unto fancy thinking what this ominous bird of yore
4176-what this grim ungainly ghastly gaunt and ominous bird of yore
4177-meant in croaking nevermore
4178-
4179-this i sat engaged in guessing but no syllable expressing
4180-to the fowl whose fiery eyes now burned into my bosoms core
4181-this and more i sat divining with my head at ease reclining
4182-on the cushions velvet lining that the lamplight gloated oer
4183-but whose velvet violet lining with the lamplight gloating oer
4184-she shall press ah nevermore
4185-
4186-then methought the air grew denser perfumed from an unseen censer
4187-swung by seraphim whose footfalls tinkled on the tufted floor
4188-wretch i cried thy god hath lent theeby these angels he hath sent thee
4189-respiterespite and nepenthe from thy memories of lenore
4190-quaff oh quaff this kind nepenthe and forget this lost lenore
4191-quoth the raven nevermore
4192-
4193-prophet said i thing of evilprophet still if bird or devil
4194-whether tempter sent or whether tempest tossed thee here ashore
4195-desolate yet all undaunted on this desert land enchanted
4196-on this home by horror hauntedtell me truly i implore
4197-is thereis there balm in gileadtell metell me i implore
4198-quoth the raven nevermore
4199-
4200-prophet said i thing of evilprophet still if bird or devil
4201-by that heaven that bends above usby that god we both adore
4202-tell this soul with sorrow laden if within the distant aidenn
4203-it shall clasp a sainted maiden whom the angels name lenore
4204-clasp a rare and radiant maiden whom the angels name lenore
4205-quoth the raven nevermore
4206-
4207-be that our sign of parting bird or fiend i shrieked upstarting
4208-get thee back into the tempest and the nights plutonian shore
4209-leave no black plume as a token of that lie thy soul has spoken
4210-leave my loneliness unbrokenquit the bust above my door
4211-take thy beak from out my heart and take thy form from off my door
4212-quoth the raven nevermore
4213-
4214-and the raven never flitting still is sitting still is sitting
4215-on the pallid bust of pallas just above my chamber door
4216-and his eyes have all the seeming of a demons that is dreaming
4217-and the lamplight oer him streaming throws his shadows on the floor
4218-and my soul from out that shadow that lies floating on the floor
4219-shall be lifted nevermore"""
4220-
4221- i += 1
4222- if q == i:
4223- #This text is under public domain
4224- #Tierra y Luna
4225- #Federico García Lorca
4226- return u"""me quedo con el transparente hombrecillo
4227-que come los huevos de la golondrina
4228-me quedo con el nino desnudo
4229-que pisotean los borrachos de brooklyn
4230-con las criaturas mudas que pasan bajo los arcos
4231-con el arroyo de venas ansioso de abrir sus manecitas
4232-
4233-tierra tan sólo tierra
4234-tierra para los manteles estremecidos
4235-para la pupila viciosa de nube
4236-para las heridas recientes y el húmedo pensamiento
4237-tierra para todo lo que huye de la tierra
4238-
4239-no es la ceniza en vilo de las cosas quemadas
4240-ni los muertos que mueven sus lenguas bajo los árboles
4241-es la tierra desnuda que bala por el cielo
4242-y deja atrás los grupos ligeros de ballenas
4243-
4244-es la tierra alegrísima imperturbable nadadora
4245-la que yo encuentro en el nino y en las criaturas que pasan los arcos
4246-viva la tierra de mi pulso y del baile de los helechos
4247-que deja a veces por el aire un duro perfil de faraón
4248-
4249-me quedo con la mujer fría
4250-donde se queman los musgos inocentes
4251-me quedo con los borrachos de brooklyn
4252-que pisan al nino desnudo
4253-me quedo con los signos desgarrados
4254-de la lenta comida de los osos
4255-
4256-pero entonces baja la luna despenada por las escaleras
4257-poniendo las ciudades de hule celeste y talco sensitivo
4258-llenando los pies de mármol la llanura sin recodos
4259-y olvidando bajo las sillas diminutas carcajadas de algodón
4260-
4261-oh diana diana diana vacía
4262-convexa resonancia donde la abeja se vuelve loca
4263-mi amor de paso tránsito larga muerte gustada
4264-nunca la piel ilesa de tu desnudo huido
4265-
4266-es tierra dios mío tierra lo que vengo buscando
4267-embozo de horizonte latido y sepultura
4268-es dolor que se acaba y amor que se consume
4269-torre de sangre abierta con las manos quemadas
4270-
4271-pero la luna subía y bajaba las escaleras
4272-repartiendo lentejas desangradas en los ojos
4273-dando escobazos de plata a los ninos de los muelles
4274-y borrando mi apariencia por el término del aire"""
4275-
4276- i += 1
4277- if q == i:
4278- #This text is under public domain
4279- #Hemsöborna
4280- #August Strindberg (1912-1921)
4281- return u"""han kom som ett yrväder en aprilafton och hade
4282-ett höganäskrus i en svångrem om halsen clara
4283-och lotten voro inne med skötekan att hämta
4284-honom på dalarö brygga men det dröjde evigheter
4285-innan de kommo i båt de skulle till handelsman
4286-och ha en tunna tjära och på abeteket och hämta
4287-gråsalva åt grisen och så skulle de på posten och
4288-få ett frimärke och så skulle de ner till fia lövström
4289-i kroken och låna tuppen mot ett halvpund
4290-småtärna till notbygget och sist hade de hamnat på
4291-gästgivaregården där carlsson bjudit på kaffe med
4292-dopp och så kommo de äntligen i båt men carlsson
4293-ville styra och det kunde han inte för han hade
4294-aldrig sett en råseglare förr och därför skrek han
4295-att de skulle hissa focken som inte fanns
4296-
4297-och på tullbryggan stodo lotsar och vaktmästare
4298-och grinade åt manövern när ekan gick över stag
4299-och länsade ner åt saltsäcken
4300-
4301-hörru du har hål i båten skrek en lotslärling
4302-genom vinden stopp till stopp till och medan
4303-carlsson tittade efter hålen hade clara knuffat
4304-undan honom och tagit roret och med årorna lyckades
4305-lotten få ekan opp i vinden igen så att nu strök
4306-det ner åt aspösund med god gång
4307-
4308-carlsson var en liten fyrkantig värmländing med
4309-blå ögon och näsa krokig som en syskonhake livlig
4310-lekfull och nyfiken var han men sjöaffärerna förstod
4311-han inte alls och han var också kallad ut till
4312-hemsö för att ta hand om åker och kreatur som
4313-ingen annan ville ta befattning med sedan gubben
4314-flod gått ur livet och änkan satt ensam vid gården"""
4315-
4316- # if we got this far - let's return this crap (instead of throwing)
4317- return u"""fubar1 fubar2 fubar3
4318-foobar1 foobar2 foobar3 foobar4 foobar5
4319-baroba1
4320-
4321-raboof1"""
4322-
4323-
4324-from optparse import OptionParser
4325-
4326-def do_parse():
4327-
4328- usage = """Usage: lorem [-n|-l|-c] N [-q M]?
4329- where
4330- N and M are integers
4331-
4332-Note: If -n -l and/or -c are combined -l has priority over -c that has
4333- priority over -n.
4334-
4335-Examples: lorem -n 10
4336- Get 10 words of lorem.
4337-
4338- lorem -l 5
4339- Get 5 lines of lorem
4340-
4341- lorem -c 79
4342- Get 79 characters of lorem
4343-
4344- lorem -l 5 -q 11
4345- Get 5 lines of lorem from quote 11
4346-
4347-License: Copyright (C) 2007 Per Erik Strandberg
4348- This program comes with ABSOLUTELY NO WARRANTY.
4349-
4350- This is free software, and you are welcome to redistribute it
4351- under the GNU GENERAL PUBLIC LICENSE Version 3.
4352-"""
4353-
4354- versioninfo = "%s version %s\n%s\n\n%s" % (program, version, #
4355- copyright, license)
4356-
4357- parser = OptionParser(usage=usage, version = versioninfo)
4358-
4359- parser.add_option('-n', dest='n', help="Number of Words", default=0)
4360- parser.add_option('-l', dest='l', help="Number of Lines", default=0)
4361- parser.add_option('-c', dest='c', help="Number of Chars", default=0)
4362- parser.add_option('-q', dest='q', help="Quote index (0+)", default=0)
4363- (options, args) = parser.parse_args()
4364-
4365- try:
4366- options.n = int(options.n)
4367- options.l = int(options.l)
4368- options.c = int(options.c)
4369- options.q = int(options.q)
4370- except:
4371- parser.error("At least one of the arguments is not an integer.")
4372-
4373- for m in [options.n, options.l, options.c, options.q]:
4374- if m < 0:
4375- parser.error("Negative argument.")
4376-
4377- if options.n == 0 and options.l == 0 and options.c == 0:
4378- parser.error("No arguments, try 'lorem -n 25'.")
4379-
4380- return (options, args)
4381-
4382-
4383-def do_lorem(n=0, l=0, c=0, q=0):
4384-
4385- lorem = get_lorem(q)
4386-
4387- res = ''
4388- if l!=0:
4389- #do lines
4390- lorem = lorem.replace('\n\n','\n')
4391- lines = lorem.split('\n')
4392-
4393- while l:
4394- if l > len(lines):
4395- l1 = len(lines)
4396- l -= l1
4397- else:
4398- l1 = l
4399- l = 0
4400-
4401- for i in xrange(l1):
4402- res += lines[i].strip()+'\n'
4403-
4404- elif c!=0:
4405- # do chars
4406- chars = lorem
4407- chars = chars.replace('\n', ' ')
4408- chars = chars.replace(' ', ' ')
4409-
4410- outchars = []
4411-
4412- while c:
4413- if c > len(chars):
4414- c1 = len(chars)
4415- c -= c1
4416- outchars.append(chars)
4417- else:
4418- c1 = c
4419- c = 0
4420- outchars.append(chars[0:c1])
4421-
4422- res += join(outchars,'')+'\n'
4423-
4424- else:
4425- # do words
4426- words = lorem.replace('\n\n','\n')
4427- words = words.replace('\n', ' ')
4428- words = words.replace(' ', ' ')
4429- words = words.split(' ')
4430-
4431- while n:
4432- if n > len(words):
4433- n1 = len(words)
4434- n -= n1
4435- else:
4436- n1 = n
4437- n = 0
4438-
4439- for i in xrange(n1):
4440- res += words[i]+' '
4441-
4442- return res
4443-
4444
4445=== removed file 'l10n_es_aeat_mod340/report/mod340_report_aeroo.odt'
4446Binary 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
4447=== removed file 'l10n_es_aeat_mod340/report/report_view_aeroo.xml'
4448--- l10n_es_aeat_mod340/report/report_view_aeroo.xml 2011-05-07 11:33:47 +0000
4449+++ l10n_es_aeat_mod340/report/report_view_aeroo.xml 1970-01-01 00:00:00 +0000
4450@@ -1,39 +0,0 @@
4451-<?xml version="1.0"?>
4452-<openerp>
4453-<data >
4454-
4455-<record id="aeroo_mod340" model="ir.actions.report.xml">
4456-<field name="name">mod340 report</field>
4457-<field name="type">ir.actions.report.xml</field>
4458-<field name="model">l10n.es.aeat.mod340</field>
4459-<field name="report_name">aeroo_340</field>
4460-<field name="report_type">aeroo</field>
4461-<field name="in_format">oo-odt</field>
4462-<field name="parser_loc"></field>
4463-<field name="report_rml">l10n_es_aeat_mod340/report/mod340_report.odt</field>
4464-<field name="parser_state">default</field>
4465-<field name="tml_source">file</field>
4466-</record>
4467-
4468-
4469-<ir_set>
4470- <field eval="'action'" name="key"/>
4471- <field eval="'client_print_multi'" name="key2"/>
4472- <field eval="['res.partner']" name="models"/>
4473- <field name="name">sample_report</field>
4474- <field eval="'ir.actions.report.xml,'+str(aeroo_sample_report_id)" name="value"/>
4475- <field eval="True" name="isobject"/>
4476- <field eval="True" name="replace"/>
4477- </ir_set>
4478-
4479-
4480- <report id="aeroo_mod340_action" string="Modelo 340" model="l10n.es.aeat.mod340"
4481- name="aeroo_340" rml="l10n_es_aeat_mod340/report/mod340_report.odt" auto="False"
4482- header="False" />
4483-
4484-
4485-
4486-
4487-
4488-</data>
4489-</openerp>
4490\ No newline at end of file
4491
4492=== added file 'l10n_es_aeat_mod340/taxes_data.xml'
4493--- l10n_es_aeat_mod340/taxes_data.xml 1970-01-01 00:00:00 +0000
4494+++ l10n_es_aeat_mod340/taxes_data.xml 2013-05-17 16:51:41 +0000
4495@@ -0,0 +1,192 @@
4496+<?xml version="1.0" encoding="utf-8"?>
4497+<openerp>
4498+ <data noupdate="0">
4499+ <!-- Bases incluidas en el Modelo 340
4500+ Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
4501+ -->
4502+ <!--IVA Devengado Base imponible-->
4503+ <record id="l10n_es.iva_dev_base" model="account.tax.code.template">
4504+ <field name="mod340" eval="True"/>
4505+ </record>
4506+ <!-- Exentas IVA -->
4507+ <record id="l10n_es.base_sop_ex" model="account.tax.code.template">
4508+ <field name="mod340" eval="True"/>
4509+ </record>
4510+
4511+ <record id="l10n_es.base_rep_ex" model="account.tax.code.template">
4512+ <field name="mod340" eval="True"/>
4513+ </record>
4514+ <!--Regimen general-->
4515+ <record id="l10n_es.iva_dev_01" model="account.tax.code.template">
4516+ <field name="mod340" eval="True"/>
4517+ </record>
4518+
4519+ <record id="l10n_es.iva_dev_04" model="account.tax.code.template">
4520+ <field name="mod340" eval="True"/>
4521+ </record>
4522+
4523+ <record id="l10n_es.iva_dev_04_8" model="account.tax.code.template">
4524+ <field name="mod340" eval="True"/>
4525+ </record>
4526+
4527+ <record id="l10n_es.iva_dev_04_10" model="account.tax.code.template">
4528+ <field name="mod340" eval="True"/>
4529+ </record>
4530+
4531+ <record id="l10n_es.iva_dev_07" model="account.tax.code.template">
4532+ <field name="mod340" eval="True"/>
4533+ </record>
4534+
4535+ <record id="l10n_es.iva_dev_07_18" model="account.tax.code.template">
4536+ <field name="mod340" eval="True"/>
4537+ </record>
4538+
4539+ <record id="l10n_es.iva_dev_07_21" model="account.tax.code.template">
4540+ <field name="mod340" eval="True"/>
4541+ </record>
4542+ <!-- ADQUISICIONES INTRACOMUNITARIAS -->
4543+ <record id="l10n_es.iva_dev_19" model="account.tax.code.template">
4544+ <field name="mod340" eval="True"/>
4545+ </record>
4546+ <!--IVA DEDUCIBLE -->
4547+ <record id="l10n_es.iva_ded_base_total" model="account.tax.code.template">
4548+ <field name="mod340" eval="True"/>
4549+ </record>
4550+ <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
4551+ <record id="l10n_es.iva_ded_22" model="account.tax.code.template">
4552+ <field name="mod340" eval="True"/>
4553+ </record>
4554+
4555+ <record id="l10n_es.iva_ded_22_4" model="account.tax.code.template">
4556+ <field name="mod340" eval="True"/>
4557+ </record>
4558+
4559+ <record id="l10n_es.iva_ded_22_7" model="account.tax.code.template">
4560+ <field name="mod340" eval="True"/>
4561+ </record>
4562+
4563+ <record id="l10n_es.iva_ded_22_8" model="account.tax.code.template">
4564+ <field name="mod340" eval="True"/>
4565+ </record>
4566+
4567+ <record id="l10n_es.iva_ded_22_10" model="account.tax.code.template">
4568+ <field name="mod340" eval="True"/>
4569+ </record>
4570+
4571+ <record id="l10n_es.iva_ded_22_16" model="account.tax.code.template">
4572+ <field name="mod340" eval="True"/>
4573+ </record>
4574+
4575+ <record id="l10n_es.iva_ded_22_18" model="account.tax.code.template">
4576+ <field name="mod340" eval="True"/>
4577+ </record>
4578+
4579+ <record id="l10n_es.iva_ded_22_21" model="account.tax.code.template">
4580+ <field name="mod340" eval="True"/>
4581+ </record>
4582+ <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
4583+ <record id="l10n_es.iva_ded_24" model="account.tax.code.template">
4584+ <field name="mod340" eval="True"/>
4585+ </record>
4586+
4587+ <record id="l10n_es.iva_ded_24_4" model="account.tax.code.template">
4588+ <field name="mod340" eval="True"/>
4589+ </record>
4590+
4591+ <record id="l10n_es.iva_ded_24_7" model="account.tax.code.template">
4592+ <field name="mod340" eval="True"/>
4593+ </record>
4594+
4595+ <record id="l10n_es.iva_ded_24_8" model="account.tax.code.template">
4596+ <field name="mod340" eval="True"/>
4597+ </record>
4598+
4599+ <record id="l10n_es.iva_ded_24_10" model="account.tax.code.template">
4600+ <field name="mod340" eval="True"/>
4601+ </record>
4602+
4603+ <record id="l10n_es.iva_ded_24_16" model="account.tax.code.template">
4604+ <field name="mod340" eval="True"/>
4605+ </record>
4606+
4607+ <record id="l10n_es.iva_ded_24_18" model="account.tax.code.template">
4608+ <field name="mod340" eval="True"/>
4609+ </record>
4610+
4611+ <record id="l10n_es.iva_ded_24_21" model="account.tax.code.template">
4612+ <field name="mod340" eval="True"/>
4613+ </record>
4614+ <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
4615+ <record id="l10n_es.iva_ded_30" model="account.tax.code.template">
4616+ <field name="mod340" eval="True"/>
4617+ </record>
4618+
4619+ <record id="l10n_es.iva_ded_30_4" model="account.tax.code.template">
4620+ <field name="mod340" eval="True"/>
4621+ </record>
4622+
4623+ <record id="l10n_es.iva_ded_30_7" model="account.tax.code.template">
4624+ <field name="mod340" eval="True"/>
4625+ </record>
4626+
4627+ <record id="l10n_es.iva_ded_30_8" model="account.tax.code.template">
4628+ <field name="mod340" eval="True"/>
4629+ </record>
4630+
4631+ <record id="l10n_es.iva_ded_30_10" model="account.tax.code.template">
4632+ <field name="mod340" eval="True"/>
4633+ </record>
4634+
4635+ <record id="l10n_es.iva_ded_30_16" model="account.tax.code.template">
4636+ <field name="mod340" eval="True"/>
4637+ </record>
4638+
4639+ <record id="l10n_es.iva_ded_30_18" model="account.tax.code.template">
4640+ <field name="mod340" eval="True"/>
4641+ </record>
4642+
4643+ <record id="l10n_es.iva_ded_30_21" model="account.tax.code.template">
4644+ <field name="mod340" eval="True"/>
4645+ </record>
4646+ <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
4647+ <record id="l10n_es.iva_ded_32" model="account.tax.code.template">
4648+ <field name="mod340" eval="True"/>
4649+ </record>
4650+
4651+ <record id="l10n_es.iva_ded_32_4" model="account.tax.code.template">
4652+ <field name="mod340" eval="True"/>
4653+ </record>
4654+
4655+ <record id="l10n_es.iva_ded_32_7" model="account.tax.code.template">
4656+ <field name="mod340" eval="True"/>
4657+ </record>
4658+
4659+ <record id="l10n_es.iva_ded_32_8" model="account.tax.code.template">
4660+ <field name="mod340" eval="True"/>
4661+ </record>
4662+
4663+ <record id="l10n_es.iva_ded_32_10" model="account.tax.code.template">
4664+ <field name="mod340" eval="True"/>
4665+ </record>
4666+
4667+ <record id="l10n_es.iva_ded_32_16" model="account.tax.code.template">
4668+ <field name="mod340" eval="True"/>
4669+ </record>
4670+
4671+ <record id="l10n_es.iva_ded_32_18" model="account.tax.code.template">
4672+ <field name="mod340" eval="True"/>
4673+ </record>
4674+
4675+ <record id="l10n_es.iva_ded_32_21" model="account.tax.code.template">
4676+ <field name="mod340" eval="True"/>
4677+ </record>
4678+ <!--Otros Códigos de Impuestos-->
4679+ <record id="l10n_es.base_intra_42" model="account.tax.code.template">
4680+ <field name="mod340" eval="True"/>
4681+ </record>
4682+
4683+ <record id="l10n_es.base_extra_44" model="account.tax.code.template">
4684+ <field name="mod340" eval="True"/>
4685+ </record>
4686+ </data>
4687+</openerp>
4688\ No newline at end of file
4689
4690=== added file 'l10n_es_aeat_mod340/taxes_data_pymes.xml'
4691--- l10n_es_aeat_mod340/taxes_data_pymes.xml 1970-01-01 00:00:00 +0000
4692+++ l10n_es_aeat_mod340/taxes_data_pymes.xml 2013-05-17 16:51:41 +0000
4693@@ -0,0 +1,192 @@
4694+<?xml version="1.0" encoding="utf-8"?>
4695+<openerp>
4696+ <data noupdate="0">
4697+ <!-- Bases incluidas en el Modelo 340
4698+ Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
4699+ -->
4700+ <!--IVA Devengado Base imponible-->
4701+ <record id="l10n_es.iva_pymes_dev_base" model="account.tax.code.template">
4702+ <field name="mod340" eval="True"/>
4703+ </record>
4704+ <!-- Exentas IVA -->
4705+ <record id="l10n_es.base_pymes_sop_ex" model="account.tax.code.template">
4706+ <field name="mod340" eval="True"/>
4707+ </record>
4708+
4709+ <record id="l10n_es.base_pymes_rep_ex" model="account.tax.code.template">
4710+ <field name="mod340" eval="True"/>
4711+ </record>
4712+ <!--Regimen general-->
4713+ <record id="l10n_es.iva_pymes_dev_01" model="account.tax.code.template">
4714+ <field name="mod340" eval="True"/>
4715+ </record>
4716+
4717+ <record id="l10n_es.iva_pymes_dev_04" model="account.tax.code.template">
4718+ <field name="mod340" eval="True"/>
4719+ </record>
4720+
4721+ <record id="l10n_es.iva_pymes_dev_04_8" model="account.tax.code.template">
4722+ <field name="mod340" eval="True"/>
4723+ </record>
4724+
4725+ <record id="l10n_es.iva_pymes_dev_04_10" model="account.tax.code.template">
4726+ <field name="mod340" eval="True"/>
4727+ </record>
4728+
4729+ <record id="l10n_es.iva_pymes_dev_07" model="account.tax.code.template">
4730+ <field name="mod340" eval="True"/>
4731+ </record>
4732+
4733+ <record id="l10n_es.iva_pymes_dev_07_18" model="account.tax.code.template">
4734+ <field name="mod340" eval="True"/>
4735+ </record>
4736+
4737+ <record id="l10n_es.iva_pymes_dev_07_21" model="account.tax.code.template">
4738+ <field name="mod340" eval="True"/>
4739+ </record>
4740+ <!-- ADQUISICIONES INTRACOMUNITARIAS -->
4741+ <record id="l10n_es.iva_pymes_dev_19" model="account.tax.code.template">
4742+ <field name="mod340" eval="True"/>
4743+ </record>
4744+ <!--IVA DEDUCIBLE -->
4745+ <record id="l10n_es.iva_pymes_ded_base_total" model="account.tax.code.template">
4746+ <field name="mod340" eval="True"/>
4747+ </record>
4748+ <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
4749+ <record id="l10n_es.iva_pymes_ded_22" model="account.tax.code.template">
4750+ <field name="mod340" eval="True"/>
4751+ </record>
4752+
4753+ <record id="l10n_es.iva_pymes_ded_22_4" model="account.tax.code.template">
4754+ <field name="mod340" eval="True"/>
4755+ </record>
4756+
4757+ <record id="l10n_es.iva_pymes_ded_22_7" model="account.tax.code.template">
4758+ <field name="mod340" eval="True"/>
4759+ </record>
4760+
4761+ <record id="l10n_es.iva_pymes_ded_22_8" model="account.tax.code.template">
4762+ <field name="mod340" eval="True"/>
4763+ </record>
4764+
4765+ <record id="l10n_es.iva_pymes_ded_22_10" model="account.tax.code.template">
4766+ <field name="mod340" eval="True"/>
4767+ </record>
4768+
4769+ <record id="l10n_es.iva_pymes_ded_22_16" model="account.tax.code.template">
4770+ <field name="mod340" eval="True"/>
4771+ </record>
4772+
4773+ <record id="l10n_es.iva_pymes_ded_22_18" model="account.tax.code.template">
4774+ <field name="mod340" eval="True"/>
4775+ </record>
4776+
4777+ <record id="l10n_es.iva_pymes_ded_22_21" model="account.tax.code.template">
4778+ <field name="mod340" eval="True"/>
4779+ </record>
4780+ <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
4781+ <record id="l10n_es.iva_pymes_ded_24" model="account.tax.code.template">
4782+ <field name="mod340" eval="True"/>
4783+ </record>
4784+
4785+ <record id="l10n_es.iva_pymes_ded_24_4" model="account.tax.code.template">
4786+ <field name="mod340" eval="True"/>
4787+ </record>
4788+
4789+ <record id="l10n_es.iva_pymes_ded_24_7" model="account.tax.code.template">
4790+ <field name="mod340" eval="True"/>
4791+ </record>
4792+
4793+ <record id="l10n_es.iva_pymes_ded_24_8" model="account.tax.code.template">
4794+ <field name="mod340" eval="True"/>
4795+ </record>
4796+
4797+ <record id="l10n_es.iva_pymes_ded_24_10" model="account.tax.code.template">
4798+ <field name="mod340" eval="True"/>
4799+ </record>
4800+
4801+ <record id="l10n_es.iva_pymes_ded_24_16" model="account.tax.code.template">
4802+ <field name="mod340" eval="True"/>
4803+ </record>
4804+
4805+ <record id="l10n_es.iva_pymes_ded_24_18" model="account.tax.code.template">
4806+ <field name="mod340" eval="True"/>
4807+ </record>
4808+
4809+ <record id="l10n_es.iva_pymes_ded_24_21" model="account.tax.code.template">
4810+ <field name="mod340" eval="True"/>
4811+ </record>
4812+ <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
4813+ <record id="l10n_es.iva_pymes_ded_30" model="account.tax.code.template">
4814+ <field name="mod340" eval="True"/>
4815+ </record>
4816+
4817+ <record id="l10n_es.iva_pymes_ded_30_4" model="account.tax.code.template">
4818+ <field name="mod340" eval="True"/>
4819+ </record>
4820+
4821+ <record id="l10n_es.iva_pymes_ded_30_7" model="account.tax.code.template">
4822+ <field name="mod340" eval="True"/>
4823+ </record>
4824+
4825+ <record id="l10n_es.iva_pymes_ded_30_8" model="account.tax.code.template">
4826+ <field name="mod340" eval="True"/>
4827+ </record>
4828+
4829+ <record id="l10n_es.iva_pymes_ded_30_10" model="account.tax.code.template">
4830+ <field name="mod340" eval="True"/>
4831+ </record>
4832+
4833+ <record id="l10n_es.iva_pymes_ded_30_16" model="account.tax.code.template">
4834+ <field name="mod340" eval="True"/>
4835+ </record>
4836+
4837+ <record id="l10n_es.iva_pymes_ded_30_18" model="account.tax.code.template">
4838+ <field name="mod340" eval="True"/>
4839+ </record>
4840+
4841+ <record id="l10n_es.iva_pymes_ded_30_21" model="account.tax.code.template">
4842+ <field name="mod340" eval="True"/>
4843+ </record>
4844+ <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
4845+ <record id="l10n_es.iva_pymes_ded_32" model="account.tax.code.template">
4846+ <field name="mod340" eval="True"/>
4847+ </record>
4848+
4849+ <record id="l10n_es.iva_pymes_ded_32_4" model="account.tax.code.template">
4850+ <field name="mod340" eval="True"/>
4851+ </record>
4852+
4853+ <record id="l10n_es.iva_pymes_ded_32_7" model="account.tax.code.template">
4854+ <field name="mod340" eval="True"/>
4855+ </record>
4856+
4857+ <record id="l10n_es.iva_pymes_ded_32_8" model="account.tax.code.template">
4858+ <field name="mod340" eval="True"/>
4859+ </record>
4860+
4861+ <record id="l10n_es.iva_pymes_ded_32_10" model="account.tax.code.template">
4862+ <field name="mod340" eval="True"/>
4863+ </record>
4864+
4865+ <record id="l10n_es.iva_pymes_ded_32_16" model="account.tax.code.template">
4866+ <field name="mod340" eval="True"/>
4867+ </record>
4868+
4869+ <record id="l10n_es.iva_pymes_ded_32_18" model="account.tax.code.template">
4870+ <field name="mod340" eval="True"/>
4871+ </record>
4872+
4873+ <record id="l10n_es.iva_pymes_ded_32_21" model="account.tax.code.template">
4874+ <field name="mod340" eval="True"/>
4875+ </record>
4876+ <!--Otros Códigos de Impuestos-->
4877+ <record id="l10n_es.base_intra_42" model="account.tax.code.template">
4878+ <field name="mod340" eval="True"/>
4879+ </record>
4880+
4881+ <record id="l10n_es.base_extra_44" model="account.tax.code.template">
4882+ <field name="mod340" eval="True"/>
4883+ </record>
4884+ </data>
4885+</openerp>
4886\ No newline at end of file
4887
4888=== modified file 'l10n_es_aeat_mod340/wizard/calculate_mod340_records.py'
4889--- l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2012-08-06 16:25:56 +0000
4890+++ l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2013-05-17 16:51:41 +0000
4891@@ -2,7 +2,7 @@
4892 ##############################################################################
4893 #
4894 # Copyright (C) 2011 Ting. All Rights Reserved
4895-# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved
4896+# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
4897 # Ignacio Ibeas Izquierdo <ignacio@acysos.com>
4898 #
4899 # This program is free software: you can redistribute it and/or modify
4900@@ -53,6 +53,7 @@
4901
4902 invoices340 = self.pool.get('l10n.es.aeat.mod340.issued')
4903 invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received')
4904+ period_obj = self.pool.get('account.period')
4905
4906 mod340.write({
4907 'state' : 'calculated',
4908@@ -64,31 +65,13 @@
4909
4910 wf_service = netsvc.LocalService("workflow")
4911 wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report', ids and ids[0], 'calculate', cr)
4912-
4913- fecha_ini = False
4914- fecha_fin = False
4915-
4916- dec_year =mod340.fiscalyear_id.date_start.split('-')[0]
4917-
4918- mod = mod340.period
4919-
4920- if mod >= '01' and mod <= '12':
4921- fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, mod), '%Y-%m-%d')
4922- fecha_fin = fecha_ini + relativedelta(months=+1, days=-1)
4923-
4924- if mod in ('1T', '2T', '3T', '4T'):
4925- month = ( ( int(mod[0])-1 ) * 3 ) + 1
4926- fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, month), '%Y-%m-%d')
4927- fecha_fin = fecha_ini + relativedelta(months=+3, days=-1)
4928- mod = '%02d' % month
4929-
4930- code = '340'+dec_year+''+mod+'0001'
4931-
4932- account_period_id = self.pool.get('account.period').search(cr,uid,[('date_start','=',fecha_ini),('date_stop','=',fecha_fin)])
4933-
4934- if not account_period_id:
4935- raise osv.except_osv(_('El periodo seleccionado no coincide con los periodos del año fiscal:'), dec_year)
4936-
4937+
4938+ code = '340'+mod340.fiscalyear_id.code+''+mod340.period_to.date_stop[5:7]+'0001'
4939+
4940+ account_period_ids = period_obj.build_ctx_periods(cr, uid, mod340.period_from.id, mod340.period_to.id)
4941+
4942+ if len(account_period_ids) == 0:
4943+ raise osv.except_osv(_('Error'), _("The periods selected don't belong to the fiscal year %s") % (mod340.fiscalyear_id.name))
4944
4945 tot_base = 0
4946 tot_amount = 0
4947@@ -110,87 +93,89 @@
4948 if del_ids:
4949 invoices340_rec.unlink(cr, uid, del_ids, context=context)
4950
4951- domain = [('period_id', '=',account_period_id[0]),
4952+ domain = [('period_id', 'in',account_period_ids),
4953 ('state', 'in', ('open', 'paid'))]
4954
4955 invoice_ids = self.pool.get('account.invoice').search(cr, uid, domain, context=context)
4956 for invoice in self.pool.get('account.invoice').browse(cr, uid, invoice_ids, context):
4957- if invoice.partner_id.vat_type == 1:
4958- if not invoice.partner_id.vat:
4959- raise osv.except_osv(_('La siguiente empresa no tiene asignado nif:'), invoice.partner_id.name)
4960-
4961- nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)", invoice.partner_id.vat).groups()[1]
4962- country_code = invoice.address_invoice_id.country_id.code
4963-
4964- values = {
4965- 'mod340_id': mod340.id,
4966- 'partner_id':invoice.partner_id.id,
4967- 'partner_vat':nif,
4968- 'representative_vat': '',
4969- 'partner_country_code' : country_code,
4970- 'invoice_id':invoice.id,
4971- 'base_tax':invoice.amount_untaxed,
4972- 'amount_tax':invoice.amount_tax,
4973- 'total':invoice.amount_total
4974- }
4975- if invoice.type in ( 'out_refund','in_refund'):
4976- values['base_tax'] *=-1
4977- values['amount_tax'] *=-1
4978- values['total'] *=-1
4979-
4980-
4981- if invoice.type=="out_invoice" or invoice.type=="out_refund":
4982- invoice_created = invoices340.create(cr,uid,values)
4983-
4984- if invoice.type=="in_invoice" or invoice.type=="in_refund":
4985- invoice_created = invoices340_rec.create(cr,uid,values)
4986-
4987- tot_tax_invoice = 0
4988- check_tax=0
4989- check_base=0
4990-
4991- # Add the invoices detail to the partner record
4992+ include = False
4993 for tax_line in invoice.tax_line:
4994- if tax_line.name.find('IRPF') == -1: # Remove IRPF from Mod340
4995- tax_description = tax_line.name.split(' - ')
4996- if len(tax_description) == 2: name = tax_description[1]
4997- if len(tax_description) == 1: name = tax_description[0]
4998- account_tax = self.pool.get('account.tax').browse(cr, uid, self.pool.get('account.tax').search(cr, uid, [('name','=',name)], context=context))
4999- if account_tax[0].amount < 0:
5000- continue
The diff has been truncated for viewing.