Merge lp:~acysos-team/openerp-spain/openerp-spain-7.0-mod340 into lp:~openerp-spain-team/openerp-spain/7.0

Proposed by Ignacio Ibeas (www.acysos.com)
Status: Merged
Merged at revision: 422
Proposed branch: lp:~acysos-team/openerp-spain/openerp-spain-7.0-mod340
Merge into: lp:~openerp-spain-team/openerp-spain/7.0
Diff against target: 5492 lines (+3306/-998)
29 files modified
l10n_es_aeat_mod340/__init__.py (+2/-1)
l10n_es_aeat_mod340/__openerp__.py (+42/-31)
l10n_es_aeat_mod340/account.py (+190/-0)
l10n_es_aeat_mod340/account_invoice_view.xml (+18/-20)
l10n_es_aeat_mod340/account_view.xml (+28/-0)
l10n_es_aeat_mod340/i18n/es.po (+389/-217)
l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot (+351/-183)
l10n_es_aeat_mod340/mod340.py (+75/-78)
l10n_es_aeat_mod340/mod340_view.xml (+206/-217)
l10n_es_aeat_mod340/report/mod340_report.rml (+32/-9)
l10n_es_aeat_mod340/report/report_view.xml (+20/-0)
l10n_es_aeat_mod340/report/vat_book.rml (+310/-0)
l10n_es_aeat_mod340/security/ir.model.access.csv (+13/-15)
l10n_es_aeat_mod340/static/src/img/icon_source.svg (+99/-0)
l10n_es_aeat_mod340/taxes_data.xml (+192/-0)
l10n_es_aeat_mod340/taxes_data_assoc.xml (+192/-0)
l10n_es_aeat_mod340/taxes_data_pymes.xml (+192/-0)
l10n_es_aeat_mod340/wizard/calculate_mod340_records.py (+118/-114)
l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py (+151/-113)
l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml (+18/-0)
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/static/src/img/icon_source.svg (+99/-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-7.0-mod340
Reviewer Review Type Date Requested Status
Pedro Manuel Baeza Approve
Review via email: mp+204456@code.launchpad.net

Description of the change

Hola,

Migración del Modelo 340 a OpenERP 7.0 incluida refactorización y mejoras como la impresión del Libro de IVA.

Saludos

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

Procedo a la inclusión, puesto que es la primera revisión del módulo para v7. Cualquier cuestión, se realiza vía revisión.

Un saludo.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'l10n_es_aeat_mod340/__init__.py'
--- l10n_es_aeat_mod340/__init__.py 2012-09-08 15:32:47 +0000
+++ l10n_es_aeat_mod340/__init__.py 2014-02-03 11:19:23 +0000
@@ -3,7 +3,7 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8# 8#
9# $Id$9# $Id$
@@ -27,4 +27,5 @@
27import mod34027import mod340
28import res_partner28import res_partner
29import account_invoice29import account_invoice
30import account
3031
3132
=== modified file 'l10n_es_aeat_mod340/__openerp__.py'
--- l10n_es_aeat_mod340/__openerp__.py 2013-01-28 10:29:06 +0000
+++ l10n_es_aeat_mod340/__openerp__.py 2014-02-03 11:19:23 +0000
@@ -3,9 +3,8 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8#
9# $Id$8# $Id$
10#9#
11# This program is free software: you can redistribute it and/or modify10# This program is free software: you can redistribute it and/or modify
@@ -24,22 +23,24 @@
24##############################################################################23##############################################################################
2524
26{25{
27 "name" : "Generación de fichero modelo 340",26 'name' : 'Generación de fichero modelo 340 y libro de IVA',
28 "version" : "1.0",27 'version' : '2.0',
29 "author" : "Acysos S.L., Francisco Pascual (Ting), Nan-tic",28 'author' : 'Acysos S.L., Francisco Pascual (Ting), Nan-tic',
30 "website" : "http://www.acysos.com, www.ting.es, www.nan-tic.com",29 'website' : 'www.acysos.com, www.ting.es, www.nan-tic.com',
31 "category" : "Localisation/Accounting",30 'category' : 'Localisation/Accounting',
32 "description" : """31 'description' : '''
33Módulo para la presentación del modelo 340. Exportación a formato AEAT.32Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA
3433
35--- ESTADO ACTUAL -------------------------------------------------------------34Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse.
3635Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable
37Búsqueda de facturas emitidas y recibidas. Excluidas lineas de impuestos con IRPF.36
37Búsqueda de facturas emitidas y recibidas.
38Exportación a formato de AEAT de facturas emitidas y recibidas.38Exportación a formato de AEAT de facturas emitidas y recibidas.
39Exportación de facturas con varios tipos impositivos. Clave de operación C39Exportación de facturas con varios tipos impositivos. Clave de operación C.
40Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial40Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial.
41Facturas rectificativas41Facturas rectificativas.
42Facturas resumen de tiques42Facturas resumen de tiques.
43Permite imprimir el libro de IVA, basado en la misma legislación.
4344
44--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------45--- COSAS PENDIENTES (TODO LIST) ----------------------------------------------
4546
@@ -47,19 +48,29 @@
47Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.48Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA.
48Asientos contables de resumen de tiques49Asientos contables de resumen de tiques
49Exportación de asientos resumen de facturas50Exportación de asientos resumen de facturas
5051''',
51ADVERTENCIA: Los periodos de la empresas deben coincidir con los peridos de presentación de IVA.52 'license' : 'AGPL-3',
52""",53 'depends' : ['account',
53 "website" : "www.acysos.com, www.ting.es",54 'base_vat',
54 "license" : "AGPL-3",55 'l10n_es_aeat',
55 "depends" : ["account",56 'account_refund_original',
56 "base_vat",57 'account_chart_update',
57 "l10n_es_aeat",
58 "account_refund_original",
59 ],58 ],
60 "init_xml" : [],59 'init_xml' : [],
61 "demo_xml" : [],60 'demo_xml' : [],
62 "update_xml" : ['report/report_view.xml',"mod340_view.xml","mod340_workflow.xml","security/ir.model.access.csv", "res_partner_view.xml","mod340_sequence.xml","account_invoice_view.xml"],61 'update_xml' : [
63 "installable" : False,62 'report/report_view.xml',
64 "active" : False,63 'wizard/export_mod340_to_boe.xml',
64 'mod340_view.xml',
65 'mod340_workflow.xml',
66 'security/ir.model.access.csv',
67 'res_partner_view.xml',
68 'mod340_sequence.xml',
69 'account_invoice_view.xml',
70 'account_view.xml',
71 'taxes_data.xml',
72 'taxes_data_pymes.xml',
73 'taxes_data_assoc.xml'],
74 'installable' : True,
75 'active' : False,
65}76}
6677
=== added file 'l10n_es_aeat_mod340/account.py'
--- l10n_es_aeat_mod340/account.py 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/account.py 2014-02-03 11:19:23 +0000
@@ -0,0 +1,190 @@
1# -*- coding: utf-8 -*-
2##############################################################################
3#
4# Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved
5# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20##############################################################################
21
22from osv import osv, fields
23from tools.translate import _
24
25class account_tax_code_template(osv.osv):
26
27 _inherit = 'account.tax.code.template'
28
29 _columns = {
30 'mod340':fields.boolean("Include in mod340"),
31 }
32
33account_tax_code_template()
34
35class account_tax_code(osv.osv):
36
37 _inherit = 'account.tax.code'
38
39 _columns = {
40 'mod340':fields.boolean("Include in mod340"),
41 }
42
43account_tax_code()
44
45class wizard_update_charts_accounts(osv.osv_memory):
46 _inherit = 'wizard.update.charts.accounts'
47
48 def _find_tax_codes(self, cr, uid, wizard, context=None):
49 """
50 Search for, and load, tax code templates to create/update.
51 """
52 new_tax_codes = 0
53 updated_tax_codes = 0
54 tax_code_template_mapping = {}
55
56 tax_code_templ_obj = self.pool.get('account.tax.code.template')
57 tax_code_obj = self.pool.get('account.tax.code')
58 wiz_tax_code_obj = self.pool.get('wizard.update.charts.accounts.tax.code')
59
60 # Remove previous tax codes
61 wiz_tax_code_obj.unlink(cr, uid, wiz_tax_code_obj.search(cr, uid, []))
62
63 #
64 # Search for new / updated tax codes
65 #
66 root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
67 children_tax_code_template = tax_code_templ_obj.search(cr, uid, [('parent_id', 'child_of', [root_tax_code_id])], order='id')
68 for tax_code_template in tax_code_templ_obj.browse(cr, uid, children_tax_code_template):
69 # Ensure the tax code template is on the map (search for the mapped tax code id).
70 self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template, context)
71
72 tax_code_id = tax_code_template_mapping.get(tax_code_template.id)
73 if not tax_code_id:
74 new_tax_codes += 1
75 wiz_tax_code_obj.create(cr, uid, {
76 'tax_code_id': tax_code_template.id,
77 'update_chart_wizard_id': wizard.id,
78 'type': 'new',
79 }, context)
80 elif wizard.update_tax_code:
81 #
82 # Check the tax code for changes.
83 #
84 modified = False
85 notes = ""
86 tax_code = tax_code_obj.browse(cr, uid, tax_code_id, context=context)
87
88 if tax_code.code != tax_code_template.code:
89 notes += _("The code field is different.\n")
90 modified = True
91 if tax_code.info != tax_code_template.info:
92 notes += _("The info field is different.\n")
93 modified = True
94 if tax_code.sign != tax_code_template.sign:
95 notes += _("The sign field is different.\n")
96 modified = True
97 if tax_code.mod340 != tax_code_template.mod340:
98 notes += _("The Mod 340 field is different.\n")
99 modified = True
100
101 # TODO: We could check other account fields for changes...
102
103 if modified:
104 #
105 # Tax code to update.
106 #
107 updated_tax_codes += 1
108 wiz_tax_code_obj.create(cr, uid, {
109 'tax_code_id': tax_code_template.id,
110 'update_chart_wizard_id': wizard.id,
111 'type': 'updated',
112 'update_tax_code_id': tax_code_id,
113 'notes': notes,
114 }, context)
115
116 return { 'new': new_tax_codes, 'updated': updated_tax_codes, 'mapping': tax_code_template_mapping }
117
118 def _update_tax_codes(self, cr, uid, wizard, log, context=None):
119 """
120 Search for, and load, tax code templates to create/update.
121 """
122 tax_code_obj = self.pool.get('account.tax.code')
123
124 root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id
125
126 new_tax_codes = 0
127 updated_tax_codes = 0
128 tax_code_template_mapping = {}
129
130 for wiz_tax_code in wizard.tax_code_ids:
131 tax_code_template = wiz_tax_code.tax_code_id
132 tax_code_name = (root_tax_code_id == tax_code_template.id) and wizard.company_id.name or tax_code_template.name
133
134 # Ensure the parent tax code template is on the map.
135 self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template.parent_id, context)
136
137 #
138 # Values
139 #
140 vals = {
141 'name': tax_code_name,
142 'code': tax_code_template.code,
143 'info': tax_code_template.info,
144 'parent_id': tax_code_template.parent_id and tax_code_template_mapping.get(tax_code_template.parent_id.id),
145 'company_id': wizard.company_id.id,
146 'sign': tax_code_template.sign,
147 'mod340': tax_code_template.mod340
148 }
149
150 tax_code_id = None
151 modified = False
152
153 if wiz_tax_code.type == 'new':
154 #
155 # Create the tax code
156 #
157 tax_code_id = tax_code_obj.create(cr, uid, vals)
158 log.add(_("Created tax code %s.\n") % tax_code_name)
159 new_tax_codes += 1
160 modified = True
161 elif wizard.update_tax_code and wiz_tax_code.update_tax_code_id:
162 #
163 # Update the tax code
164 #
165 tax_code_id = wiz_tax_code.update_tax_code_id.id
166 tax_code_obj.write(cr, uid, [tax_code_id], vals)
167 log.add(_("Updated tax code %s.\n") % tax_code_name)
168 updated_tax_codes += 1
169 modified = True
170 else:
171 tax_code_id = wiz_tax_code.update_tax_code_id and wiz_tax_code.update_tax_code_id.id
172 modified = False
173
174 # Store the tax codes on the map
175 tax_code_template_mapping[tax_code_template.id] = tax_code_id
176
177 if modified:
178 #
179 # Detect errors
180 #
181 if tax_code_template.parent_id and not tax_code_template_mapping.get(tax_code_template.parent_id.id):
182 log.add(_("Tax code %s: The parent tax code %s can not be set.\n") % (tax_code_name, tax_code_template.parent_id.name), True)
183
184 return {
185 'new': new_tax_codes,
186 'updated': updated_tax_codes,
187 'mapping': tax_code_template_mapping
188 }
189
190wizard_update_charts_accounts()
0\ No newline at end of file191\ No newline at end of file
1192
=== modified file 'l10n_es_aeat_mod340/account_invoice_view.xml'
--- l10n_es_aeat_mod340/account_invoice_view.xml 2012-09-08 15:32:47 +0000
+++ l10n_es_aeat_mod340/account_invoice_view.xml 2014-02-03 11:19:23 +0000
@@ -2,6 +2,24 @@
2<openerp>2<openerp>
3 <data>3 <data>
4 4
5 <record id="view_customer_account_invoice_ticket_form" model="ir.ui.view">
6 <field name="name">Account invoice - Ticket summary</field>
7 <field name="model">account.invoice</field>
8 <field name="inherit_id" ref="account.invoice_form"/>
9 <field name="arch" type="xml">
10 <page string="Payments" position="after">
11 <page string="AEAT 340">
12 <field name="is_ticket_summary"/>
13 <group colspan="4" col="4" attrs="{'invisible': [('is_ticket_summary','=',False)]}">
14 <field name="first_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
15 <field name="last_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
16 <field name="number_tickets" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
17 </group>
18 </page>
19 </page>
20 </field>
21 </record>
22
5 <!-- Supplier Invoice -->23 <!-- Supplier Invoice -->
6 24
7 <record id="invoice_supplier_mod340_form" model="ir.ui.view">25 <record id="invoice_supplier_mod340_form" model="ir.ui.view">
@@ -15,25 +33,5 @@
15 </field>33 </field>
16 </record>34 </record>
17 35
18 <record id="view_customer_account_invoice_ticket_form" model="ir.ui.view">
19 <field name="name">Account invoice - Ticket summary</field>
20 <field name="model">account.invoice</field>
21 <field name="inherit_id" ref="account.invoice_form"/>
22 <field name="arch" type="xml">
23 <data>
24 <xpath expr="/form/notebook" position="inside">
25 <page string="AEAT 340">
26 <field name="is_ticket_summary"/>
27 <group colspan="4" col="4" attrs="{'invisible': [('is_ticket_summary','=',False)]}">
28 <field name="first_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
29 <field name="last_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
30 <field name="number_tickets" attrs="{'required':[('is_ticket_summary','=',True)]}"/>
31 </group>
32 </page>
33 </xpath>
34 </data>
35 </field>
36 </record>
37
38 </data>36 </data>
39</openerp>37</openerp>
40\ No newline at end of file38\ No newline at end of file
4139
=== added file 'l10n_es_aeat_mod340/account_view.xml'
--- l10n_es_aeat_mod340/account_view.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/account_view.xml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,28 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data>
4 <record id="view_tax_code_template_form_mod340" model="ir.ui.view">
5 <field name="name">account.tax.code.template.form.mod340</field>
6 <field name="model">account.tax.code.template</field>
7 <field name="inherit_id" ref="account.view_tax_code_template_form"/>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <field name="sign" position="after">
11 <field name="mod340"/>
12 </field>
13 </field>
14 </record>
15
16 <record id="view_tax_code_form_mod340" model="ir.ui.view">
17 <field name="name">account.tax.code.form.mod340</field>
18 <field name="model">account.tax.code</field>
19 <field name="inherit_id" ref="account.view_tax_code_form"/>
20 <field name="type">form</field>
21 <field name="arch" type="xml">
22 <field name="sign" position="after">
23 <field name="mod340"/>
24 </field>
25 </field>
26 </record>
27 </data>
28</openerp>
0\ No newline at end of file29\ No newline at end of file
130
=== modified file 'l10n_es_aeat_mod340/i18n/es.po'
--- l10n_es_aeat_mod340/i18n/es.po 2014-01-07 05:30:53 +0000
+++ l10n_es_aeat_mod340/i18n/es.po 2014-02-03 11:19:23 +0000
@@ -1,25 +1,40 @@
1# Translation of OpenERP Server.1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod3403# * l10n_es_aeat_mod340
4#4#
5msgid ""5msgid ""
6msgstr ""6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.2\n"7"Project-Id-Version: OpenERP Server 7.0-20130519-231019\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2012-01-30 10:57+0000\n"9"POT-Creation-Date: 2013-10-11 14:58+0000\n"
10"PO-Revision-Date: 2013-12-10 16:44+0000\n"10"PO-Revision-Date: 2013-10-11 14:58+0000\n"
11"Last-Translator: Ignacio Ibeas (www.acysos.com) <ignacio@acysos.com>\n"11"Last-Translator: <>\n"
12"Language-Team: \n"12"Language-Team: \n"
13"MIME-Version: 1.0\n"13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"15"Content-Transfer-Encoding: \n"
16"X-Launchpad-Export-Date: 2014-01-07 05:30+0000\n"16"Plural-Forms: \n"
17"X-Generator: Launchpad (build 16877)\n"17
1818#. module: l10n_es_aeat_mod340
19#. module: l10n_es_aeat_mod34019#: report:report mod340:0
20#: selection:l10n.es.aeat.mod340,period:020#: report:report_mod340:0
21msgid "Third quarter"21#: report:vat book:0
22msgstr "Tercer trimestre"22#: report:vat_book:0
23msgid "FACTURAS DE SALIDA"
24msgstr "FACTURAS DE SALIDA"
25
26#. module: l10n_es_aeat_mod340
27#: view:l10n.es.aeat.mod340:0
28msgid "Confirmed models"
29msgstr "Modelos confirmados"
30
31#. module: l10n_es_aeat_mod340
32#: report:report mod340:0
33#: report:report_mod340:0
34#: report:vat book:0
35#: report:vat_book:0
36msgid "Compañía:"
37msgstr "Compañía:"
2338
24#. module: l10n_es_aeat_mod34039#. module: l10n_es_aeat_mod340
25#: view:l10n.es.aeat.mod340.issued:040#: view:l10n.es.aeat.mod340.issued:0
@@ -27,30 +42,25 @@
27msgstr "Facturas emitidas"42msgstr "Facturas emitidas"
2843
29#. module: l10n_es_aeat_mod34044#. module: l10n_es_aeat_mod340
30#: code:addons/l10n_es_aeat_mod340/mod340.py:17845#: code:addons/l10n_es_aeat_mod340/account.py:89
31#, python-format46#, python-format
32msgid "All real estate records state code field must be filled."47msgid "The code field is different.\n"
33msgstr ""48""
34"Los registros de propiedades inmobiliarias deben ser rellenados manualmente."49msgstr "El campo código es diferente.\n"
3550""
36#. module: l10n_es_aeat_mod34051
37#: code:addons/l10n_es_aeat_mod340/mod340.py:6552#. module: l10n_es_aeat_mod340
38#, python-format53#: field:l10n.es.aeat.mod340,total_taxable:0
39msgid "En desarrollo"54msgid "Total Taxable"
40msgstr "En desarrollo"55msgstr "Total"
4156
42#. module: l10n_es_aeat_mod34057#. module: l10n_es_aeat_mod340
43#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:058#: code:addons/l10n_es_aeat_mod340/account.py:158
44#: field:l10n.es.aeat.mod340.investment,amount_tax:059#, python-format
45#: field:l10n.es.aeat.mod340.issued,amount_tax:060msgid "Created tax code %s.\n"
46#: field:l10n.es.aeat.mod340.received,amount_tax:061""
47msgid "amount of the tax"62msgstr "Código de impuesto %s creado.\n"
48msgstr "cantidad de impuestos"63""
49
50#. module: l10n_es_aeat_mod340
51#: selection:l10n.es.aeat.mod340,period:0
52msgid "March"
53msgstr "Marzo"
5464
55#. module: l10n_es_aeat_mod34065#. module: l10n_es_aeat_mod340
56#: view:l10n.es.aeat.mod340:066#: view:l10n.es.aeat.mod340:0
@@ -64,18 +74,20 @@
64msgstr "Compañia"74msgstr "Compañia"
6575
66#. module: l10n_es_aeat_mod34076#. module: l10n_es_aeat_mod340
77#: field:l10n.es.aeat.mod340,total_sharetax:0
78msgid "Total Share Tax"
79msgstr "Total impuestos"
80
81#. module: l10n_es_aeat_mod340
67#: field:l10n.es.aeat.mod340,number_records:082#: field:l10n.es.aeat.mod340,number_records:0
68msgid "Records"83msgid "Records"
69msgstr "Registros"84msgstr "Registros"
7085
71#. module: l10n_es_aeat_mod34086#. module: l10n_es_aeat_mod340
72#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:36187#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:297
73#, python-format88#, python-format
74msgid ""89msgid "The type 2 received record must be 500 characters long for each Vat registry"
75"The type 2 received record must be 500 characters long for each Vat registry"90msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
76msgstr ""
77"El registro de tipo 2 debe tener una longitud de 500 caracteres por cada "
78"registro de IVA"
7991
80#. module: l10n_es_aeat_mod34092#. module: l10n_es_aeat_mod340
81#: selection:l10n.es.aeat.mod340,type:093#: selection:l10n.es.aeat.mod340,type:0
@@ -98,20 +110,39 @@
98msgstr "Base"110msgstr "Base"
99111
100#. module: l10n_es_aeat_mod340112#. module: l10n_es_aeat_mod340
113#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
114msgid "Tax Code"
115msgstr "Código impuesto"
116
117#. module: l10n_es_aeat_mod340
101#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report118#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
102msgid "Create and query AEAT Model 340 Reports"119msgid "Create and query AEAT Model 340 Reports"
103msgstr "Crear informe del Model AEAT 340"120msgstr "Crear informe del Model AEAT 340"
104121
105#. module: l10n_es_aeat_mod340122#. module: l10n_es_aeat_mod340
106#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92123#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:95
107#, python-format124#, python-format
108msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"125msgid "The period hasn't a valid Mod340 period"
109msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:"126msgstr "El periodo no es válido para el Módelo 340"
110127
111#. module: l10n_es_aeat_mod340128#. module: l10n_es_aeat_mod340
112#: view:l10n.es.aeat.mod340:0129#: report:report mod340:0
113msgid "In process"130#: report:report_mod340:0
114msgstr "En processo"131#: report:vat book:0
132#: report:vat_book:0
133msgid "Apellidos y nombre de contacto:"
134msgstr "Apellidos y nombre de contacto:"
135
136#. module: l10n_es_aeat_mod340
137#: selection:l10n.es.aeat.mod340,state:0
138msgid "Processed"
139msgstr "Procesado"
140
141#. module: l10n_es_aeat_mod340
142#: field:account.tax.code,mod340:0
143#: field:account.tax.code.template,mod340:0
144msgid "Include in mod340"
145msgstr "Incluir en el modelo 340"
115146
116#. module: l10n_es_aeat_mod340147#. module: l10n_es_aeat_mod340
117#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0148#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
@@ -122,14 +153,6 @@
122msgstr "Lineas de impuestos"153msgstr "Lineas de impuestos"
123154
124#. module: l10n_es_aeat_mod340155#. module: l10n_es_aeat_mod340
125#: code:addons/l10n_es_aeat_mod340/mod340.py:172
126#: code:addons/l10n_es_aeat_mod340/mod340.py:174
127#: code:addons/l10n_es_aeat_mod340/mod340.py:178
128#, python-format
129msgid "Error!"
130msgstr "Error!"
131
132#. module: l10n_es_aeat_mod340
133#: view:l10n.es.aeat.mod340:0156#: view:l10n.es.aeat.mod340:0
134msgid "Cancelled"157msgid "Cancelled"
135msgstr "Cancelado"158msgstr "Cancelado"
@@ -140,18 +163,23 @@
140msgstr "6 - Otro documento probatorio"163msgstr "6 - Otro documento probatorio"
141164
142#. module: l10n_es_aeat_mod340165#. module: l10n_es_aeat_mod340
143#: field:l10n.es.aeat.mod340,company_vat:0166#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:213
144msgid "VAT number"167#, python-format
145msgstr "CIF/NIF"168msgid "The type 2 issued record must be 500 characters long for each Vat registry"
146169msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA"
147#. module: l10n_es_aeat_mod340170
148#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:275171#. module: l10n_es_aeat_mod340
149#, python-format172#: field:l10n.es.aeat.mod340,period_from:0
150msgid ""173msgid "Start period"
151"The type 2 issued record must be 500 characters long for each Vat registry"174msgstr "Periodo inicial"
152msgstr ""175
153"El registro de tipo 2 debe tener una longitud de 500 caracteres por cada "176#. module: l10n_es_aeat_mod340
154"registro de IVA"177#: code:addons/l10n_es_aeat_mod340/account.py:167
178#, python-format
179msgid "Updated tax code %s.\n"
180""
181msgstr "Código de impuesto %s actualizado.\n"
182""
155183
156#. module: l10n_es_aeat_mod340184#. module: l10n_es_aeat_mod340
157#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias185#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
@@ -172,16 +200,48 @@
172msgstr "Código electrónico del modelo 340"200msgstr "Código electrónico del modelo 340"
173201
174#. module: l10n_es_aeat_mod340202#. module: l10n_es_aeat_mod340
203#: field:l10n.es.aeat.mod340,period_to:0
204msgid "End period"
205msgstr "Periodo final"
206
207#. module: l10n_es_aeat_mod340
208#: code:addons/l10n_es_aeat_mod340/account.py:98
209#, python-format
210msgid "The Mod 340 field is different.\n"
211""
212msgstr "El campo Mod 340 es diferente.\n"
213""
214
215#. module: l10n_es_aeat_mod340
175#: view:l10n.es.aeat.mod340:0216#: view:l10n.es.aeat.mod340:0
176msgid "Identification"217msgid "Identification"
177msgstr "Identificación"218msgstr "Identificación"
178219
179#. module: l10n_es_aeat_mod340220#. module: l10n_es_aeat_mod340
221#: view:account.invoice:0
222msgid "Payments"
223msgstr "Pagos"
224
225#. module: l10n_es_aeat_mod340
226#: report:report mod340:0
227#: report:report_mod340:0
228#: report:vat book:0
229#: report:vat_book:0
230msgid "Teléfono de contacto:"
231msgstr "Teléfono de contacto:"
232
233#. module: l10n_es_aeat_mod340
180#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action234#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
181msgid "mod340 report"235msgid "mod340 report"
182msgstr "mod340 report"236msgstr "mod340 report"
183237
184#. module: l10n_es_aeat_mod340238#. module: l10n_es_aeat_mod340
239#: report:vat book:0
240#: report:vat_book:0
241msgid "LIBRO DE IVA"
242msgstr "LIBRO DE IVA"
243
244#. module: l10n_es_aeat_mod340
185#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued245#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued
186msgid "Invoices invoice"246msgid "Invoices invoice"
187msgstr "Facturas"247msgstr "Facturas"
@@ -203,7 +263,12 @@
203msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"263msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)"
204264
205#. module: l10n_es_aeat_mod340265#. module: l10n_es_aeat_mod340
206#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406266#: view:l10n.es.aeat.mod340:0
267msgid "Cancelled models"
268msgstr "Cancelled models"
269
270#. module: l10n_es_aeat_mod340
271#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333
207#, python-format272#, python-format
208msgid "340_report_%s.txt"273msgid "340_report_%s.txt"
209msgstr "340_report_%s.txt"274msgstr "340_report_%s.txt"
@@ -214,16 +279,25 @@
214msgstr "Estado"279msgstr "Estado"
215280
216#. module: l10n_es_aeat_mod340281#. module: l10n_es_aeat_mod340
217#: selection:l10n.es.aeat.mod340,period:0
218msgid "First quarter"
219msgstr "Primer trimestre"
220
221#. module: l10n_es_aeat_mod340
222#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report282#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
223msgid "AEAT 340 Model"283msgid "AEAT 340 Model"
224msgstr "Modelo AEAT 340"284msgstr "Modelo AEAT 340"
225285
226#. module: l10n_es_aeat_mod340286#. module: l10n_es_aeat_mod340
287#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
288#: field:l10n.es.aeat.mod340.investment,amount_tax:0
289#: field:l10n.es.aeat.mod340.issued,amount_tax:0
290#: field:l10n.es.aeat.mod340.received,amount_tax:0
291msgid "Total tax"
292msgstr "Total impuestos"
293
294#. module: l10n_es_aeat_mod340
295#: report:vat book:0
296#: report:vat_book:0
297msgid "Nº de factura"
298msgstr "Nº de factura"
299
300#. module: l10n_es_aeat_mod340
227#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0301#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
228#: help:l10n.es.aeat.mod340.investment,representative_vat:0302#: help:l10n.es.aeat.mod340.investment,representative_vat:0
229#: help:l10n.es.aeat.mod340.issued,representative_vat:0303#: help:l10n.es.aeat.mod340.issued,representative_vat:0
@@ -247,7 +321,7 @@
247msgstr "Tipo de soporte"321msgstr "Tipo de soporte"
248322
249#. module: l10n_es_aeat_mod340323#. module: l10n_es_aeat_mod340
250#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406324#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333
251#, python-format325#, python-format
252msgid "%Y-%m-%d"326msgid "%Y-%m-%d"
253msgstr "%d-%m-%Y"327msgstr "%d-%m-%Y"
@@ -258,9 +332,15 @@
258msgstr "Exportar al BOE"332msgstr "Exportar al BOE"
259333
260#. module: l10n_es_aeat_mod340334#. module: l10n_es_aeat_mod340
261#: selection:l10n.es.aeat.mod340,period:0335#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
262msgid "July"336#, python-format
263msgstr "Julio"337msgid "The periods selected don't belong to the fiscal year %s"
338msgstr "Los periodos seleccionados no pertenecen al año fiscal %s"
339
340#. module: l10n_es_aeat_mod340
341#: field:l10n.es.aeat.mod340,company_vat:0
342msgid "VAT number"
343msgstr "CIF/NIF"
264344
265#. module: l10n_es_aeat_mod340345#. module: l10n_es_aeat_mod340
266#: selection:res.partner,vat_type:0346#: selection:res.partner,vat_type:0
@@ -273,15 +353,29 @@
273msgstr "Exportar Modelo AEAT 340 al formato del BOE"353msgstr "Exportar Modelo AEAT 340 al formato del BOE"
274354
275#. module: l10n_es_aeat_mod340355#. module: l10n_es_aeat_mod340
276#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:170356#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:108
277#, python-format357#, python-format
278msgid "The type 1 record must be 500 characters long"358msgid "The type 1 record must be 500 characters long"
279msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"359msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud"
280360
281#. module: l10n_es_aeat_mod340361#. module: l10n_es_aeat_mod340
282#: field:l10n.es.aeat.mod340,calculation_date:0362#: report:report mod340:0
283msgid "Calculation date"363#: report:report_mod340:0
284msgstr "Fecha de calculo"364#: report:vat book:0
365#: report:vat_book:0
366msgid "CIF/NIF:"
367msgstr "CIF/NIF:"
368
369#. module: l10n_es_aeat_mod340
370#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
371msgid "Mod340 vat lines issued"
372msgstr "Líneas de impuestos emitidos"
373
374#. module: l10n_es_aeat_mod340
375#: report:report mod340:0
376#: report:report_mod340:0
377msgid "CIF/NIF del representante legal:"
378msgstr "CIF/NIF del representante legal:"
285379
286#. module: l10n_es_aeat_mod340380#. module: l10n_es_aeat_mod340
287#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner381#: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner
@@ -293,12 +387,12 @@
293msgstr "Empresa"387msgstr "Empresa"
294388
295#. module: l10n_es_aeat_mod340389#. module: l10n_es_aeat_mod340
296#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0390#: report:report mod340:0
297#: field:l10n.es.aeat.mod340.investment,base_tax:0391#: report:report_mod340:0
298#: field:l10n.es.aeat.mod340.issued,base_tax:0392#: report:vat book:0
299#: field:l10n.es.aeat.mod340.received,base_tax:0393#: report:vat_book:0
300msgid "base tax bill"394msgid "Cuota impuesto"
301msgstr "Base imponible"395msgstr "Cuota impuesto"
302396
303#. module: l10n_es_aeat_mod340397#. module: l10n_es_aeat_mod340
304#: view:l10n.es.aeat.mod340.tax_line_received:0398#: view:l10n.es.aeat.mod340.tax_line_received:0
@@ -306,14 +400,24 @@
306msgstr "Líneas de impuestos recibidos"400msgstr "Líneas de impuestos recibidos"
307401
308#. module: l10n_es_aeat_mod340402#. module: l10n_es_aeat_mod340
309#: selection:l10n.es.aeat.mod340,period:0403#: report:report mod340:0
310msgid "September"404#: report:report_mod340:0
311msgstr "Septiembre"405msgid "MODELO AEAT 340"
312406msgstr "MODELO AEAT 340"
313#. module: l10n_es_aeat_mod340407
314#: selection:l10n.es.aeat.mod340,period:0408#. module: l10n_es_aeat_mod340
315msgid "December"409#: code:addons/l10n_es_aeat_mod340/account.py:95
316msgstr "Diciembre"410#, python-format
411msgid "The sign field is different.\n"
412""
413msgstr "El campo signo es diferente.\n"
414""
415
416#. module: l10n_es_aeat_mod340
417#: view:l10n.es.aeat.mod340.issued:0
418#: view:l10n.es.aeat.mod340.received:0
419msgid "Total Tax"
420msgstr "Total Impuestos"
317421
318#. module: l10n_es_aeat_mod340422#. module: l10n_es_aeat_mod340
319#: field:l10n.es.aeat.mod340,number:0423#: field:l10n.es.aeat.mod340,number:0
@@ -326,14 +430,26 @@
326msgstr "Cancelado"430msgstr "Cancelado"
327431
328#. module: l10n_es_aeat_mod340432#. module: l10n_es_aeat_mod340
329#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued433#: report:report mod340:0
330msgid "Mod340 vat lines issued"434#: report:report_mod340:0
331msgstr "Líneas de impuestos emitidos"435msgid "Tipo de declaración"
332436msgstr "Tipo de declaración"
333#. module: l10n_es_aeat_mod340437
334#: field:l10n.es.aeat.mod340,total_taxable:0438#. module: l10n_es_aeat_mod340
335msgid "Total Taxable"439#: field:l10n.es.aeat.mod340,calculation_date:0
336msgstr "Total"440msgid "Calculation date"
441msgstr "Fecha de calculo"
442
443#. module: l10n_es_aeat_mod340
444#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_vat_book_action
445#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.vat_book
446msgid "Vat Book"
447msgstr "Libro de IVA"
448
449#. module: l10n_es_aeat_mod340
450#: field:account.invoice,number_tickets:0
451msgid "Number of tickets"
452msgstr "Número de tiques"
337453
338#. module: l10n_es_aeat_mod340454#. module: l10n_es_aeat_mod340
339#: view:l10n.es.aeat.mod340:0455#: view:l10n.es.aeat.mod340:0
@@ -341,9 +457,12 @@
341msgstr "Calcular"457msgstr "Calcular"
342458
343#. module: l10n_es_aeat_mod340459#. module: l10n_es_aeat_mod340
344#: field:l10n.es.aeat.mod340,total_sharetax:0460#: code:addons/l10n_es_aeat_mod340/account.py:182
345msgid "Total Share Tax"461#, python-format
346msgstr "Total impuestos"462msgid "Tax code %s: The parent tax code %s can not be set.\n"
463""
464msgstr "Código de impuesto %s: el padre de %s no puede ser guardado.\n"
465""
347466
348#. module: l10n_es_aeat_mod340467#. module: l10n_es_aeat_mod340
349#: selection:l10n.es.aeat.mod340,support_type:0468#: selection:l10n.es.aeat.mod340,support_type:0
@@ -351,16 +470,17 @@
351msgstr "DVD"470msgstr "DVD"
352471
353#. module: l10n_es_aeat_mod340472#. module: l10n_es_aeat_mod340
354#: code:addons/l10n_es_aeat_mod340/mod340.py:65473#: report:report mod340:0
355#, python-format474#: report:report_mod340:0
356msgid "No disponible:"475#: report:vat book:0
357msgstr "No disponible:"476#: report:vat_book:0
477msgid "Fecha"
478msgstr "Fecha"
358479
359#. module: l10n_es_aeat_mod340480#. module: l10n_es_aeat_mod340
360#: code:addons/l10n_es_aeat_mod340/mod340.py:172481#: view:l10n.es.aeat.mod340:0
361#, python-format482msgid "In process"
362msgid "All partner state code field must be filled."483msgstr "En processo"
363msgstr "Todos las empresas deben tener provincia."
364484
365#. module: l10n_es_aeat_mod340485#. module: l10n_es_aeat_mod340
366#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340486#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
@@ -384,23 +504,21 @@
384msgstr "3 - Pasaporte"504msgstr "3 - Pasaporte"
385505
386#. module: l10n_es_aeat_mod340506#. module: l10n_es_aeat_mod340
387#: code:addons/l10n_es_aeat_mod340/mod340.py:174507#: view:l10n.es.aeat.mod340.issued:0
388#, python-format508#: view:l10n.es.aeat.mod340.received:0
389msgid "All partner vat number field must be filled."509msgid "Total Base"
390msgstr "Todas las empresas deben tener CIF/NIF."510msgstr "Total Base"
391511
392#. module: l10n_es_aeat_mod340512#. module: l10n_es_aeat_mod340
393#: field:l10n.es.aeat.mod340.intracomunitarias,total:0513#: report:report mod340:0
394#: field:l10n.es.aeat.mod340.investment,total:0514#: report:report_mod340:0
395#: field:l10n.es.aeat.mod340.issued,total:0515msgid "Número de la declaración anterior:"
396#: field:l10n.es.aeat.mod340.received,total:0516msgstr "Número de la declaración anterior:"
397msgid "total"517
398msgstr "total"518#. module: l10n_es_aeat_mod340
399519#: field:account.invoice,first_ticket:0
400#. module: l10n_es_aeat_mod340520msgid "First ticket"
401#: selection:l10n.es.aeat.mod340,period:0521msgstr "Primer tique"
402msgid "August"
403msgstr "Agosto"
404522
405#. module: l10n_es_aeat_mod340523#. module: l10n_es_aeat_mod340
406#: selection:l10n.es.aeat.mod340,type:0524#: selection:l10n.es.aeat.mod340,type:0
@@ -408,34 +526,37 @@
408msgstr "Normal"526msgstr "Normal"
409527
410#. module: l10n_es_aeat_mod340528#. module: l10n_es_aeat_mod340
529#: help:account.invoice,is_ticket_summary:0
530msgid "Check if this invoice is a ticket summary"
531msgstr "Active si esta factura es un resumen de tiques"
532
533#. module: l10n_es_aeat_mod340
411#: selection:l10n.es.aeat.mod340,state:0534#: selection:l10n.es.aeat.mod340,state:0
412msgid "Processing"535msgid "Processing"
413msgstr "Procesando"536msgstr "Procesando"
414537
415#. module: l10n_es_aeat_mod340538#. module: l10n_es_aeat_mod340
416#: selection:l10n.es.aeat.mod340,period:0
417msgid "June"
418msgstr "Junio"
419
420#. module: l10n_es_aeat_mod340
421#: field:l10n.es.aeat.mod340,contact_phone:0539#: field:l10n.es.aeat.mod340,contact_phone:0
422msgid "Phone"540msgid "Phone"
423msgstr "Teléfono"541msgstr "Teléfono"
424542
425#. module: l10n_es_aeat_mod340543#. module: l10n_es_aeat_mod340
426#: selection:l10n.es.aeat.mod340,period:0544#: field:account.invoice,last_ticket:0
427msgid "November"545msgid "Last ticket"
428msgstr "Noviembre"546msgstr "Último tique"
429547
430#. module: l10n_es_aeat_mod340548#. module: l10n_es_aeat_mod340
431#: selection:l10n.es.aeat.mod340,period:0549#: field:account.invoice,is_ticket_summary:0
432msgid "October"550msgid "Ticket Summary"
433msgstr "Octubre"551msgstr "Resumen de tiques"
434552
435#. module: l10n_es_aeat_mod340553#. module: l10n_es_aeat_mod340
436#: selection:l10n.es.aeat.mod340,period:0554#: report:report mod340:0
437msgid "January"555#: report:report_mod340:0
438msgstr "Enero"556#: report:vat book:0
557#: report:vat_book:0
558msgid "Ejercicio fiscal:"
559msgstr "Ejercicio fiscal:"
439560
440#. module: l10n_es_aeat_mod340561#. module: l10n_es_aeat_mod340
441#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0562#: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0
@@ -456,9 +577,9 @@
456msgstr "Modelo 340 - Calcular registros"577msgstr "Modelo 340 - Calcular registros"
457578
458#. module: l10n_es_aeat_mod340579#. module: l10n_es_aeat_mod340
459#: selection:l10n.es.aeat.mod340,state:0580#: view:l10n.es.aeat.mod340:0
460msgid "Processed"581msgid "AEAT Modelo 340"
461msgstr "Procesado"582msgstr "AEAT Modelo 340"
462583
463#. module: l10n_es_aeat_mod340584#. module: l10n_es_aeat_mod340
464#: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0585#: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0
@@ -466,6 +587,12 @@
466msgstr "Factudas emitidas"587msgstr "Factudas emitidas"
467588
468#. module: l10n_es_aeat_mod340589#. module: l10n_es_aeat_mod340
590#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
591#, python-format
592msgid "Error"
593msgstr "Error"
594
595#. module: l10n_es_aeat_mod340
469#: field:l10n.es.aeat.mod340,representative_vat:0596#: field:l10n.es.aeat.mod340,representative_vat:0
470#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0597#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
471#: field:l10n.es.aeat.mod340.investment,representative_vat:0598#: field:l10n.es.aeat.mod340.investment,representative_vat:0
@@ -485,6 +612,14 @@
485msgstr "Facturas emitidas"612msgstr "Facturas emitidas"
486613
487#. module: l10n_es_aeat_mod340614#. module: l10n_es_aeat_mod340
615#: report:report mod340:0
616#: report:report_mod340:0
617#: report:vat book:0
618#: report:vat_book:0
619msgid "Base imponible"
620msgstr "Base imponible"
621
622#. module: l10n_es_aeat_mod340
488#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0623#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0
489msgid "Invoice received"624msgid "Invoice received"
490msgstr "Factura recibida"625msgstr "Factura recibida"
@@ -495,17 +630,17 @@
495msgstr "Tipo de documento"630msgstr "Tipo de documento"
496631
497#. module: l10n_es_aeat_mod340632#. module: l10n_es_aeat_mod340
498#: field:l10n.es.aeat.mod340,period:0
499msgid "Period"
500msgstr "Periodo"
501
502#. module: l10n_es_aeat_mod340
503#: view:l10n.es.aeat.mod340:0633#: view:l10n.es.aeat.mod340:0
504msgid "General"634msgid "General"
505msgstr "General"635msgstr "General"
506636
507#. module: l10n_es_aeat_mod340637#. module: l10n_es_aeat_mod340
508#: view:l10n.es.aeat.mod340:0638#: view:l10n.es.aeat.mod340:0
639msgid "In process models"
640msgstr "Modelos en proceso"
641
642#. module: l10n_es_aeat_mod340
643#: view:l10n.es.aeat.mod340:0
509#: selection:l10n.es.aeat.mod340,state:0644#: selection:l10n.es.aeat.mod340,state:0
510msgid "Done"645msgid "Done"
511msgstr "Realizado"646msgstr "Realizado"
@@ -535,9 +670,10 @@
535msgstr "Recalcular"670msgstr "Recalcular"
536671
537#. module: l10n_es_aeat_mod340672#. module: l10n_es_aeat_mod340
538#: selection:l10n.es.aeat.mod340,period:0673#: report:report mod340:0
539msgid "Fourth quarter"674#: report:report_mod340:0
540msgstr "Cuarto trimestre"675msgid "Código electrónico autoliquidación IVA:"
676msgstr "Código electrónico autoliquidación IVA:"
541677
542#. module: l10n_es_aeat_mod340678#. module: l10n_es_aeat_mod340
543#: selection:res.partner,vat_type:0679#: selection:res.partner,vat_type:0
@@ -572,9 +708,10 @@
572msgstr "Modelo AEAT 340"708msgstr "Modelo AEAT 340"
573709
574#. module: l10n_es_aeat_mod340710#. module: l10n_es_aeat_mod340
575#: selection:l10n.es.aeat.mod340,period:0711#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
576msgid "May"712#, python-format
577msgstr "Mayo"713msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
714msgstr "Factura %s, La cantidad de lineas sin impuesto %.2f no corresponde con la cantidad sin impuestos en la factura %.2f"
578715
579#. module: l10n_es_aeat_mod340716#. module: l10n_es_aeat_mod340
580#: help:res.partner,vat_type:0717#: help:res.partner,vat_type:0
@@ -586,12 +723,18 @@
586#: help:l10n.es.aeat.mod340,total:0723#: help:l10n.es.aeat.mod340,total:0
587#: help:l10n.es.aeat.mod340,total_sharetax:0724#: help:l10n.es.aeat.mod340,total_sharetax:0
588#: help:l10n.es.aeat.mod340,total_taxable:0725#: help:l10n.es.aeat.mod340,total_taxable:0
589msgid ""726msgid "The declaration will include partners with the total of operations over this limit"
590"The declaration will include partners with the total of operations over this "
591"limit"
592msgstr "La declaración incluye las empresas que no superen este limite"727msgstr "La declaración incluye las empresas que no superen este limite"
593728
594#. module: l10n_es_aeat_mod340729#. module: l10n_es_aeat_mod340
730#: report:report mod340:0
731#: report:report_mod340:0
732#: report:vat book:0
733#: report:vat_book:0
734msgid "Número de factura"
735msgstr "Número de factura"
736
737#. module: l10n_es_aeat_mod340
595#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0738#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
596#: field:l10n.es.aeat.mod340.investment,partner_vat:0739#: field:l10n.es.aeat.mod340.investment,partner_vat:0
597#: field:l10n.es.aeat.mod340.issued,partner_vat:0740#: field:l10n.es.aeat.mod340.issued,partner_vat:0
@@ -621,9 +764,10 @@
621msgstr "Nombre y apellido de contacto"764msgstr "Nombre y apellido de contacto"
622765
623#. module: l10n_es_aeat_mod340766#. module: l10n_es_aeat_mod340
624#: selection:l10n.es.aeat.mod340,period:0767#: report:report mod340:0
625msgid "February"768#: report:report_mod340:0
626msgstr "Febrero"769msgid "Número:"
770msgstr "Número:"
627771
628#. module: l10n_es_aeat_mod340772#. module: l10n_es_aeat_mod340
629#: field:l10n.es.aeat.mod340,name:0773#: field:l10n.es.aeat.mod340,name:0
@@ -638,9 +782,20 @@
638msgstr "Facturas recibidas"782msgstr "Facturas recibidas"
639783
640#. module: l10n_es_aeat_mod340784#. module: l10n_es_aeat_mod340
641#: selection:l10n.es.aeat.mod340,period:0785#: report:report mod340:0
642msgid "April"786#: report:report_mod340:0
643msgstr "Abril"787msgid "Tipo de soporte:"
788msgstr "Tipo de soporte:"
789
790#. module: l10n_es_aeat_mod340
791#: field:l10n.es.aeat.mod340,attach_id:0
792msgid "BOE file"
793msgstr "Archivo BOE"
794
795#. module: l10n_es_aeat_mod340
796#: view:l10n.es.aeat.mod340:0
797msgid "Draft models"
798msgstr "Modelos en borrador"
644799
645#. module: l10n_es_aeat_mod340800#. module: l10n_es_aeat_mod340
646#: view:l10n.es.aeat.mod340:0801#: view:l10n.es.aeat.mod340:0
@@ -649,12 +804,28 @@
649msgstr "Año fiscal"804msgstr "Año fiscal"
650805
651#. module: l10n_es_aeat_mod340806#. module: l10n_es_aeat_mod340
807#: report:report mod340:0
808#: report:report_mod340:0
809#: report:vat book:0
810#: report:vat_book:0
811msgid "CIF/NIF"
812msgstr "CIF/NIF"
813
814#. module: l10n_es_aeat_mod340
652#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received815#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received
653#: field:l10n.es.aeat.mod340,received:0816#: field:l10n.es.aeat.mod340,received:0
654msgid "Invoices Received"817msgid "Invoices Received"
655msgstr "Facturas recibidas"818msgstr "Facturas recibidas"
656819
657#. module: l10n_es_aeat_mod340820#. module: l10n_es_aeat_mod340
821#: code:addons/l10n_es_aeat_mod340/account.py:92
822#, python-format
823msgid "The info field is different.\n"
824""
825msgstr "El campo descripción es diferente.\n"
826""
827
828#. module: l10n_es_aeat_mod340
658#: selection:l10n.es.aeat.mod340,support_type:0829#: selection:l10n.es.aeat.mod340,support_type:0
659msgid "Telematics"830msgid "Telematics"
660msgstr "Telemática"831msgstr "Telemática"
@@ -665,9 +836,12 @@
665msgstr "Clave tipo de NIF"836msgstr "Clave tipo de NIF"
666837
667#. module: l10n_es_aeat_mod340838#. module: l10n_es_aeat_mod340
668#: selection:l10n.es.aeat.mod340,period:0839#: report:report mod340:0
669msgid "Second quarter"840#: report:report_mod340:0
670msgstr "Segundo trimestre"841#: report:vat book:0
842#: report:vat_book:0
843msgid "Empresa"
844msgstr "Empresa"
671845
672#. module: l10n_es_aeat_mod340846#. module: l10n_es_aeat_mod340
673#: selection:l10n.es.aeat.mod340,type:0847#: selection:l10n.es.aeat.mod340,type:0
@@ -675,11 +849,25 @@
675msgstr "Complementaria"849msgstr "Complementaria"
676850
677#. module: l10n_es_aeat_mod340851#. module: l10n_es_aeat_mod340
678#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0852#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
679#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0853msgid "wizard.update.charts.accounts"
680#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0854msgstr "wizard.update.charts.accounts"
681msgid "tax lines"855
682msgstr "líneas de impuestos"856#. module: l10n_es_aeat_mod340
857#: report:report mod340:0
858#: report:report_mod340:0
859#: report:vat book:0
860#: report:vat_book:0
861msgid "Total factura"
862msgstr "Total factura"
863
864#. module: l10n_es_aeat_mod340
865#: report:report mod340:0
866#: report:report_mod340:0
867#: report:vat book:0
868#: report:vat_book:0
869msgid "FACTURAS DE ENTRADA"
870msgstr "FACTURAS DE ENTRADA"
683871
684#. module: l10n_es_aeat_mod340872#. module: l10n_es_aeat_mod340
685#: field:l10n.es.aeat.mod340,total:0873#: field:l10n.es.aeat.mod340,total:0
@@ -693,36 +881,20 @@
693msgstr "Total"881msgstr "Total"
694882
695#. module: l10n_es_aeat_mod340883#. module: l10n_es_aeat_mod340
696#: field:account.invoice,number_tickets:0884#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
697msgid "Number of tickets"885msgid "Tax Code Template"
698msgstr "Número de tiques"886msgstr "Plantilla códigos de impuestos"
699887
700#. module: l10n_es_aeat_mod340888#. module: l10n_es_aeat_mod340
701#: field:account.invoice,first_ticket:0889#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
702msgid "First ticket"
703msgstr "Primer tique"
704
705#. module: l10n_es_aeat_mod340
706#: help:account.invoice,is_ticket_summary:0
707msgid "Check if this invoice is a ticket summary"
708msgstr "Active si esta factura es un resumen de tiques"
709
710#. module: l10n_es_aeat_mod340
711#: field:account.invoice,last_ticket:0
712msgid "Last ticket"
713msgstr "Último tique"
714
715#. module: l10n_es_aeat_mod340
716#: field:account.invoice,is_ticket_summary:0
717msgid "Ticket Summary"
718msgstr "Resumen de tiques"
719
720#. module: account
721#: view:account.invoice:0
722msgid "Tickets"
723msgstr "Tiques"
724
725#, python-format890#, python-format
726#~ msgid "All real state records state code field must be filled."891msgid "La siguiente empresa no tiene asignado nif:"
727#~ msgstr ""892msgstr "La siguiente empresa no tiene asignado nif:"
728#~ "Los registros de propiedades inmobiliarias deben ser rellenados manualmente."893
894#. module: l10n_es_aeat_mod340
895#: field:l10n.es.aeat.mod340.intracomunitarias,date_invoice:0
896#: field:l10n.es.aeat.mod340.investment,date_invoice:0
897#: field:l10n.es.aeat.mod340.issued,date_invoice:0
898#: field:l10n.es.aeat.mod340.received,date_invoice:0
899msgid "Date Invoice"
900msgstr "Fecha Factura"
729901
=== modified file 'l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot'
--- l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2013-11-22 23:44:11 +0000
+++ l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2014-02-03 11:19:23 +0000
@@ -1,22 +1,37 @@
1# Translation of OpenERP Server.1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod3403# * l10n_es_aeat_mod340
4#4#
5msgid ""5msgid ""
6msgstr ""6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.2\n"7"Project-Id-Version: OpenERP Server 7.0-20130519-231019\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2012-01-30 10:57+0000\n"9"POT-Creation-Date: 2013-10-11 14:52+0000\n"
10"PO-Revision-Date: 2012-01-30 10:57+0000\n"10"PO-Revision-Date: 2013-10-11 14:52+0000\n"
11"Last-Translator: <>\n"
11"Language-Team: \n"12"Language-Team: \n"
12"MIME-Version: 1.0\n"13"MIME-Version: 1.0\n"
13"Content-Type: text/plain; charset=UTF-8\n"14"Content-Type: text/plain; charset=UTF-8\n"
14"Content-Transfer-Encoding: 8bit\n"15"Content-Transfer-Encoding: \n"
15"Plural-Forms: \n"16"Plural-Forms: \n"
1617
17#. module: l10n_es_aeat_mod34018#. module: l10n_es_aeat_mod340
18#: selection:l10n.es.aeat.mod340,period:019#: report:report mod340:0
19msgid "Third quarter"20#: report:report_mod340:0
21#: report:vat book:0
22#: report:vat_book:0
23msgid "FACTURAS DE SALIDA"
24msgstr ""
25
26#. module: l10n_es_aeat_mod340
27#: view:l10n.es.aeat.mod340:0
28msgid "Confirmed models"
29msgstr ""
30
31#. module: l10n_es_aeat_mod340
32#: report:report mod340:0
33#: report:vat_book:0
34msgid "Compañía:"
20msgstr ""35msgstr ""
2136
22#. module: l10n_es_aeat_mod34037#. module: l10n_es_aeat_mod340
@@ -25,28 +40,22 @@
25msgstr ""40msgstr ""
2641
27#. module: l10n_es_aeat_mod34042#. module: l10n_es_aeat_mod340
28#: code:addons/l10n_es_aeat_mod340/mod340.py:16243#: code:addons/l10n_es_aeat_mod340/account.py:89
29#, python-format44#, python-format
30msgid "All real estate records state code field must be filled."45msgid "The code field is different.\n"
31msgstr ""46""
3247msgstr ""
33#. module: l10n_es_aeat_mod34048
34#: code:addons/l10n_es_aeat_mod340/mod340.py:6549#. module: l10n_es_aeat_mod340
35#, python-format50#: field:l10n.es.aeat.mod340,total_taxable:0
36msgid "En desarrollo"51msgid "Total Taxable"
37msgstr ""52msgstr ""
3853
39#. module: l10n_es_aeat_mod34054#. module: l10n_es_aeat_mod340
40#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:055#: code:addons/l10n_es_aeat_mod340/account.py:158
41#: field:l10n.es.aeat.mod340.investment,amount_tax:056#, python-format
42#: field:l10n.es.aeat.mod340.issued,amount_tax:057msgid "Created tax code %s.\n"
43#: field:l10n.es.aeat.mod340.received,amount_tax:058""
44msgid "amount of the tax"
45msgstr ""
46
47#. module: l10n_es_aeat_mod340
48#: selection:l10n.es.aeat.mod340,period:0
49msgid "March"
50msgstr ""59msgstr ""
5160
52#. module: l10n_es_aeat_mod34061#. module: l10n_es_aeat_mod340
@@ -61,12 +70,17 @@
61msgstr ""70msgstr ""
6271
63#. module: l10n_es_aeat_mod34072#. module: l10n_es_aeat_mod340
73#: field:l10n.es.aeat.mod340,total_sharetax:0
74msgid "Total Share Tax"
75msgstr ""
76
77#. module: l10n_es_aeat_mod340
64#: field:l10n.es.aeat.mod340,number_records:078#: field:l10n.es.aeat.mod340,number_records:0
65msgid "Records"79msgid "Records"
66msgstr ""80msgstr ""
6781
68#. module: l10n_es_aeat_mod34082#. module: l10n_es_aeat_mod340
69#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:27083#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:297
70#, python-format84#, python-format
71msgid "The type 2 received record must be 500 characters long for each Vat registry"85msgid "The type 2 received record must be 500 characters long for each Vat registry"
72msgstr ""86msgstr ""
@@ -82,41 +96,57 @@
82msgstr ""96msgstr ""
8397
84#. module: l10n_es_aeat_mod34098#. module: l10n_es_aeat_mod340
99#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0
100#: field:l10n.es.aeat.mod340.investment,base_tax:0
101#: field:l10n.es.aeat.mod340.issued,base_tax:0
102#: field:l10n.es.aeat.mod340.received,base_tax:0
85#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0103#: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0
86#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0104#: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0
87msgid "Base tax bill"105msgid "Base tax bill"
88msgstr ""106msgstr ""
89107
90#. module: l10n_es_aeat_mod340108#. module: l10n_es_aeat_mod340
109#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code
110msgid "Tax Code"
111msgstr ""
112
113#. module: l10n_es_aeat_mod340
91#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report114#: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report
92msgid "Create and query AEAT Model 340 Reports"115msgid "Create and query AEAT Model 340 Reports"
93msgstr ""116msgstr ""
94117
95#. module: l10n_es_aeat_mod340118#. module: l10n_es_aeat_mod340
96#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92119#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:95
97#, python-format120#, python-format
98msgid "El periodo seleccionado no coincide con los periodos del año fiscal:"121msgid "The period hasn't a valid Mod340 period"
99msgstr ""122msgstr ""
100123
101#. module: l10n_es_aeat_mod340124#. module: l10n_es_aeat_mod340
102#: view:l10n.es.aeat.mod340:0125#: report:report_mod340:0
103msgid "In process"126#: report:vat_book:0
104msgstr ""127msgid "Apellidos y nombre de contacto:"
105128msgstr ""
106#. module: l10n_es_aeat_mod340129
130#. module: l10n_es_aeat_mod340
131#: selection:l10n.es.aeat.mod340,state:0
132msgid "Processed"
133msgstr ""
134
135#. module: l10n_es_aeat_mod340
136#: field:account.tax.code,mod340:0
137#: field:account.tax.code.template,mod340:0
138msgid "Include in mod340"
139msgstr ""
140
141#. module: l10n_es_aeat_mod340
142#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0
143#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0
144#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0
107#: field:l10n.es.aeat.mod340.received,tax_line_ids:0145#: field:l10n.es.aeat.mod340.received,tax_line_ids:0
108msgid "Tax lines"146msgid "Tax lines"
109msgstr ""147msgstr ""
110148
111#. module: l10n_es_aeat_mod340149#. module: l10n_es_aeat_mod340
112#: code:addons/l10n_es_aeat_mod340/mod340.py:156
113#: code:addons/l10n_es_aeat_mod340/mod340.py:158
114#: code:addons/l10n_es_aeat_mod340/mod340.py:162
115#, python-format
116msgid "Error!"
117msgstr ""
118
119#. module: l10n_es_aeat_mod340
120#: view:l10n.es.aeat.mod340:0150#: view:l10n.es.aeat.mod340:0
121msgid "Cancelled"151msgid "Cancelled"
122msgstr ""152msgstr ""
@@ -127,17 +157,24 @@
127msgstr ""157msgstr ""
128158
129#. module: l10n_es_aeat_mod340159#. module: l10n_es_aeat_mod340
130#: field:l10n.es.aeat.mod340,company_vat:0160#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:213
131msgid "VAT number"
132msgstr ""
133
134#. module: l10n_es_aeat_mod340
135#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184
136#, python-format161#, python-format
137msgid "The type 2 issued record must be 500 characters long for each Vat registry"162msgid "The type 2 issued record must be 500 characters long for each Vat registry"
138msgstr ""163msgstr ""
139164
140#. module: l10n_es_aeat_mod340165#. module: l10n_es_aeat_mod340
166#: field:l10n.es.aeat.mod340,period_from:0
167msgid "Start period"
168msgstr ""
169
170#. module: l10n_es_aeat_mod340
171#: code:addons/l10n_es_aeat_mod340/account.py:167
172#, python-format
173msgid "Updated tax code %s.\n"
174""
175msgstr ""
176
177#. module: l10n_es_aeat_mod340
141#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias178#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias
142#: field:l10n.es.aeat.mod340,intracomunitarias:0179#: field:l10n.es.aeat.mod340,intracomunitarias:0
143msgid "Operations Intracomunitarias"180msgid "Operations Intracomunitarias"
@@ -156,22 +193,50 @@
156msgstr ""193msgstr ""
157194
158#. module: l10n_es_aeat_mod340195#. module: l10n_es_aeat_mod340
196#: field:l10n.es.aeat.mod340,period_to:0
197msgid "End period"
198msgstr ""
199
200#. module: l10n_es_aeat_mod340
201#: code:addons/l10n_es_aeat_mod340/account.py:98
202#, python-format
203msgid "The Mod 340 field is different.\n"
204""
205msgstr ""
206
207#. module: l10n_es_aeat_mod340
159#: view:l10n.es.aeat.mod340:0208#: view:l10n.es.aeat.mod340:0
160msgid "Identification"209msgid "Identification"
161msgstr ""210msgstr ""
162211
163#. module: l10n_es_aeat_mod340212#. module: l10n_es_aeat_mod340
213#: view:account.invoice:0
214msgid "Payments"
215msgstr ""
216
217#. module: l10n_es_aeat_mod340
218#: report:report mod340:0
219#: report:vat_book:0
220msgid "Teléfono de contacto:"
221msgstr ""
222
223#. module: l10n_es_aeat_mod340
164#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action224#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action
165msgid "mod340 report"225msgid "mod340 report"
166msgstr ""226msgstr ""
167227
168#. module: l10n_es_aeat_mod340228#. module: l10n_es_aeat_mod340
229#: report:vat book:0
230msgid "LIBRO DE IVA"
231msgstr ""
232
233#. module: l10n_es_aeat_mod340
169#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued234#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued
170msgid "Invoices invoice"235msgid "Invoices invoice"
171msgstr ""236msgstr ""
172237
173#. module: l10n_es_aeat_mod340238#. module: l10n_es_aeat_mod340
174#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65239#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64
175#, python-format240#, python-format
176msgid "This company dont have NIF"241msgid "This company dont have NIF"
177msgstr ""242msgstr ""
@@ -187,7 +252,12 @@
187msgstr ""252msgstr ""
188253
189#. module: l10n_es_aeat_mod340254#. module: l10n_es_aeat_mod340
190#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306255#: view:l10n.es.aeat.mod340:0
256msgid "Cancelled models"
257msgstr ""
258
259#. module: l10n_es_aeat_mod340
260#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333
191#, python-format261#, python-format
192msgid "340_report_%s.txt"262msgid "340_report_%s.txt"
193msgstr ""263msgstr ""
@@ -198,16 +268,24 @@
198msgstr ""268msgstr ""
199269
200#. module: l10n_es_aeat_mod340270#. module: l10n_es_aeat_mod340
201#: selection:l10n.es.aeat.mod340,period:0
202msgid "First quarter"
203msgstr ""
204
205#. module: l10n_es_aeat_mod340
206#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report271#: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report
207msgid "AEAT 340 Model"272msgid "AEAT 340 Model"
208msgstr ""273msgstr ""
209274
210#. module: l10n_es_aeat_mod340275#. module: l10n_es_aeat_mod340
276#: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0
277#: field:l10n.es.aeat.mod340.investment,amount_tax:0
278#: field:l10n.es.aeat.mod340.issued,amount_tax:0
279#: field:l10n.es.aeat.mod340.received,amount_tax:0
280msgid "Total tax"
281msgstr ""
282
283#. module: l10n_es_aeat_mod340
284#: report:vat book:0
285msgid "Nº de factura"
286msgstr ""
287
288#. module: l10n_es_aeat_mod340
211#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0289#: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
212#: help:l10n.es.aeat.mod340.investment,representative_vat:0290#: help:l10n.es.aeat.mod340.investment,representative_vat:0
213#: help:l10n.es.aeat.mod340.issued,representative_vat:0291#: help:l10n.es.aeat.mod340.issued,representative_vat:0
@@ -231,7 +309,7 @@
231msgstr ""309msgstr ""
232310
233#. module: l10n_es_aeat_mod340311#. module: l10n_es_aeat_mod340
234#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306312#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333
235#, python-format313#, python-format
236msgid "%Y-%m-%d"314msgid "%Y-%m-%d"
237msgstr ""315msgstr ""
@@ -242,8 +320,14 @@
242msgstr ""320msgstr ""
243321
244#. module: l10n_es_aeat_mod340322#. module: l10n_es_aeat_mod340
245#: selection:l10n.es.aeat.mod340,period:0323#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
246msgid "July"324#, python-format
325msgid "The periods selected don't belong to the fiscal year %s"
326msgstr ""
327
328#. module: l10n_es_aeat_mod340
329#: field:l10n.es.aeat.mod340,company_vat:0
330msgid "VAT number"
247msgstr ""331msgstr ""
248332
249#. module: l10n_es_aeat_mod340333#. module: l10n_es_aeat_mod340
@@ -257,14 +341,27 @@
257msgstr ""341msgstr ""
258342
259#. module: l10n_es_aeat_mod340343#. module: l10n_es_aeat_mod340
260#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92344#: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:108
261#, python-format345#, python-format
262msgid "The type 1 record must be 500 characters long"346msgid "The type 1 record must be 500 characters long"
263msgstr ""347msgstr ""
264348
265#. module: l10n_es_aeat_mod340349#. module: l10n_es_aeat_mod340
266#: field:l10n.es.aeat.mod340,calculation_date:0350#: report:report mod340:0
267msgid "Calculation date"351#: report:report_mod340:0
352#: report:vat_book:0
353msgid "CIF/NIF:"
354msgstr ""
355
356#. module: l10n_es_aeat_mod340
357#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued
358msgid "Mod340 vat lines issued"
359msgstr ""
360
361#. module: l10n_es_aeat_mod340
362#: report:report mod340:0
363#: report:report_mod340:0
364msgid "CIF/NIF del representante legal:"
268msgstr ""365msgstr ""
269366
270#. module: l10n_es_aeat_mod340367#. module: l10n_es_aeat_mod340
@@ -277,11 +374,9 @@
277msgstr ""374msgstr ""
278375
279#. module: l10n_es_aeat_mod340376#. module: l10n_es_aeat_mod340
280#: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0377#: report:report mod340:0
281#: field:l10n.es.aeat.mod340.investment,base_tax:0378#: report:vat_book:0
282#: field:l10n.es.aeat.mod340.issued,base_tax:0379msgid "Cuota impuesto"
283#: field:l10n.es.aeat.mod340.received,base_tax:0
284msgid "base tax bill"
285msgstr ""380msgstr ""
286381
287#. module: l10n_es_aeat_mod340382#. module: l10n_es_aeat_mod340
@@ -290,13 +385,22 @@
290msgstr ""385msgstr ""
291386
292#. module: l10n_es_aeat_mod340387#. module: l10n_es_aeat_mod340
293#: selection:l10n.es.aeat.mod340,period:0388#: report:report mod340:0
294msgid "September"389#: report:report_mod340:0
295msgstr ""390msgid "MODELO AEAT 340"
296391msgstr ""
297#. module: l10n_es_aeat_mod340392
298#: selection:l10n.es.aeat.mod340,period:0393#. module: l10n_es_aeat_mod340
299msgid "December"394#: code:addons/l10n_es_aeat_mod340/account.py:95
395#, python-format
396msgid "The sign field is different.\n"
397""
398msgstr ""
399
400#. module: l10n_es_aeat_mod340
401#: view:l10n.es.aeat.mod340.issued:0
402#: view:l10n.es.aeat.mod340.received:0
403msgid "Total Tax"
300msgstr ""404msgstr ""
301405
302#. module: l10n_es_aeat_mod340406#. module: l10n_es_aeat_mod340
@@ -310,13 +414,25 @@
310msgstr ""414msgstr ""
311415
312#. module: l10n_es_aeat_mod340416#. module: l10n_es_aeat_mod340
313#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued417#: report:report mod340:0
314msgid "Mod340 vat lines issued"418#: report:report_mod340:0
315msgstr ""419msgid "Tipo de declaración"
316420msgstr ""
317#. module: l10n_es_aeat_mod340421
318#: field:l10n.es.aeat.mod340,total_taxable:0422#. module: l10n_es_aeat_mod340
319msgid "Total Taxable"423#: field:l10n.es.aeat.mod340,calculation_date:0
424msgid "Calculation date"
425msgstr ""
426
427#. module: l10n_es_aeat_mod340
428#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_vat_book_action
429#: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.vat_book
430msgid "Vat Book"
431msgstr ""
432
433#. module: l10n_es_aeat_mod340
434#: field:account.invoice,number_tickets:0
435msgid "Number of tickets"
320msgstr ""436msgstr ""
321437
322#. module: l10n_es_aeat_mod340438#. module: l10n_es_aeat_mod340
@@ -325,8 +441,10 @@
325msgstr ""441msgstr ""
326442
327#. module: l10n_es_aeat_mod340443#. module: l10n_es_aeat_mod340
328#: field:l10n.es.aeat.mod340,total_sharetax:0444#: code:addons/l10n_es_aeat_mod340/account.py:182
329msgid "Total Share Tax"445#, python-format
446msgid "Tax code %s: The parent tax code %s can not be set.\n"
447""
330msgstr ""448msgstr ""
331449
332#. module: l10n_es_aeat_mod340450#. module: l10n_es_aeat_mod340
@@ -335,19 +453,17 @@
335msgstr ""453msgstr ""
336454
337#. module: l10n_es_aeat_mod340455#. module: l10n_es_aeat_mod340
338#: code:addons/l10n_es_aeat_mod340/mod340.py:65456#: report:report mod340:0
339#, python-format457#: report:vat_book:0
340msgid "No disponible:"458msgid "Fecha"
341msgstr ""459msgstr ""
342460
343#. module: l10n_es_aeat_mod340461#. module: l10n_es_aeat_mod340
344#: code:addons/l10n_es_aeat_mod340/mod340.py:156462#: view:l10n.es.aeat.mod340:0
345#, python-format463msgid "In process"
346msgid "All partner state code field must be filled."464msgstr ""
347msgstr ""465
348466#. module: l10n_es_aeat_mod340
349#. module: l10n_es_aeat_mod340
350#: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340
351#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340467#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340
352#: view:l10n.es.aeat.mod340:0468#: view:l10n.es.aeat.mod340:0
353#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0469#: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0
@@ -369,22 +485,20 @@
369msgstr ""485msgstr ""
370486
371#. module: l10n_es_aeat_mod340487#. module: l10n_es_aeat_mod340
372#: code:addons/l10n_es_aeat_mod340/mod340.py:158488#: view:l10n.es.aeat.mod340.issued:0
373#, python-format489#: view:l10n.es.aeat.mod340.received:0
374msgid "All partner vat number field must be filled."490msgid "Total Base"
375msgstr ""491msgstr ""
376492
377#. module: l10n_es_aeat_mod340493#. module: l10n_es_aeat_mod340
378#: field:l10n.es.aeat.mod340.intracomunitarias,total:0494#: report:report mod340:0
379#: field:l10n.es.aeat.mod340.investment,total:0495#: report:report_mod340:0
380#: field:l10n.es.aeat.mod340.issued,total:0496msgid "Número de la declaración anterior:"
381#: field:l10n.es.aeat.mod340.received,total:0497msgstr ""
382msgid "total"498
383msgstr ""499#. module: l10n_es_aeat_mod340
384500#: field:account.invoice,first_ticket:0
385#. module: l10n_es_aeat_mod340501msgid "First ticket"
386#: selection:l10n.es.aeat.mod340,period:0
387msgid "August"
388msgstr ""502msgstr ""
389503
390#. module: l10n_es_aeat_mod340504#. module: l10n_es_aeat_mod340
@@ -393,33 +507,34 @@
393msgstr ""507msgstr ""
394508
395#. module: l10n_es_aeat_mod340509#. module: l10n_es_aeat_mod340
510#: help:account.invoice,is_ticket_summary:0
511msgid "Check if this invoice is a ticket summary"
512msgstr ""
513
514#. module: l10n_es_aeat_mod340
396#: selection:l10n.es.aeat.mod340,state:0515#: selection:l10n.es.aeat.mod340,state:0
397msgid "Processing"516msgid "Processing"
398msgstr ""517msgstr ""
399518
400#. module: l10n_es_aeat_mod340519#. module: l10n_es_aeat_mod340
401#: selection:l10n.es.aeat.mod340,period:0
402msgid "June"
403msgstr ""
404
405#. module: l10n_es_aeat_mod340
406#: field:l10n.es.aeat.mod340,contact_phone:0520#: field:l10n.es.aeat.mod340,contact_phone:0
407msgid "Phone"521msgid "Phone"
408msgstr ""522msgstr ""
409523
410#. module: l10n_es_aeat_mod340524#. module: l10n_es_aeat_mod340
411#: selection:l10n.es.aeat.mod340,period:0525#: field:account.invoice,last_ticket:0
412msgid "November"526msgid "Last ticket"
413msgstr ""527msgstr ""
414528
415#. module: l10n_es_aeat_mod340529#. module: l10n_es_aeat_mod340
416#: selection:l10n.es.aeat.mod340,period:0530#: field:account.invoice,is_ticket_summary:0
417msgid "October"531msgid "Ticket Summary"
418msgstr ""532msgstr ""
419533
420#. module: l10n_es_aeat_mod340534#. module: l10n_es_aeat_mod340
421#: selection:l10n.es.aeat.mod340,period:0535#: report:report mod340:0
422msgid "January"536#: report:vat_book:0
537msgid "Ejercicio fiscal:"
423msgstr ""538msgstr ""
424539
425#. module: l10n_es_aeat_mod340540#. module: l10n_es_aeat_mod340
@@ -441,8 +556,8 @@
441msgstr ""556msgstr ""
442557
443#. module: l10n_es_aeat_mod340558#. module: l10n_es_aeat_mod340
444#: selection:l10n.es.aeat.mod340,state:0559#: view:l10n.es.aeat.mod340:0
445msgid "Processed"560msgid "AEAT Modelo 340"
446msgstr ""561msgstr ""
447562
448#. module: l10n_es_aeat_mod340563#. module: l10n_es_aeat_mod340
@@ -451,6 +566,12 @@
451msgstr ""566msgstr ""
452567
453#. module: l10n_es_aeat_mod340568#. module: l10n_es_aeat_mod340
569#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74
570#, python-format
571msgid "Error"
572msgstr ""
573
574#. module: l10n_es_aeat_mod340
454#: field:l10n.es.aeat.mod340,representative_vat:0575#: field:l10n.es.aeat.mod340,representative_vat:0
455#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0576#: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0
456#: field:l10n.es.aeat.mod340.investment,representative_vat:0577#: field:l10n.es.aeat.mod340.investment,representative_vat:0
@@ -470,6 +591,12 @@
470msgstr ""591msgstr ""
471592
472#. module: l10n_es_aeat_mod340593#. module: l10n_es_aeat_mod340
594#: report:report mod340:0
595#: report:vat_book:0
596msgid "Base imponible"
597msgstr ""
598
599#. module: l10n_es_aeat_mod340
473#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0600#: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0
474msgid "Invoice received"601msgid "Invoice received"
475msgstr ""602msgstr ""
@@ -480,17 +607,17 @@
480msgstr ""607msgstr ""
481608
482#. module: l10n_es_aeat_mod340609#. module: l10n_es_aeat_mod340
483#: field:l10n.es.aeat.mod340,period:0
484msgid "Period"
485msgstr ""
486
487#. module: l10n_es_aeat_mod340
488#: view:l10n.es.aeat.mod340:0610#: view:l10n.es.aeat.mod340:0
489msgid "General"611msgid "General"
490msgstr ""612msgstr ""
491613
492#. module: l10n_es_aeat_mod340614#. module: l10n_es_aeat_mod340
493#: view:l10n.es.aeat.mod340:0615#: view:l10n.es.aeat.mod340:0
616msgid "In process models"
617msgstr ""
618
619#. module: l10n_es_aeat_mod340
620#: view:l10n.es.aeat.mod340:0
494#: selection:l10n.es.aeat.mod340,state:0621#: selection:l10n.es.aeat.mod340,state:0
495msgid "Done"622msgid "Done"
496msgstr ""623msgstr ""
@@ -501,6 +628,7 @@
501msgstr ""628msgstr ""
502629
503#. module: l10n_es_aeat_mod340630#. module: l10n_es_aeat_mod340
631#: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice
504#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0632#: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0
505#: field:l10n.es.aeat.mod340.investment,invoice_id:0633#: field:l10n.es.aeat.mod340.investment,invoice_id:0
506#: field:l10n.es.aeat.mod340.issued,invoice_id:0634#: field:l10n.es.aeat.mod340.issued,invoice_id:0
@@ -519,8 +647,9 @@
519msgstr ""647msgstr ""
520648
521#. module: l10n_es_aeat_mod340649#. module: l10n_es_aeat_mod340
522#: selection:l10n.es.aeat.mod340,period:0650#: report:report mod340:0
523msgid "Fourth quarter"651#: report:report_mod340:0
652msgid "Código electrónico autoliquidación IVA:"
524msgstr ""653msgstr ""
525654
526#. module: l10n_es_aeat_mod340655#. module: l10n_es_aeat_mod340
@@ -529,6 +658,7 @@
529msgstr ""658msgstr ""
530659
531#. module: l10n_es_aeat_mod340660#. module: l10n_es_aeat_mod340
661#: view:account.invoice:0
532#: view:l10n.es.aeat.mod340:0662#: view:l10n.es.aeat.mod340:0
533msgid "AEAT 340"663msgid "AEAT 340"
534msgstr ""664msgstr ""
@@ -555,8 +685,9 @@
555msgstr ""685msgstr ""
556686
557#. module: l10n_es_aeat_mod340687#. module: l10n_es_aeat_mod340
558#: selection:l10n.es.aeat.mod340,period:0688#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178
559msgid "May"689#, python-format
690msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f"
560msgstr ""691msgstr ""
561692
562#. module: l10n_es_aeat_mod340693#. module: l10n_es_aeat_mod340
@@ -573,6 +704,12 @@
573msgstr ""704msgstr ""
574705
575#. module: l10n_es_aeat_mod340706#. module: l10n_es_aeat_mod340
707#: report:report mod340:0
708#: report:vat_book:0
709msgid "Número de factura"
710msgstr ""
711
712#. module: l10n_es_aeat_mod340
576#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0713#: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0
577#: field:l10n.es.aeat.mod340.investment,partner_vat:0714#: field:l10n.es.aeat.mod340.investment,partner_vat:0
578#: field:l10n.es.aeat.mod340.issued,partner_vat:0715#: field:l10n.es.aeat.mod340.issued,partner_vat:0
@@ -602,8 +739,9 @@
602msgstr ""739msgstr ""
603740
604#. module: l10n_es_aeat_mod340741#. module: l10n_es_aeat_mod340
605#: selection:l10n.es.aeat.mod340,period:0742#: report:report mod340:0
606msgid "February"743#: report:report_mod340:0
744msgid "Número:"
607msgstr ""745msgstr ""
608746
609#. module: l10n_es_aeat_mod340747#. module: l10n_es_aeat_mod340
@@ -619,8 +757,19 @@
619msgstr ""757msgstr ""
620758
621#. module: l10n_es_aeat_mod340759#. module: l10n_es_aeat_mod340
622#: selection:l10n.es.aeat.mod340,period:0760#: report:report mod340:0
623msgid "April"761#: report:report_mod340:0
762msgid "Tipo de soporte:"
763msgstr ""
764
765#. module: l10n_es_aeat_mod340
766#: field:l10n.es.aeat.mod340,attach_id:0
767msgid "BOE file"
768msgstr ""
769
770#. module: l10n_es_aeat_mod340
771#: view:l10n.es.aeat.mod340:0
772msgid "Draft models"
624msgstr ""773msgstr ""
625774
626#. module: l10n_es_aeat_mod340775#. module: l10n_es_aeat_mod340
@@ -630,12 +779,25 @@
630msgstr ""779msgstr ""
631780
632#. module: l10n_es_aeat_mod340781#. module: l10n_es_aeat_mod340
782#: report:report mod340:0
783#: report:vat_book:0
784msgid "CIF/NIF"
785msgstr ""
786
787#. module: l10n_es_aeat_mod340
633#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received788#: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received
634#: field:l10n.es.aeat.mod340,received:0789#: field:l10n.es.aeat.mod340,received:0
635msgid "Invoices Received"790msgid "Invoices Received"
636msgstr ""791msgstr ""
637792
638#. module: l10n_es_aeat_mod340793#. module: l10n_es_aeat_mod340
794#: code:addons/l10n_es_aeat_mod340/account.py:92
795#, python-format
796msgid "The info field is different.\n"
797""
798msgstr ""
799
800#. module: l10n_es_aeat_mod340
639#: selection:l10n.es.aeat.mod340,support_type:0801#: selection:l10n.es.aeat.mod340,support_type:0
640msgid "Telematics"802msgid "Telematics"
641msgstr ""803msgstr ""
@@ -646,8 +808,9 @@
646msgstr ""808msgstr ""
647809
648#. module: l10n_es_aeat_mod340810#. module: l10n_es_aeat_mod340
649#: selection:l10n.es.aeat.mod340,period:0811#: report:report mod340:0
650msgid "Second quarter"812#: report:vat_book:0
813msgid "Empresa"
651msgstr ""814msgstr ""
652815
653#. module: l10n_es_aeat_mod340816#. module: l10n_es_aeat_mod340
@@ -656,43 +819,48 @@
656msgstr ""819msgstr ""
657820
658#. module: l10n_es_aeat_mod340821#. module: l10n_es_aeat_mod340
659#: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0822#: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts
660#: field:l10n.es.aeat.mod340.investment,tax_line_ids:0823msgid "wizard.update.charts.accounts"
661#: field:l10n.es.aeat.mod340.issued,tax_line_ids:0824msgstr ""
662msgid "tax lines"825
826#. module: l10n_es_aeat_mod340
827#: report:report mod340:0
828#: report:vat_book:0
829msgid "Total factura"
830msgstr ""
831
832#. module: l10n_es_aeat_mod340
833#: report:report mod340:0
834#: report:vat_book:0
835msgid "FACTURAS DE ENTRADA"
663msgstr ""836msgstr ""
664837
665#. module: l10n_es_aeat_mod340838#. module: l10n_es_aeat_mod340
666#: field:l10n.es.aeat.mod340,total:0839#: field:l10n.es.aeat.mod340,total:0
840#: field:l10n.es.aeat.mod340.intracomunitarias,total:0
841#: field:l10n.es.aeat.mod340.investment,total:0
842#: view:l10n.es.aeat.mod340.issued:0
843#: field:l10n.es.aeat.mod340.issued,total:0
844#: view:l10n.es.aeat.mod340.received:0
845#: field:l10n.es.aeat.mod340.received,total:0
667msgid "Total"846msgid "Total"
668msgstr ""847msgstr ""
669848
670#. module: l10n_es_aeat_mod340849#. module: l10n_es_aeat_mod340
671#: field:account.invoice,number_tickets:0850#: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template
672msgid "Number of tickets"851msgid "Tax Code Template"
673msgstr ""852msgstr ""
674853
675#. module: l10n_es_aeat_mod340854#. module: l10n_es_aeat_mod340
676#: field:account.invoice,first_ticket:0855#: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109
677msgid "First ticket"856#, python-format
678msgstr ""857msgid "La siguiente empresa no tiene asignado nif:"
679858msgstr ""
680#. module: l10n_es_aeat_mod340859
681#: help:account.invoice,is_ticket_summary:0860#. module: l10n_es_aeat_mod340
682msgid "Check if this invoice is a ticket summary"861#: field:l10n.es.aeat.mod340.intracomunitarias,date_invoice:0
683msgstr ""862#: field:l10n.es.aeat.mod340.investment,date_invoice:0
684863#: field:l10n.es.aeat.mod340.issued,date_invoice:0
685#. module: l10n_es_aeat_mod340864#: field:l10n.es.aeat.mod340.received,date_invoice:0
686#: field:account.invoice,last_ticket:0865msgid "Date Invoice"
687msgid "Last ticket"
688msgstr ""
689
690#. module: l10n_es_aeat_mod340
691#: field:account.invoice,is_ticket_summary:0
692msgid "Ticket Summary"
693msgstr ""
694
695#. module: account
696#: view:account.invoice:0
697msgid "Tickets"
698msgstr ""866msgstr ""
699\ No newline at end of file867\ No newline at end of file
700868
=== modified file 'l10n_es_aeat_mod340/mod340.py'
--- l10n_es_aeat_mod340/mod340.py 2013-11-15 03:13:35 +0000
+++ l10n_es_aeat_mod340/mod340.py 2014-02-03 11:19:23 +0000
@@ -3,7 +3,7 @@
3#3#
4# OpenERP, Open Source Management Solution4# OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved6# Copyright (c) 2011-2013 Acysos S.L.(http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.8# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.
9# http://www.NaN-tic.com9# http://www.NaN-tic.com
@@ -11,8 +11,8 @@
11# $Id$11# $Id$
12#12#
13# This program is free software: you can redistribute it and/or modify13# This program is free software: you can redistribute it and/or modify
14# it under the terms of the GNU Affero General Public License as published by14# it under the terms of the GNU Affero General Public License as published
15# the Free Software Foundation, either version 3 of the License, or15# by the Free Software Foundation, either version 3 of the License, or
16# (at your option) any later version.16# (at your option) any later version.
17#17#
18# This program is distributed in the hope that it will be useful,18# This program is distributed in the hope that it will be useful,
@@ -34,9 +34,6 @@
34from tools.translate import _34from tools.translate import _
35import pooler35import pooler
3636
37
38
39
40class l10n_es_aeat_mod340(osv.osv):37class l10n_es_aeat_mod340(osv.osv):
41 38
42 def button_calculate(self, cr, uid, ids, args, context=None):39 def button_calculate(self, cr, uid, ids, args, context=None):
@@ -47,7 +44,6 @@
47 calculate_obj = self.pool.get('l10n.es.aeat.mod340.calculate_records')44 calculate_obj = self.pool.get('l10n.es.aeat.mod340.calculate_records')
48 calculate_obj._wkf_calculate_records(cr, uid, ids, context) 45 calculate_obj._wkf_calculate_records(cr, uid, ids, context)
49 46
50
51 return True47 return True
52 48
53 def button_recalculate(self, cr, uid, ids, context=None):49 def button_recalculate(self, cr, uid, ids, context=None):
@@ -60,15 +56,13 @@
60 return True56 return True
6157
62 def button_export(self, cr, uid, ids, context=None):58 def button_export(self, cr, uid, ids, context=None):
63 #FUNCION CALCADA DEL MODELO 347, inoperativa de momento
64
65 #raise osv.except_osv(_('No disponible:'), _('En desarrollo'))
66 59
67 if context is None:60 if context is None:
68 context = {}61 context = {}
6962
70 export_obj = self.pool.get("l10n.es.aeat.mod340.export_to_boe")63 export_obj = self.pool.get("l10n.es.aeat.mod340.export_to_boe")
71 export_obj._export_boe_file(cr, uid, ids, self.browse(cr, uid, ids and ids[0]))64 report = self.browse(cr, uid, ids and ids[0])
65 export_obj._export_boe_file(cr, uid, ids, report)
7266
73 return True67 return True
74 68
@@ -85,91 +79,83 @@
85 79
86 result = {} 80 result = {}
87 for id in ids:81 for id in ids:
88 result[id] = {}.fromkeys(['number_records','total_taxable','total_sharetax','total'], 0.0)82 result[id] = {}.fromkeys(
83 ['number_records','total_taxable','total_sharetax','total'],
84 0.0)
89 85
90 for model in self.browse(cr, uid, ids,context):86 for model in self.browse(cr, uid, ids,context):
9187
92 for issue in model.issued:88 for issue in model.issued:
93 result[model.id]['number_records'] += len( issue.tax_line_ids )89 result[model.id]['number_records'] += len( issue.tax_line_ids )
94 result[model.id]['total_taxable'] +=issue.base_tax90 result[model.id]['total_taxable'] +=issue.base_tax
95 result[model.id]['total_sharetax'] +=issue.amount_tax91 result[model.id]['total_sharetax'] +=issue.amount_tax
96 result[model.id]['total'] +=issue.base_tax + issue.amount_tax92 result[model.id]['total'] +=issue.base_tax + issue.amount_tax
9793
98 for issue in model.received:94 for issue in model.received:
99 result[model.id]['number_records'] += len( issue.tax_line_ids )95 result[model.id]['number_records'] += len( issue.tax_line_ids )
100 result[model.id]['total_taxable'] +=issue.base_tax96 result[model.id]['total_taxable'] +=issue.base_tax
101 result[model.id]['total_sharetax'] +=issue.amount_tax97 result[model.id]['total_sharetax'] +=issue.amount_tax
102 result[model.id]['total'] +=issue.base_tax + issue.amount_tax98 result[model.id]['total'] +=issue.base_tax + issue.amount_tax
10399
104 return result100 return result
105101
106
107
108 _inherit = "l10n.es.aeat.report"102 _inherit = "l10n.es.aeat.report"
109 _name = 'l10n.es.aeat.mod340'103 _name = 'l10n.es.aeat.mod340'
110 _description = 'Model 340'104 _description = 'Model 340'
111 _columns = {105 _columns = {
112 'name': fields.function(_name_get, method=True, type="char", size="64", string="Name"),106 'name': fields.function(_name_get, method=True, type="char",
107 size="64", string="Name"),
113 'contact_phone': fields.char("Phone", size=9),108 'contact_phone': fields.char("Phone", size=9),
114 'phone_contact' : fields.char('Phone Contact',size=9),109 'phone_contact' : fields.char('Phone Contact',size=9),
115 'name_contact' : fields.char('Name And Surname Contact',size=40),110 'name_contact' : fields.char('Name And Surname Contact',size=40),
116 'period': fields.selection([111 'period_from': fields.many2one('account.period', 'Start period',
117 ('1T','First quarter'),('2T','Second quarter'),('3T','Third quarter'),112 states={'done': [('readonly', True)]}),
118 ('4T','Fourth quarter'),('01','January'),('02','February'),('03','March'),('04','April'),113 'period_to': fields.many2one('account.period', 'End period',
119 ('05','May'),('06','June'),('07','July'),('08','August'),('09','September'),('10','October'),114 states={'done': [('readonly', True)]}),
120 ('11','November'),('12','December')115 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id',
121 ], 'Period'),116 'Invoices Issued',
122 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id','Invoices Issued'),117 states={'done': [('readonly', True)]}),
123 'received': fields.one2many('l10n.es.aeat.mod340.received','mod340_id','Invoices Received'),118 'received': fields.one2many('l10n.es.aeat.mod340.received',
124 'investment': fields.one2many(119 'mod340_id','Invoices Received',
125 'l10n.es.aeat.mod340.investment','mod340_id','Property Investment'),120 states={'done': [('readonly', True)]}),
126 'intracomunitarias': fields.one2many('l10n.es.aeat.mod340.intracomunitarias','mod340_id','Operations Intracomunitarias'),121 'investment': fields.one2many('l10n.es.aeat.mod340.investment',
122 'mod340_id','Property Investment'),
123 'intracomunitarias': fields.one2many(
124 'l10n.es.aeat.mod340.intracomunitarias',
125 'mod340_id','Operations Intracomunitarias'),
127 126
128 'ean13': fields.char('Electronic Code VAT reverse charge', size=16),127 'ean13': fields.char('Electronic Code VAT reverse charge', size=16),
129128
130 'total_taxable': fields.function( _get_number_records, method=True, type='float', string='Total Taxable', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),129 'total_taxable': fields.function(_get_number_records, method=True,
131 'total_sharetax': fields.function( _get_number_records, method=True, type='float', string='Total Share Tax', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),130 type='float', string='Total Taxable', multi='recalc',
132 'number_records': fields.function( _get_number_records, method=True, type='integer', string='Records', multi='recalc', help="The declaration will include partners with the total of operations over this limit"),131 help="""The declaration will include partners with the total
133 'total': fields.function( _get_number_records, method=True, type='float', string="Total" , multi='recalc', help="The declaration will include partners with the total of operations over this limit"),132 of operations over this limit"""),
133 'total_sharetax': fields.function(_get_number_records, method=True,
134 type='float', string='Total Share Tax', multi='recalc',
135 help="""The declaration will include partners with the total
136 of operations over this limit"""),
137 'number_records': fields.function(_get_number_records, method=True,
138 type='integer', string='Records', multi='recalc',
139 help="""The declaration will include partners with the total
140 of operations over this limit"""),
141 'total': fields.function(_get_number_records, method=True,
142 type='float', string="Total", multi='recalc',
143 help="""The declaration will include partners with the total
144 of operations over this limit"""),
134 'calculation_date': fields.date('Calculation date', readonly=True),145 'calculation_date': fields.date('Calculation date', readonly=True),
146 'attach_id':fields.many2one('ir.attachment',
147 'BOE file', readonly=True),
135 }148 }
136 _defaults = {149 _defaults = {
137 'support_type' : lambda *a: 'Telemático',
138 'number' : lambda *a: '340',150 'number' : lambda *a: '340',
139 'type': lambda *a: 'Normal'
140 }151 }
141152
142 def set_done(self, cr, uid, id, *args):153 def set_done(self, cr, uid, id, *args):
143 self.write(cr,uid,id,{'calculation_date': time.strftime('%Y-%m-%d'),'state': 'done',})154 self.write(cr,uid,id,{'calculation_date': time.strftime('%Y-%m-%d'),
155 'state': 'done',})
144 wf_service = netsvc.LocalService("workflow")156 wf_service = netsvc.LocalService("workflow")
145 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', id, 'done', cr)157 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', id, 'done', cr)
146 return True158 return True
147
148 def _check_report_lines(self, cr, uid, ids, context=None):
149 """checks report lines"""
150# if context is None: context = {}
151
152# for item in self.browse(cr, uid, ids, context):
153# ## Browse partner record lines to check if all are correct (all fields filled)
154# for partner_record in item.partner_record_ids:
155# if not partner_record.partner_state_code:
156# raise osv.except_osv(_('Error!'), _("All partner state code field must be filled."))
157# if not partner_record.partner_vat:
158# raise osv.except_osv(_('Error!'), _("All partner vat number field must be filled."))
159#
160# for real_state_record in item.real_state_record_ids:
161# if not real_state_record.state_code:
162# raise osv.except_osv(_('Error!'), _("All real estate records state code field must be filled."))
163
164 return True
165
166 def check_report(self, cr, uid, ids, context=None):
167 """Different check out in report"""
168 if context is None: context = {}
169
170 self._check_report_lines(cr, uid, ids, context)
171
172 return True
173159
174 def action_confirm(self, cr, uid, ids, context=None):160 def action_confirm(self, cr, uid, ids, context=None):
175 """set to done the report and check its records"""161 """set to done the report and check its records"""
@@ -200,17 +186,25 @@
200 _name = 'l10n.es.aeat.mod340.issued'186 _name = 'l10n.es.aeat.mod340.issued'
201 _description = 'Invoices invoice'187 _description = 'Invoices invoice'
202 _columns = { 188 _columns = {
203 'mod340_id': fields.many2one('l10n.es.aeat.mod340','Model 340',ondelete="cascade"),189 'mod340_id': fields.many2one('l10n.es.aeat.mod340','Model 340',
204 'partner_id':fields.many2one('res.partner','Partner',ondelete="cascade"),190 ondelete="cascade"),
191 'partner_id':fields.many2one('res.partner','Partner',
192 ondelete="cascade"),
205 'partner_vat':fields.char('Company CIF/NIF',size=12),193 'partner_vat':fields.char('Company CIF/NIF',size=12),
206 'representative_vat': fields.char('L.R. VAT number', size=9, help="Legal Representative VAT number"),194 'representative_vat': fields.char('L.R. VAT number', size=9,
195 help="Legal Representative VAT number"),
207 'partner_country_code': fields.char('Country Code', size=2),196 'partner_country_code': fields.char('Country Code', size=2),
208 'invoice_id':fields.many2one('account.invoice','Invoice',ondelete="cascade"),197 'invoice_id':fields.many2one('account.invoice','Invoice',
209 'base_tax':fields.float('base tax bill',digits=(13,2)),198 ondelete="cascade"),
210 'amount_tax':fields.float('amount of the tax',digits=(13,2)),199 'base_tax':fields.float('Base tax bill',digits=(13,2)),
211 'total':fields.float('total',digits=(13,2)),200 'amount_tax':fields.float('Total tax',digits=(13,2)),
212 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', 'invoice_record_id', 'tax lines', states = {'done': [('readonly', True)]}),201 'total':fields.float('Total',digits=(13,2)),
202 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued',
203 'invoice_record_id', 'Tax lines'),
204 'date_invoice': fields.date('Date Invoice', readonly=True),
213 }205 }
206
207 _order = 'date_invoice asc, invoice_id asc'
214l10n_es_aeat_mod340_issued()208l10n_es_aeat_mod340_issued()
215209
216class l10n_es_aeat_mod340_received(osv.osv):210class l10n_es_aeat_mod340_received(osv.osv):
@@ -218,7 +212,8 @@
218 _description = 'Invoices Received'212 _description = 'Invoices Received'
219 _inherit = 'l10n.es.aeat.mod340.issued'213 _inherit = 'l10n.es.aeat.mod340.issued'
220 _columns = {214 _columns = {
221 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_received', 'invoice_record_id', 'Tax lines', states = {'done': [('readonly', True)]}),215 'tax_line_ids':fields.one2many('l10n.es.aeat.mod340.tax_line_received',
216 'invoice_record_id', 'Tax lines'),
222 }217 }
223l10n_es_aeat_mod340_received()218l10n_es_aeat_mod340_received()
224219
@@ -242,7 +237,8 @@
242 'tax_percentage': fields.float('Tax percentage',digits=(0,2)),237 'tax_percentage': fields.float('Tax percentage',digits=(0,2)),
243 'tax_amount': fields.float('Tax amount',digits=(13,2)),238 'tax_amount': fields.float('Tax amount',digits=(13,2)),
244 'base_amount': fields.float('Base tax bill',digits=(13,2)),239 'base_amount': fields.float('Base tax bill',digits=(13,2)),
245 'invoice_record_id': fields.many2one('l10n.es.aeat.mod340.issued', 'Invoice issued', required=True, ondelete="cascade", select=1),240 'invoice_record_id': fields.many2one('l10n.es.aeat.mod340.issued',
241 'Invoice issued', required=True, ondelete="cascade", select=1),
246 }242 }
247l10n_es_aeat_mod340_tax_line_issued()243l10n_es_aeat_mod340_tax_line_issued()
248244
@@ -251,6 +247,7 @@
251 _description = 'Mod340 vat lines received'247 _description = 'Mod340 vat lines received'
252 _inherit = 'l10n.es.aeat.mod340.tax_line_issued'248 _inherit = 'l10n.es.aeat.mod340.tax_line_issued'
253 _columns = {249 _columns = {
254 'invoice_record_id': fields.many2one('l10n.es.aeat.mod340.received', 'Invoice received', required=True, ondelete="cascade", select=1),250 'invoice_record_id': fields.many2one('l10n.es.aeat.mod340.received',
251 'Invoice received', required=True, ondelete="cascade", select=1),
255 }252 }
256l10n_es_aeat_mod340_tax_line_received()253l10n_es_aeat_mod340_tax_line_received()
257254
=== modified file 'l10n_es_aeat_mod340/mod340_view.xml'
--- l10n_es_aeat_mod340/mod340_view.xml 2011-09-20 06:58:23 +0000
+++ l10n_es_aeat_mod340/mod340_view.xml 2014-02-03 11:19:23 +0000
@@ -1,217 +1,195 @@
1<?xml version="1.0" encoding="utf-8"?>1<?xml version="1.0" encoding="utf-8"?>
2<openerp>2<openerp>
3 <data>3 <data>
4 <!-- Modelo 340 -->4 <!-- Modelo 340 -->
5 <record model="ir.ui.view" id="view_account_mod340_tree">5 <record model="ir.ui.view" id="view_l10n_es_aeat_mod340_tree">
6 <field name="name">l10n.es.aeat.mod340.tree</field>6 <field name="name">l10n.es.aeat.mod340.tree</field>
7 <field name="model">l10n.es.aeat.mod340</field>7 <field name="model">l10n.es.aeat.mod340</field>
8 <field name="type">tree</field>8 <field name="type">tree</field>
9 <!--<field name="priority" eval="5"/>-->9 <field name="arch" type="xml">
10 <field name="arch" type="xml">10 <tree string="Model 340">
11 <tree string="Model 340">11 <field name="fiscalyear_id"/>
12 <field name="period"/>12 <field name="period_from"/>
13 <field name="fiscalyear_id"/>13 <field name="period_to"/>
14 <field name="number"/>14 <field name="number"/>
15 <field name="type"/>15 <field name="type"/>
16 </tree>16 <field name="state" invisible="1"/>
17 </field>17 </tree>
18 </record>18 </field>
1919 </record>
20 <record model="ir.ui.view" id="view_account_mod340_form">20
21 <field name="name">l10n.es.aeat.mod340.form</field>21 <record id="view_l10n_es_aeat_mod340_form" model="ir.ui.view">
22 <field name="model">l10n.es.aeat.mod340</field>22 <field name="name">l10n_es.aeat.mod340.form</field>
23 <field name="type">form</field>23 <field name="model">l10n.es.aeat.mod340</field>
24 <field name="priority" eval="5"/>24 <field name="inherit_id" ref="l10n_es_aeat.view_l10n_es_aeat_report_form"/>
25 <field name="arch" type="xml">25 <field name="arch" type="xml">
26 <form string="Model 340">26 <button name="%(l10n_es_aeat.action_wizard_aeat_export)d" position="attributes">
27 <group col="6" colspan="4">27 <attribute name="name">%(action_wizard_aeat_mod340_export)d</attribute>
28 <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1" readonly="1"/>28 </button>
29 <newline/>29 <field name="fiscalyear_id" position="after">
30 <field name="fiscalyear_id" select="1"/>30 <field name="period_from" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
31 <field name="period" select="1" required="1"/>31 <field name="period_to" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/>
32 <newline />32 </field>
33 <field name="number"/>33 <field name="calculation_date" position="after">
34 <field name="support_type"/>34 <field name="number"/>
35 </group>35 <field name="support_type"/>
36 <notebook colspan="4">36 </field>
37 <page string="General">37 <group string="Declaración" position="after">
38 <group string="Identification" colspan="4">38 <notebook colspan="4">
39 <field name="company_vat" required="1" />39 <page string="General">
40 <field name="contact_phone"/>40 <group string="Identification" colspan="4">
41 <field name="name_contact" colspan="4"/>41 <field name="phone_contact" />
42 <field name="representative_vat"/>42 <field name="name_contact" />
43 </group>43 <field name="representative_vat" />
44 <group string="Susbtitutive/complementary declaration" colspan="4">44 </group>
45 <field name="type"/>45 <group string="Susbtitutive/complementary declaration" colspan="4">
46 <field name="previous_number"/>46 <field name="type"/>
47 </group>47 <field name="previous_number"/>
48 <group string="Electronic Code VAT reverse charge" colspan="4">48 </group>
49 <field name="ean13" nolabel="1"/>49 <group string="Electronic Code VAT reverse charge" colspan="4">
50 </group>50 <field name="ean13" nolabel="1"/>
51 <group string="Summary" colspan="4">51 </group>
52 <field name="number_records" select ="2" readonly="1"/>52 <group string="Summary" colspan="4">
53 <newline/>53 <field name="number_records" select ="2" readonly="1"/>
54 <field name="total_taxable" select ="2" readonly="1"/>54 <newline/>
55 <field name="total_sharetax" select ="2" readonly="1"/>55 <field name="total_taxable" select ="2" readonly="1"/>
56 <field name="total" select="2" readonly="1"/>56 <field name="total_sharetax" select ="2" readonly="1"/>
57 <newline/>57 <field name="total" select="2" readonly="1"/>
58 <field name="calculation_date" select ="2" readonly="1"/>58 <newline/>
59 </group>59 <field name="calculation_date" select ="2" readonly="1"/>
60 <group colspan="4" col="10"> 60 </group>
61 <field name="state" select="2" readonly="1"/>61 <group colspan="4" col="10">
62 </group>62 </group>
63 <group colspan="4" col="10">63 </page>
64 <button name="button_calculate"64 <page string="Issued invoice" >
65 type="object"65 <field name="issued" nolabel="1" />
66 string="Calculate"66 </page>
67 states="draft" 67 <page string="Received invoice" >
68 icon="terp-stock_format-scientific"68 <field name="received" nolabel="1" />
69 /> 69 </page>
70 <button name="button_recalculate"70 </notebook>
71 type="object"71 </group>
72 string="Recalculate"72 </field>
73 states="calculating,calculated"73 </record>
74 icon="gtk-execute"/>74 <!-- FIN Modelo 340 -->
75 <button name="button_export"75
76 type="object"76
77 string="Export to BOE"77 <!--Invoice Issued-->
78 states="done"78
79 icon="gtk-execute"/>79 <record id="view_l10n_es_aeat_mod340_invoice_issued_tree" model="ir.ui.view">
80 <button name="confirm" string="Confirm" type="object" states="calculated" icon="gtk-ok"/>80 <field name="name">l10n.es.aeat.mod340.issued.tree</field>
81 <button name="cancel" string="Cancel" type="object" states="calculated,done" icon="gtk-cancel"/>81 <field name="model">l10n.es.aeat.mod340.issued</field>
82 <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/>82 <field name="type">tree</field>
83 83 <field name="arch" type="xml">
84 </group>84 <tree string="Issued invoices">
85 </page>85 <field name="date_invoice"/>
86 <page string="Issued invoice" >86 <field name="partner_id"/>
87 <field name="issued" nolabel="1" />87 <field name="partner_country_code"/>
88 </page>88 <field name="partner_vat"/>
89 <page string="Received invoice" >89 <field name="invoice_id"/>
90 <field name="received" nolabel="1" /> 90 <field name="base_tax" sum="Total Base" />
91 </page>91 <field name="amount_tax" sum="Total Tax" />
92 92 <field name="total" sum="Total"/>
93 </notebook>93 </tree>
94 </form>94 </field>
95 </field>95 </record>
96 </record>96
97 <!-- FIN Modelo 340 -->97 <record id="view_l10n_es_aeat_mod340_invoice_issued_form" model="ir.ui.view">
9898 <field name="name">l10n.es.aeat.mod340.issued.form</field>
9999 <field name="model">l10n.es.aeat.mod340.issued</field>
100 <!--Invoice Issued-->100 <field name="type">form</field>
101 101 <field name="arch" type="xml">
102 <record id="view_l10n_es_aeat_mod340_invoice_issued_tree" model="ir.ui.view">102 <form string="Issued invoices">
103 <field name="name">l10n.es.aeat.mod340.issued.tree</field>103 <field name="invoice_id"/>
104 <field name="model">l10n.es.aeat.mod340.issued</field>104 <newline/>
105 <field name="type">tree</field>105 <field name="partner_id"/>
106 <field name="arch" type="xml">106 <field name="partner_vat"/>
107 <tree string="Issued invoices">107 <field name="representative_vat"/>
108 <field name="partner_id"/>108 <field name="partner_country_code"/>
109 <field name="partner_country_code"/>109 <newline/>
110 <field name="partner_vat"/>110 <field name="base_tax" />
111 <field name="invoice_id"/>111 <field name="amount_tax" />
112 <field name="base_tax" sum="Total Base" />112 <newline/>
113 <field name="amount_tax" sum="Total Tax" />113 <field name="total"/>
114 <field name="total" sum="Total"/>114 <newline />
115 </tree> 115 <field name="tax_line_ids" />
116 </field>116 </form>
117 </record>117 </field>
118 118 </record>
119 <record id="view_l10n_es_aeat_mod340_invoice_issued_form" model="ir.ui.view">119
120 <field name="name">l10n.es.aeat.mod340.issued.form</field>120 <!--Invoice Received-->
121 <field name="model">l10n.es.aeat.mod340.issued</field>121
122 <field name="type">form</field>122 <record id="view_l10n_es_aeat_mod340_invoice_received_tree" model="ir.ui.view">
123 <field name="arch" type="xml">123 <field name="name">l10n.es.aeat.mod340.received.tree</field>
124 <form string="Issued invoices">124 <field name="model">l10n.es.aeat.mod340.received</field>
125 <field name="invoice_id"/>125 <field name="type">tree</field>
126 <newline/>126 <field name="arch" type="xml">
127 <field name="partner_id"/>127 <tree string="Received invoices">
128 <field name="partner_vat"/>128 <field name="partner_id"/>
129 <field name="representative_vat"/>129 <field name="partner_country_code"/>
130 <field name="partner_country_code"/>130 <field name="partner_vat"/>
131 <newline/>131 <field name="invoice_id"/>
132 <field name="base_tax" />132 <field name="base_tax" sum="Total Base"/>
133 <field name="amount_tax" />133 <field name="amount_tax" sum="Total Tax"/>
134 <newline/>134 <field name="total" sum="Total"/>
135 <field name="total"/>135 </tree>
136 <newline />136 </field>
137 <field name="tax_line_ids" />137 </record>
138 </form> 138
139 </field>139 <record id="view_l10n_es_aeat_mod340_invoice_received_form" model="ir.ui.view">
140 </record>140 <field name="name">l10n.es.aeat.mod340.received.form</field>
141141 <field name="model">l10n.es.aeat.mod340.received</field>
142 <!--Invoice Received-->142 <field name="type">form</field>
143 143 <field name="arch" type="xml">
144 <record id="view_l10n_es_aeat_mod340_invoice_received_tree" model="ir.ui.view">144 <form string="Received invoices">
145 <field name="name">l10n.es.aeat.mod340.received.tree</field>145 <field name="invoice_id"/>
146 <field name="model">l10n.es.aeat.mod340.received</field>146 <newline/>
147 <field name="type">tree</field>147 <field name="partner_id"/>
148 <field name="arch" type="xml">148 <field name="partner_vat"/>
149 <tree string="Received invoices">149 <field name="representative_vat"/>
150 <field name="partner_id"/>150 <field name="partner_country_code"/>
151 <field name="partner_country_code"/>151 <newline/>
152 <field name="partner_vat"/>152 <field name="base_tax"/>
153 <field name="invoice_id"/>153 <field name="amount_tax"/>
154 <field name="base_tax" sum="Total Base"/>154 <newline/>
155 <field name="amount_tax" sum="Total Tax"/>155 <field name="total"/>
156 <field name="total" sum="Total"/>156 <newline />
157 </tree> 157 <field name="tax_line_ids" />
158 </field>158 </form>
159 </record>159 </field>
160 160 </record>
161 <record id="view_l10n_es_aeat_mod340_invoice_received_form" model="ir.ui.view">161
162 <field name="name">l10n.es.aeat.mod340.received.form</field>162 <!--Vat Lines-->
163 <field name="model">l10n.es.aeat.mod340.received</field>163
164 <field name="type">form</field>164 <record id="view_l10n_es_aeat_mod340_tax_line_issued_form" model="ir.ui.view">
165 <field name="arch" type="xml">165 <field name="name">l10n.es.aeat.mod340.tax_line_issued.form</field>
166 <form string="Received invoices">166 <field name="model">l10n.es.aeat.mod340.tax_line_issued</field>
167 <field name="invoice_id"/>167 <field name="type">form</field>
168 <newline/>168 <field name="arch" type="xml">
169 <field name="partner_id"/>169 <form string="Tax line issued">
170 <field name="partner_vat"/>170 <field name="name"/>
171 <field name="representative_vat"/>171 <field name="tax_percentage"/>
172 <field name="partner_country_code"/>172 <field name="tax_amount"/>
173 <newline/>173 <field name="base_amount"/>
174 <field name="base_tax"/>174 </form>
175 <field name="amount_tax"/>175 </field>
176 <newline/>176 </record>
177 <field name="total"/>177
178 <newline />178 <record id="view_l10n_es_aeat_mod340_tax_line_received_form" model="ir.ui.view">
179 <field name="tax_line_ids" />179 <field name="name">l10n.es.aeat.mod340.tax_line_received.form</field>
180 </form> 180 <field name="model">l10n.es.aeat.mod340.tax_line_received</field>
181 </field>181 <field name="type">form</field>
182 </record>182 <field name="arch" type="xml">
183 183 <form string="Tax line received">
184 <!--Vat Lines-->184 <field name="name"/>
185 185 <field name="tax_percentage"/>
186 <record id="view_l10n_es_aeat_mod340_tax_line_issued_form" model="ir.ui.view">186 <field name="tax_amount"/>
187 <field name="name">l10n.es.aeat.mod340.tax_line_issued.form</field>187 <field name="base_amount"/>
188 <field name="model">l10n.es.aeat.mod340.tax_line_issued</field>188 </form>
189 <field name="type">form</field>189 </field>
190 <field name="arch" type="xml">190 </record>
191 <form string="Tax line issued">191
192 <field name="name"/>192 <record id="view_l10n_es_aeat_mod340_report_search" model="ir.ui.view">
193 <field name="tax_percentage"/>
194 <field name="tax_amount"/>
195 <field name="base_amount"/>
196 </form>
197 </field>
198 </record>
199
200 <record id="view_l10n_es_aeat_mod340_tax_line_received_form" model="ir.ui.view">
201 <field name="name">l10n.es.aeat.mod340.tax_line_received.form</field>
202 <field name="model">l10n.es.aeat.mod340.tax_line_received</field>
203 <field name="type">form</field>
204 <field name="arch" type="xml">
205 <form string="Tax line received">
206 <field name="name"/>
207 <field name="tax_percentage"/>
208 <field name="tax_amount"/>
209 <field name="base_amount"/>
210 </form>
211 </field>
212 </record>
213
214 <record id="view_l10n_es_aeat_mod340_report_search" model="ir.ui.view">
215 <field name="name">AEAT Model 340 (search)</field>193 <field name="name">AEAT Model 340 (search)</field>
216 <field name="model">l10n.es.aeat.mod340</field>194 <field name="model">l10n.es.aeat.mod340</field>
217 <field name="type">search</field>195 <field name="type">search</field>
@@ -228,7 +206,8 @@
228 <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/>206 <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/>
229 </group>207 </group>
230 <newline/>208 <newline/>
231 <field name="period"/>209 <field name="period_from"/>
210 <field name="period_to" />
232 <field name="fiscalyear_id"/>211 <field name="fiscalyear_id"/>
233 <field name="number"/>212 <field name="number"/>
234 <field name="type"/>213 <field name="type"/>
@@ -238,14 +217,24 @@
238217
239 <!-- Window action -->218 <!-- Window action -->
240 <record id="action_l10n_es_aeat_mod340_report" model="ir.actions.act_window">219 <record id="action_l10n_es_aeat_mod340_report" model="ir.actions.act_window">
241 <field name="name">AEAT Model 340</field>220 <field name="name">AEAT model 340</field>
242 <field name="res_model">l10n.es.aeat.mod340</field>221 <field name="res_model">l10n.es.aeat.mod340</field>
243 <field name="view_type">form</field>222 <field name="view_type">form</field>
244 <field name="view_mode">tree,form</field>223 <field name="view_mode">tree,form</field>
245 <field name="help">Create and query AEAT Model 340 Reports</field>224 <field name="help">Create and query AEAT Model 340 reports</field>
246 </record>225 </record>
247 226 <record model="ir.actions.act_window.view" id="action_l10n_es_aeat_mod340_report_tree">
248227 <field name="sequence" eval="2"/>
228 <field name="view_mode">tree</field>
229 <field name="view_id" ref="view_l10n_es_aeat_mod340_tree"/>
230 <field name="act_window_id" ref="action_l10n_es_aeat_mod340_report"/>
231 </record>
232 <record model="ir.actions.act_window.view" id="action_l10n_es_aeat_mod340_report_form">
233 <field name="sequence" eval="3"/>
234 <field name="view_mode">form</field>
235 <field name="view_id" ref="view_l10n_es_aeat_mod340_form"/>
236 <field name="act_window_id" ref="action_l10n_es_aeat_mod340_report"/>
237 </record>
249238
250 <!--239 <!--
251 ### MENU ACCESS ###240 ### MENU ACCESS ###
252241
=== modified file 'l10n_es_aeat_mod340/report/mod340_report.rml'
--- l10n_es_aeat_mod340/report/mod340_report.rml 2011-05-20 19:05:27 +0000
+++ l10n_es_aeat_mod340/report/mod340_report.rml 2014-02-03 11:19:23 +0000
@@ -44,15 +44,18 @@
44 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>44 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
45 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>45 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>
46 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>46 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
47 <lineStyle kind="LINEAFTER" colorName="#000000" start="5,0" stop="5,-1"/>
48 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>47 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>
49 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>48 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
49 <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/>
50 <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/>
51 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
50 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>52 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>
51 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>53 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>
52 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>54 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>
53 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>55 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>
54 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>56 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>
55 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>57 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>
58 <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/>
56 </blockTableStyle>59 </blockTableStyle>
57 <blockTableStyle id="Taula4">60 <blockTableStyle id="Taula4">
58 <blockAlignment value="LEFT"/>61 <blockAlignment value="LEFT"/>
@@ -63,6 +66,7 @@
63 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>66 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
64 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>67 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
65 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>68 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
69 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
66 </blockTableStyle>70 </blockTableStyle>
67 <blockTableStyle id="Taula5">71 <blockTableStyle id="Taula5">
68 <blockAlignment value="LEFT"/>72 <blockAlignment value="LEFT"/>
@@ -78,15 +82,18 @@
78 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>82 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
79 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>83 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>
80 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>84 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
81 <lineStyle kind="LINEAFTER" colorName="#000000" start="5,0" stop="5,-1"/>
82 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>85 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>
83 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>86 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
87 <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/>
88 <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/>
89 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
84 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>90 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>
85 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>91 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>
86 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>92 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>
87 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>93 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>
88 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>94 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>
89 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>95 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>
96 <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/>
90 </blockTableStyle>97 </blockTableStyle>
91 <blockTableStyle id="Taula6">98 <blockTableStyle id="Taula6">
92 <blockAlignment value="LEFT"/>99 <blockAlignment value="LEFT"/>
@@ -97,6 +104,7 @@
97 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>104 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
98 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>105 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
99 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>106 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
107 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
100 </blockTableStyle>108 </blockTableStyle>
101 <initialize>109 <initialize>
102 <paraStyle name="all" alignment="justify"/>110 <paraStyle name="all" alignment="justify"/>
@@ -112,6 +120,7 @@
112 <paraStyle name="P9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>120 <paraStyle name="P9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
113 <paraStyle name="P10" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>121 <paraStyle name="P10" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
114 <paraStyle name="P11" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>122 <paraStyle name="P11" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
123 <paraStyle name="P12" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
115 <paraStyle name="Standard" fontName="Helvetica"/>124 <paraStyle name="Standard" fontName="Helvetica"/>
116 <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>125 <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
117 <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>126 <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
@@ -121,10 +130,13 @@
121 <paraStyle name="Table Contents" fontName="Helvetica"/>130 <paraStyle name="Table Contents" fontName="Helvetica"/>
122 <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/>131 <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/>
123 <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>132 <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
133 <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
134 <paraStyle name="terp_default_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
124 <images/>135 <images/>
125 </stylesheet>136 </stylesheet>
126 <story>137 <story>
127 <para style="Standard">[[repeatIn(objects, 'o')]]</para>138 <para style="Standard">[[repeatIn(objects, 'o')]]</para>
139 <para style="terp_default_8">[[ setLang(o.company_id.partner_id.lang) ]]</para>
128 <para style="P4">MODELO AEAT 340</para>140 <para style="P4">MODELO AEAT 340</para>
129 <blockTable colWidths="117.0,219.0" style="Taula2">141 <blockTable colWidths="117.0,219.0" style="Taula2">
130 <tr>142 <tr>
@@ -135,7 +147,7 @@
135 <para style="P3">Tipo de soporte: </para>147 <para style="P3">Tipo de soporte: </para>
136 </td>148 </td>
137 <td>149 <td>
138 <para style="P2">[[o.company_id.partner_id.name or '']] </para>150 <para style="P2">[[ o.company_id.name or '']] </para>
139 <para style="P2">[[o.fiscalyear_id.name or '']] </para>151 <para style="P2">[[o.fiscalyear_id.name or '']] </para>
140 <para style="P2">[[o.number or '']] </para>152 <para style="P2">[[o.number or '']] </para>
141 <para style="P2">[[o.support_type]]</para>153 <para style="P2">[[o.support_type]]</para>
@@ -177,9 +189,12 @@
177 <para style="P7">189 <para style="P7">
178 <font color="white"> </font>190 <font color="white"> </font>
179 </para>191 </para>
180 <blockTable colWidths="108.0,73.0,76.0,75.0,73.0,78.0" repeatRows="1" style="Taula3">192 <blockTable colWidths="75.0,101.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula3">
181 <tr>193 <tr>
182 <td>194 <td>
195 <para style="Table Heading">Fecha</para>
196 </td>
197 <td>
183 <para style="Table Heading">Empresa</para>198 <para style="Table Heading">Empresa</para>
184 </td>199 </td>
185 <td>200 <td>
@@ -204,9 +219,12 @@
204 </para>219 </para>
205 <section>220 <section>
206 <para style="P6">[[repeatIn(o.issued,'r')]]</para>221 <para style="P6">[[repeatIn(o.issued,'r')]]</para>
207 <blockTable colWidths="108.0,73.0,76.0,75.0,73.0,78.0" repeatRows="1" style="Taula4">222 <blockTable colWidths="75.0,101.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula4">
208 <tr>223 <tr>
209 <td>224 <td>
225 <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para>
226 </td>
227 <td>
210 <para style="P9">[[r.partner_id.name]]</para>228 <para style="P9">[[r.partner_id.name]]</para>
211 </td>229 </td>
212 <td>230 <td>
@@ -237,9 +255,12 @@
237 <para style="P7">255 <para style="P7">
238 <font color="white"> </font>256 <font color="white"> </font>
239 </para>257 </para>
240 <blockTable colWidths="108.0,73.0,76.0,75.0,73.0,78.0" repeatRows="1" style="Taula5">258 <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula5">
241 <tr>259 <tr>
242 <td>260 <td>
261 <para style="Table Heading">Fecha</para>
262 </td>
263 <td>
243 <para style="Table Heading">Empresa</para>264 <para style="Table Heading">Empresa</para>
244 </td>265 </td>
245 <td>266 <td>
@@ -264,16 +285,19 @@
264 </para>285 </para>
265 <section>286 <section>
266 <para style="P6">[[repeatIn(o.received,'r')]]</para>287 <para style="P6">[[repeatIn(o.received,'r')]]</para>
267 <blockTable colWidths="108.0,73.0,76.0,75.0,73.0,78.0" repeatRows="1" style="Taula6">288 <blockTable colWidths="75.0,101.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula6">
268 <tr>289 <tr>
269 <td>290 <td>
291 <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para>
292 </td>
293 <td>
270 <para style="P9">[[r.partner_id.name]]</para>294 <para style="P9">[[r.partner_id.name]]</para>
271 </td>295 </td>
272 <td>296 <td>
273 <para style="P11">[[r.partner_vat]]</para>297 <para style="P11">[[r.partner_vat]]</para>
274 </td>298 </td>
275 <td>299 <td>
276 <para style="P11">[[r.invoice_id.number or '0']]</para>300 <para style="P11">[[r.invoice_id.reference or '0']]</para>
277 </td>301 </td>
278 <td>302 <td>
279 <para style="P10">[[r.base_tax]]</para>303 <para style="P10">[[r.base_tax]]</para>
@@ -295,4 +319,3 @@
295 </para>319 </para>
296 </story>320 </story>
297</document>321</document>
298
299322
=== modified file 'l10n_es_aeat_mod340/report/mod340_report.sxw'
300Binary files l10n_es_aeat_mod340/report/mod340_report.sxw 2011-05-20 19:05:27 +0000 and l10n_es_aeat_mod340/report/mod340_report.sxw 2014-02-03 11:19:23 +0000 differ323Binary files l10n_es_aeat_mod340/report/mod340_report.sxw 2011-05-20 19:05:27 +0000 and l10n_es_aeat_mod340/report/mod340_report.sxw 2014-02-03 11:19:23 +0000 differ
=== modified file 'l10n_es_aeat_mod340/report/report_view.xml'
--- l10n_es_aeat_mod340/report/report_view.xml 2011-05-07 11:33:47 +0000
+++ l10n_es_aeat_mod340/report/report_view.xml 2014-02-03 11:19:23 +0000
@@ -21,6 +21,26 @@
21 rml="l10n_es_aeat_mod340/report/mod340_report.rml"21 rml="l10n_es_aeat_mod340/report/mod340_report.rml"
22 auto="True"22 auto="True"
23 header="False" />23 header="False" />
24
25 <record id="report_vat_book_action" model="ir.actions.report.xml">
26 <field name="name">Vat Book</field>
27 <field name="type">ir.actions.report.xml</field>
28 <field name="model">l10n.es.aeat.mod340</field>
29 <field name="report_name">vat_book</field>
30 <field name="report_type">pdf</field>
31 <field name="report_rml">l10n_es_aeat_mod340/report/vat_book.rml</field>
32 <field name="auto" eval="True"/>
33 <field name="header" eval="False"/>
34 </record>
35
36 <report
37 id="vat_book"
38 string="Vat Book"
39 model="l10n.es.aeat.mod340"
40 name="vat book"
41 rml="l10n_es_aeat_mod340/report/vat_book.rml"
42 auto="True"
43 header="False" />
24 </data>44 </data>
25</openerp>45</openerp>
2646
2747
=== added file 'l10n_es_aeat_mod340/report/vat_book.rml'
--- l10n_es_aeat_mod340/report/vat_book.rml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/report/vat_book.rml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,310 @@
1<?xml version="1.0"?>
2<document filename="test.pdf">
3 <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
4 <pageTemplate id="first">
5 <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
6 </pageTemplate>
7 </template>
8 <stylesheet>
9 <blockTableStyle id="Standard_Outline">
10 <blockAlignment value="LEFT"/>
11 <blockValign value="TOP"/>
12 </blockTableStyle>
13 <blockTableStyle id="Taula2">
14 <blockAlignment value="LEFT"/>
15 <blockValign value="TOP"/>
16 <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
17 <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
18 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
19 <lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/>
20 <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
21 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
22 </blockTableStyle>
23 <blockTableStyle id="Taula1">
24 <blockAlignment value="LEFT"/>
25 <blockValign value="TOP"/>
26 <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
27 <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
28 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
29 <lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/>
30 <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
31 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
32 </blockTableStyle>
33 <blockTableStyle id="Taula3">
34 <blockAlignment value="LEFT"/>
35 <blockValign value="TOP"/>
36 <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
37 <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
38 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
39 <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
40 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
41 <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
42 <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
43 <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
44 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
45 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>
46 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
47 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>
48 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
49 <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/>
50 <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/>
51 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
52 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>
53 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>
54 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>
55 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>
56 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>
57 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>
58 <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/>
59 </blockTableStyle>
60 <blockTableStyle id="Taula4">
61 <blockAlignment value="LEFT"/>
62 <blockValign value="TOP"/>
63 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
64 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
65 <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
66 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
67 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
68 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
69 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
70 </blockTableStyle>
71 <blockTableStyle id="Taula5">
72 <blockAlignment value="LEFT"/>
73 <blockValign value="TOP"/>
74 <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
75 <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
76 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
77 <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
78 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
79 <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
80 <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
81 <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
82 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
83 <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>
84 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
85 <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>
86 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
87 <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/>
88 <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/>
89 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
90 <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/>
91 <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/>
92 <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/>
93 <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/>
94 <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/>
95 <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/>
96 <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/>
97 </blockTableStyle>
98 <blockTableStyle id="Taula6">
99 <blockAlignment value="LEFT"/>
100 <blockValign value="TOP"/>
101 <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
102 <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
103 <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
104 <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
105 <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
106 <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
107 <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>
108 </blockTableStyle>
109 <initialize>
110 <paraStyle name="all" alignment="justify"/>
111 </initialize>
112 <paraStyle name="P1" fontName="Helvetica" alignment="CENTER"/>
113 <paraStyle name="P2" fontName="Helvetica"/>
114 <paraStyle name="P3" fontName="Helvetica" alignment="RIGHT"/>
115 <paraStyle name="P4" fontName="Helvetica-Bold" fontSize="20.0" leading="25" alignment="CENTER"/>
116 <paraStyle name="P5" fontName="Helvetica" fontSize="6.0" leading="8"/>
117 <paraStyle name="P6" fontName="Helvetica" fontSize="6.0" leading="8"/>
118 <paraStyle name="P7" fontName="Helvetica" alignment="LEFT"/>
119 <paraStyle name="P8" fontName="Helvetica-Bold" fontSize="16.0" leading="20" alignment="LEFT"/>
120 <paraStyle name="P9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
121 <paraStyle name="P10" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
122 <paraStyle name="P11" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
123 <paraStyle name="P12" fontName="Helvetica"/>
124 <paraStyle name="P13" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/>
125 <paraStyle name="Standard" fontName="Helvetica"/>
126 <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
127 <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
128 <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
129 <paraStyle name="Caption" fontName="Helvetica-Oblique" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
130 <paraStyle name="Index" fontName="Helvetica"/>
131 <paraStyle name="Table Contents" fontName="Helvetica"/>
132 <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/>
133 <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
134 <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
135 <paraStyle name="terp_default_8" rightIndent="0.0" leftIndent="0.0" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
136 <images/>
137 </stylesheet>
138 <story>
139 <para style="Standard">[[repeatIn(objects, 'o')]]</para>
140 <para style="terp_default_8">[[ setLang(o.company_id.partner_id.lang) ]]</para>
141 <para style="P4">LIBRO DE IVA</para>
142 <blockTable colWidths="117.0,219.0" style="Taula2">
143 <tr>
144 <td>
145 <para style="P3">Compañía: </para>
146 <para style="P3">Ejercicio fiscal: </para>
147 </td>
148 <td>
149 <para style="P2">[[o.company_id.name or '']] </para>
150 <para style="P2">[[o.fiscalyear_id.name or '']] </para>
151 </td>
152 </tr>
153 </blockTable>
154 <para style="P2">
155 <font color="white"> </font>
156 </para>
157 <para style="P1">
158 <font color="white"> </font>
159 </para>
160 <blockTable colWidths="237.0,244.0" style="Taula1">
161 <tr>
162 <td>
163 <para style="P3">CIF/NIF: </para>
164 <para style="P3">Teléfono de contacto: </para>
165 <para style="P3">Apellidos y nombre de contacto: </para>
166 </td>
167 <td>
168 <para style="P2">[[o.company_vat or '']] </para>
169 <para style="P2">[[o.contact_phone or '']] </para>
170 <para style="P2">[[o.name_contact or '']] </para>
171 </td>
172 </tr>
173 </blockTable>
174 <para style="P2">
175 <font color="white"> </font>
176 </para>
177 <para style="P8">FACTURAS DE SALIDA</para>
178 <para style="P7">
179 <font color="white"> </font>
180 </para>
181 <blockTable colWidths="73.0,103.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula3">
182 <tr>
183 <td>
184 <para style="Table Heading">Fecha</para>
185 </td>
186 <td>
187 <para style="Table Heading">Empresa</para>
188 </td>
189 <td>
190 <para style="Table Heading">CIF/NIF</para>
191 </td>
192 <td>
193 <para style="Table Heading">Número de factura</para>
194 </td>
195 <td>
196 <para style="Table Heading">Base imponible</para>
197 </td>
198 <td>
199 <para style="Table Heading">Cuota impuesto</para>
200 </td>
201 <td>
202 <para style="Table Heading">Total factura</para>
203 </td>
204 </tr>
205 </blockTable>
206 <para style="P6">
207 <font color="white"> </font>
208 </para>
209 <section>
210 <para style="P6">[[repeatIn(o.issued,'r')]]</para>
211 <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula4">
212 <tr>
213 <td>
214 <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para>
215 </td>
216 <td>
217 <para style="P9">[[r.partner_id.name]]</para>
218 </td>
219 <td>
220 <para style="P11">[[r.partner_vat]]</para>
221 </td>
222 <td>
223 <para style="P11">[[r.invoice_id.number]]</para>
224 </td>
225 <td>
226 <para style="P10">[[r.base_tax]]</para>
227 </td>
228 <td>
229 <para style="P10">[[r.amount_tax or '0']]</para>
230 </td>
231 <td>
232 <para style="P10">[[r.total or '0']]</para>
233 </td>
234 </tr>
235 </blockTable>
236 <para style="P5">
237 <font color="white"> </font>
238 </para>
239 </section>
240 <para style="P2">
241 <font color="white"> </font>
242 </para>
243 <para style="P8">FACTURAS DE ENTRADA</para>
244 <para style="P7">
245 <font color="white"> </font>
246 </para>
247 <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula5">
248 <tr>
249 <td>
250 <para style="Table Heading">Fecha</para>
251 </td>
252 <td>
253 <para style="Table Heading">Empresa</para>
254 </td>
255 <td>
256 <para style="Table Heading">CIF/NIF</para>
257 </td>
258 <td>
259 <para style="Table Heading">Nº de factura</para>
260 </td>
261 <td>
262 <para style="Table Heading">Base imponible</para>
263 </td>
264 <td>
265 <para style="Table Heading">Cuota impuesto</para>
266 </td>
267 <td>
268 <para style="Table Heading">Total factura</para>
269 </td>
270 </tr>
271 </blockTable>
272 <para style="P6">
273 <font color="white"> </font>
274 </para>
275 <section>
276 <para style="P6">[[repeatIn(o.received,'r')]]</para>
277 <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula6">
278 <tr>
279 <td>
280 <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para>
281 </td>
282 <td>
283 <para style="P9">[[r.partner_id.name]]</para>
284 </td>
285 <td>
286 <para style="P11">[[r.partner_vat]]</para>
287 </td>
288 <td>
289 <para style="P11">[[r.invoice_id.reference or '0']]</para>
290 </td>
291 <td>
292 <para style="P10">[[r.base_tax]]</para>
293 </td>
294 <td>
295 <para style="P10">[[r.amount_tax or '0']]</para>
296 </td>
297 <td>
298 <para style="P10">[[r.total or '0']]</para>
299 </td>
300 </tr>
301 </blockTable>
302 <para style="P5">
303 <font color="white"> </font>
304 </para>
305 </section>
306 <para style="P5">
307 <font color="white"> </font>
308 </para>
309 </story>
310</document>
0311
=== added file 'l10n_es_aeat_mod340/report/vat_book.sxw'
1Binary files l10n_es_aeat_mod340/report/vat_book.sxw 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod340/report/vat_book.sxw 2014-02-03 11:19:23 +0000 differ312Binary files l10n_es_aeat_mod340/report/vat_book.sxw 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod340/report/vat_book.sxw 2014-02-03 11:19:23 +0000 differ
=== modified file 'l10n_es_aeat_mod340/security/ir.model.access.csv'
--- l10n_es_aeat_mod340/security/ir.model.access.csv 2012-09-08 15:32:47 +0000
+++ l10n_es_aeat_mod340/security/ir.model.access.csv 2014-02-03 11:19:23 +0000
@@ -1,15 +1,13 @@
1"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"1id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2"access_l10n_es_aeat_mod340","l10n_es_aeat_mod340","model_l10n_es_aeat_mod340","account.group_account_user",1,0,0,02access_l10n_es_aeat_mod340,l10n_es_aeat_mod340,model_l10n_es_aeat_mod340,account.group_account_user,1,0,0,0
3"access_l10n_es_aeat_mod340_manager","l10n_es_aeat_mod340 manager","model_l10n_es_aeat_mod340","account.group_account_manager",1,1,1,13access_l10n_es_aeat_mod340_manager,l10n_es_aeat_mod340 manager,model_l10n_es_aeat_mod340,account.group_account_manager,1,1,1,1
4"access_l10n_es_aeat_mod340_issued","l10n_es_aeat_mod340_issued","model_l10n_es_aeat_mod340_issued","account.group_account_user",1,0,0,04access_l10n_es_aeat_mod340_issued,l10n_es_aeat_mod340_issued,model_l10n_es_aeat_mod340_issued,account.group_account_user,1,0,0,0
5"access_l10n_es_aeat_mod340_issued_manager","l10n_es_aeat_mod340_issued manager","model_l10n_es_aeat_mod340_issued","account.group_account_manager",1,1,1,15access_l10n_es_aeat_mod340_issued_manager,l10n_es_aeat_mod340_issued manager,model_l10n_es_aeat_mod340_issued,account.group_account_manager,1,1,1,1
6"access_l10n_es_aeat_mod340_received","l10n_es_aeat_mod340_received","model_l10n_es_aeat_mod340_received","account.group_account_user",1,0,0,06access_l10n_es_aeat_mod340_received,l10n_es_aeat_mod340_received,model_l10n_es_aeat_mod340_received,account.group_account_user,1,0,0,0
7"access_l10n_es_aeat_mod340_received_manager","l10n_es_aeat_mod340_received manager","model_l10n_es_aeat_mod340_received","account.group_account_manager",1,1,1,17access_l10n_es_aeat_mod340_received_manager,l10n_es_aeat_mod340_received manager,model_l10n_es_aeat_mod340_received,account.group_account_manager,1,1,1,1
8"access_l10n_es_aeat_mod340_investment","l10n_es_aeat_mod340_investment","model_l10n_es_aeat_mod340_investment","account.group_account_user",1,0,0,08access_l10n_es_aeat_mod340_investment,l10n_es_aeat_mod340_investment,model_l10n_es_aeat_mod340_investment,account.group_account_user,1,0,0,0
9"access_l10n_es_aeat_mod340_investment_manager","l10n_es_aeat_mod340_investment manager","model_l10n_es_aeat_mod340_investment","account.group_account_manager",1,1,1,19access_l10n_es_aeat_mod340_investment_manager,l10n_es_aeat_mod340_investment manager,model_l10n_es_aeat_mod340_investment,account.group_account_manager,1,1,1,1
10"access_l10n_es_aeat_mod340_intracomunitarias","l10n_es_aeat_mod340_intracomunitarias","model_l10n_es_aeat_mod340_intracomunitarias","account.group_account_user",1,0,0,010access_l10n_es_aeat_mod340_intracomunitarias,l10n_es_aeat_mod340_intracomunitarias,model_l10n_es_aeat_mod340_intracomunitarias,account.group_account_user,1,0,0,0
11"access_l10n_es_aeat_mod340_intracomunitarias_manager","l10n_es_aeat_mod340_intracomunitarias manager","model_l10n_es_aeat_mod340_intracomunitarias","account.group_account_manager",1,1,1,111access_l10n_es_aeat_mod340_intracomunitarias_manager,l10n_es_aeat_mod340_intracomunitarias manager,model_l10n_es_aeat_mod340_intracomunitarias,account.group_account_manager,1,1,1,1
12"access_l10n_es_aeat_mod340_tax_line_issued","l10n_es_aeat_mod340_tax_line_issued","model_l10n_es_aeat_mod340_tax_line_issued","account.group_account_manager",1,1,1,112access_l10n_es_aeat_mod340_tax_line_issued,l10n_es_aeat_mod340_tax_line_issued,model_l10n_es_aeat_mod340_tax_line_issued,account.group_account_manager,1,1,1,1
1313access_l10n_es_aeat_mod340_tax_line_received,l10n_es_aeat_mod340_tax_line_received,model_l10n_es_aeat_mod340_tax_line_received,account.group_account_manager,1,1,1,1
14
15
1614
=== added directory 'l10n_es_aeat_mod340/static'
=== added directory 'l10n_es_aeat_mod340/static/src'
=== added directory 'l10n_es_aeat_mod340/static/src/img'
=== added file 'l10n_es_aeat_mod340/static/src/img/icon.png'
17Binary files l10n_es_aeat_mod340/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod340/static/src/img/icon.png 2014-02-03 11:19:23 +0000 differ15Binary files l10n_es_aeat_mod340/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod340/static/src/img/icon.png 2014-02-03 11:19:23 +0000 differ
=== added file 'l10n_es_aeat_mod340/static/src/img/icon_source.svg'
--- l10n_es_aeat_mod340/static/src/img/icon_source.svg 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/static/src/img/icon_source.svg 2014-02-03 11:19:23 +0000
@@ -0,0 +1,99 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4<svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 id="svg2"
13 version="1.1"
14 inkscape:version="0.48.3.1 r9886"
15 width="128"
16 height="128"
17 sodipodi:docname="icon_source.svg"
18 inkscape:export-filename="/home/ignacio/Proyectos/erp/Demo/openerp-7.0-20131224-002412/openerp/addons/l10n_es_aeat_mod340/static/src/img/icon.png"
19 inkscape:export-xdpi="90"
20 inkscape:export-ydpi="90">
21 <metadata
22 id="metadata8">
23 <rdf:RDF>
24 <cc:Work
25 rdf:about="">
26 <dc:format>image/svg+xml</dc:format>
27 <dc:type
28 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
29 <dc:title></dc:title>
30 </cc:Work>
31 </rdf:RDF>
32 </metadata>
33 <defs
34 id="defs6" />
35 <sodipodi:namedview
36 pagecolor="#ffffff"
37 bordercolor="#666666"
38 borderopacity="1"
39 objecttolerance="10"
40 gridtolerance="10"
41 guidetolerance="10"
42 inkscape:pageopacity="0"
43 inkscape:pageshadow="2"
44 inkscape:window-width="1920"
45 inkscape:window-height="1028"
46 id="namedview4"
47 showgrid="false"
48 inkscape:zoom="9.2903224"
49 inkscape:cx="65.663825"
50 inkscape:cy="38.86526"
51 inkscape:window-x="1437"
52 inkscape:window-y="-3"
53 inkscape:window-maximized="1"
54 inkscape:current-layer="svg2"
55 fit-margin-top="0"
56 fit-margin-left="0"
57 fit-margin-right="0"
58 fit-margin-bottom="0" />
59 <g
60 id="g3003"
61 transform="translate(-0.07356158,0)">
62 <g
63 transform="translate(0,-3.31149)"
64 id="g2998">
65 <rect
66 style="color:#000000;fill:#0060b2;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.51812077;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
67 id="rect2998"
68 width="51.523285"
69 height="118.80513"
70 x="13.910543"
71 y="3.8516259"
72 ry="0"
73 transform="matrix(1,0,0.51069126,0.85976417,0,0)" />
74 <path
75 style="fill:#ffd715;fill-opacity:1;stroke:none"
76 d="M 8.3819299,96.350865 C 15.28056,97.754835 21.012791,96.867186 27.616708,95.369146 62.09419,84.971119 95.837094,59.943837 111.39019,30.987651 c 3.18661,-6.108384 5.44624,-13.663422 7.03447,-20.85088 l 6.46605,10.776762 C 125.69568,40.01481 102.39016,63.273776 86.603152,76.12262 73.967981,86.300307 59.506348,95.700246 46.777865,100.17543 c -9.415431,3.18415 -23.576115,5.76306 -32.88781,5.87454 z"
77 id="path3000"
78 inkscape:connector-curvature="0"
79 sodipodi:nodetypes="ccccccccc" />
80 <path
81 style="fill:#db2f34;fill-opacity:1;stroke:none"
82 d="m 24.427332,35.162809 6.945024,10.297799 C 12.399362,62.416498 10.934918,76.019681 6.2265773,90.24404 L 0,79.467276 C 3.2831165,59.062301 13.253472,46.414525 24.427332,35.162809 z"
83 id="path3021"
84 inkscape:connector-curvature="0"
85 sodipodi:nodetypes="ccccc" />
86 </g>
87 </g>
88 <text
89 sodipodi:linespacing="125%"
90 id="text2988"
91 y="127.48399"
92 x="-1.5893271"
93 style="font-size:42.27203751px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold"
94 xml:space="preserve"><tspan
95 y="127.48399"
96 x="-1.5893271"
97 id="tspan2990"
98 sodipodi:role="line">340</tspan></text>
99</svg>
0100
=== added file 'l10n_es_aeat_mod340/taxes_data.xml'
--- l10n_es_aeat_mod340/taxes_data.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/taxes_data.xml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,192 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="0">
4 <!-- Bases incluidas en el Modelo 340
5 Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
6 -->
7 <!--IVA Devengado Base imponible-->
8 <record id="l10n_es.iva_dev_base" model="account.tax.code.template">
9 <field name="mod340" eval="True"/>
10 </record>
11 <!-- Exentas IVA -->
12 <record id="l10n_es.base_sop_ex" model="account.tax.code.template">
13 <field name="mod340" eval="True"/>
14 </record>
15
16 <record id="l10n_es.base_rep_ex" model="account.tax.code.template">
17 <field name="mod340" eval="True"/>
18 </record>
19 <!--Regimen general-->
20 <record id="l10n_es.iva_dev_01" model="account.tax.code.template">
21 <field name="mod340" eval="True"/>
22 </record>
23
24 <record id="l10n_es.iva_dev_04" model="account.tax.code.template">
25 <field name="mod340" eval="True"/>
26 </record>
27
28 <record id="l10n_es.iva_dev_04_8" model="account.tax.code.template">
29 <field name="mod340" eval="True"/>
30 </record>
31
32 <record id="l10n_es.iva_dev_04_10" model="account.tax.code.template">
33 <field name="mod340" eval="True"/>
34 </record>
35
36 <record id="l10n_es.iva_dev_07" model="account.tax.code.template">
37 <field name="mod340" eval="True"/>
38 </record>
39
40 <record id="l10n_es.iva_dev_07_18" model="account.tax.code.template">
41 <field name="mod340" eval="True"/>
42 </record>
43
44 <record id="l10n_es.iva_dev_07_21" model="account.tax.code.template">
45 <field name="mod340" eval="True"/>
46 </record>
47 <!-- ADQUISICIONES INTRACOMUNITARIAS -->
48 <record id="l10n_es.iva_dev_19" model="account.tax.code.template">
49 <field name="mod340" eval="True"/>
50 </record>
51 <!--IVA DEDUCIBLE -->
52 <record id="l10n_es.iva_ded_base_total" model="account.tax.code.template">
53 <field name="mod340" eval="True"/>
54 </record>
55 <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
56 <record id="l10n_es.iva_ded_22" model="account.tax.code.template">
57 <field name="mod340" eval="True"/>
58 </record>
59
60 <record id="l10n_es.iva_ded_22_4" model="account.tax.code.template">
61 <field name="mod340" eval="True"/>
62 </record>
63
64 <record id="l10n_es.iva_ded_22_7" model="account.tax.code.template">
65 <field name="mod340" eval="True"/>
66 </record>
67
68 <record id="l10n_es.iva_ded_22_8" model="account.tax.code.template">
69 <field name="mod340" eval="True"/>
70 </record>
71
72 <record id="l10n_es.iva_ded_22_10" model="account.tax.code.template">
73 <field name="mod340" eval="True"/>
74 </record>
75
76 <record id="l10n_es.iva_ded_22_16" model="account.tax.code.template">
77 <field name="mod340" eval="True"/>
78 </record>
79
80 <record id="l10n_es.iva_ded_22_18" model="account.tax.code.template">
81 <field name="mod340" eval="True"/>
82 </record>
83
84 <record id="l10n_es.iva_ded_22_21" model="account.tax.code.template">
85 <field name="mod340" eval="True"/>
86 </record>
87 <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
88 <record id="l10n_es.iva_ded_24" model="account.tax.code.template">
89 <field name="mod340" eval="True"/>
90 </record>
91
92 <record id="l10n_es.iva_ded_24_4" model="account.tax.code.template">
93 <field name="mod340" eval="True"/>
94 </record>
95
96 <record id="l10n_es.iva_ded_24_7" model="account.tax.code.template">
97 <field name="mod340" eval="True"/>
98 </record>
99
100 <record id="l10n_es.iva_ded_24_8" model="account.tax.code.template">
101 <field name="mod340" eval="True"/>
102 </record>
103
104 <record id="l10n_es.iva_ded_24_10" model="account.tax.code.template">
105 <field name="mod340" eval="True"/>
106 </record>
107
108 <record id="l10n_es.iva_ded_24_16" model="account.tax.code.template">
109 <field name="mod340" eval="True"/>
110 </record>
111
112 <record id="l10n_es.iva_ded_24_18" model="account.tax.code.template">
113 <field name="mod340" eval="True"/>
114 </record>
115
116 <record id="l10n_es.iva_ded_24_21" model="account.tax.code.template">
117 <field name="mod340" eval="True"/>
118 </record>
119 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
120 <record id="l10n_es.iva_ded_30" model="account.tax.code.template">
121 <field name="mod340" eval="True"/>
122 </record>
123
124 <record id="l10n_es.iva_ded_30_4" model="account.tax.code.template">
125 <field name="mod340" eval="True"/>
126 </record>
127
128 <record id="l10n_es.iva_ded_30_7" model="account.tax.code.template">
129 <field name="mod340" eval="True"/>
130 </record>
131
132 <record id="l10n_es.iva_ded_30_8" model="account.tax.code.template">
133 <field name="mod340" eval="True"/>
134 </record>
135
136 <record id="l10n_es.iva_ded_30_10" model="account.tax.code.template">
137 <field name="mod340" eval="True"/>
138 </record>
139
140 <record id="l10n_es.iva_ded_30_16" model="account.tax.code.template">
141 <field name="mod340" eval="True"/>
142 </record>
143
144 <record id="l10n_es.iva_ded_30_18" model="account.tax.code.template">
145 <field name="mod340" eval="True"/>
146 </record>
147
148 <record id="l10n_es.iva_ded_30_21" model="account.tax.code.template">
149 <field name="mod340" eval="True"/>
150 </record>
151 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
152 <record id="l10n_es.iva_ded_32" model="account.tax.code.template">
153 <field name="mod340" eval="True"/>
154 </record>
155
156 <record id="l10n_es.iva_ded_32_4" model="account.tax.code.template">
157 <field name="mod340" eval="True"/>
158 </record>
159
160 <record id="l10n_es.iva_ded_32_7" model="account.tax.code.template">
161 <field name="mod340" eval="True"/>
162 </record>
163
164 <record id="l10n_es.iva_ded_32_8" model="account.tax.code.template">
165 <field name="mod340" eval="True"/>
166 </record>
167
168 <record id="l10n_es.iva_ded_32_10" model="account.tax.code.template">
169 <field name="mod340" eval="True"/>
170 </record>
171
172 <record id="l10n_es.iva_ded_32_16" model="account.tax.code.template">
173 <field name="mod340" eval="True"/>
174 </record>
175
176 <record id="l10n_es.iva_ded_32_18" model="account.tax.code.template">
177 <field name="mod340" eval="True"/>
178 </record>
179
180 <record id="l10n_es.iva_ded_32_21" model="account.tax.code.template">
181 <field name="mod340" eval="True"/>
182 </record>
183 <!--Otros Códigos de Impuestos-->
184 <record id="l10n_es.base_intra_42" model="account.tax.code.template">
185 <field name="mod340" eval="True"/>
186 </record>
187
188 <record id="l10n_es.base_extra_44" model="account.tax.code.template">
189 <field name="mod340" eval="True"/>
190 </record>
191 </data>
192</openerp>
0\ No newline at end of file193\ No newline at end of file
1194
=== added file 'l10n_es_aeat_mod340/taxes_data_assoc.xml'
--- l10n_es_aeat_mod340/taxes_data_assoc.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/taxes_data_assoc.xml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,192 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="0">
4 <!-- Bases incluidas en el Modelo 340
5 Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
6 -->
7 <!--IVA Devengado Base imponible-->
8 <record id="l10n_es.iva_assoc_dev_base" model="account.tax.code.template">
9 <field name="mod340" eval="True"/>
10 </record>
11 <!-- Exentas IVA -->
12 <record id="l10n_es.base_assoc_sop_ex" model="account.tax.code.template">
13 <field name="mod340" eval="True"/>
14 </record>
15
16 <record id="l10n_es.base_assoc_rep_ex" model="account.tax.code.template">
17 <field name="mod340" eval="True"/>
18 </record>
19 <!--Regimen general-->
20 <record id="l10n_es.iva_assoc_dev_01" model="account.tax.code.template">
21 <field name="mod340" eval="True"/>
22 </record>
23
24 <record id="l10n_es.iva_assoc_dev_04" model="account.tax.code.template">
25 <field name="mod340" eval="True"/>
26 </record>
27
28 <record id="l10n_es.iva_assoc_dev_04_8" model="account.tax.code.template">
29 <field name="mod340" eval="True"/>
30 </record>
31
32 <record id="l10n_es.iva_assoc_dev_04_10" model="account.tax.code.template">
33 <field name="mod340" eval="True"/>
34 </record>
35
36 <record id="l10n_es.iva_assoc_dev_07" model="account.tax.code.template">
37 <field name="mod340" eval="True"/>
38 </record>
39
40 <record id="l10n_es.iva_assoc_dev_07_18" model="account.tax.code.template">
41 <field name="mod340" eval="True"/>
42 </record>
43
44 <record id="l10n_es.iva_assoc_dev_07_21" model="account.tax.code.template">
45 <field name="mod340" eval="True"/>
46 </record>
47 <!-- ADQUISICIONES INTRACOMUNITARIAS -->
48 <record id="l10n_es.iva_assoc_dev_19" model="account.tax.code.template">
49 <field name="mod340" eval="True"/>
50 </record>
51 <!--IVA DEDUCIBLE -->
52 <record id="l10n_es.iva_assoc_ded_base_total" model="account.tax.code.template">
53 <field name="mod340" eval="True"/>
54 </record>
55 <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
56 <record id="l10n_es.iva_assoc_ded_22" model="account.tax.code.template">
57 <field name="mod340" eval="True"/>
58 </record>
59
60 <record id="l10n_es.iva_assoc_ded_22_4" model="account.tax.code.template">
61 <field name="mod340" eval="True"/>
62 </record>
63
64 <record id="l10n_es.iva_assoc_ded_22_7" model="account.tax.code.template">
65 <field name="mod340" eval="True"/>
66 </record>
67
68 <record id="l10n_es.iva_assoc_ded_22_8" model="account.tax.code.template">
69 <field name="mod340" eval="True"/>
70 </record>
71
72 <record id="l10n_es.iva_assoc_ded_22_10" model="account.tax.code.template">
73 <field name="mod340" eval="True"/>
74 </record>
75
76 <record id="l10n_es.iva_assoc_ded_22_16" model="account.tax.code.template">
77 <field name="mod340" eval="True"/>
78 </record>
79
80 <record id="l10n_es.iva_assoc_ded_22_18" model="account.tax.code.template">
81 <field name="mod340" eval="True"/>
82 </record>
83
84 <record id="l10n_es.iva_assoc_ded_22_21" model="account.tax.code.template">
85 <field name="mod340" eval="True"/>
86 </record>
87 <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
88 <record id="l10n_es.iva_assoc_ded_24" model="account.tax.code.template">
89 <field name="mod340" eval="True"/>
90 </record>
91
92 <record id="l10n_es.iva_assoc_ded_24_4" model="account.tax.code.template">
93 <field name="mod340" eval="True"/>
94 </record>
95
96 <record id="l10n_es.iva_assoc_ded_24_7" model="account.tax.code.template">
97 <field name="mod340" eval="True"/>
98 </record>
99
100 <record id="l10n_es.iva_assoc_ded_24_8" model="account.tax.code.template">
101 <field name="mod340" eval="True"/>
102 </record>
103
104 <record id="l10n_es.iva_assoc_ded_24_10" model="account.tax.code.template">
105 <field name="mod340" eval="True"/>
106 </record>
107
108 <record id="l10n_es.iva_assoc_ded_24_16" model="account.tax.code.template">
109 <field name="mod340" eval="True"/>
110 </record>
111
112 <record id="l10n_es.iva_assoc_ded_24_18" model="account.tax.code.template">
113 <field name="mod340" eval="True"/>
114 </record>
115
116 <record id="l10n_es.iva_assoc_ded_24_21" model="account.tax.code.template">
117 <field name="mod340" eval="True"/>
118 </record>
119 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
120 <record id="l10n_es.iva_assoc_ded_30" model="account.tax.code.template">
121 <field name="mod340" eval="True"/>
122 </record>
123
124 <record id="l10n_es.iva_assoc_ded_30_4" model="account.tax.code.template">
125 <field name="mod340" eval="True"/>
126 </record>
127
128 <record id="l10n_es.iva_assoc_ded_30_7" model="account.tax.code.template">
129 <field name="mod340" eval="True"/>
130 </record>
131
132 <record id="l10n_es.iva_assoc_ded_30_8" model="account.tax.code.template">
133 <field name="mod340" eval="True"/>
134 </record>
135
136 <record id="l10n_es.iva_assoc_ded_30_10" model="account.tax.code.template">
137 <field name="mod340" eval="True"/>
138 </record>
139
140 <record id="l10n_es.iva_assoc_ded_30_16" model="account.tax.code.template">
141 <field name="mod340" eval="True"/>
142 </record>
143
144 <record id="l10n_es.iva_assoc_ded_30_18" model="account.tax.code.template">
145 <field name="mod340" eval="True"/>
146 </record>
147
148 <record id="l10n_es.iva_assoc_ded_30_21" model="account.tax.code.template">
149 <field name="mod340" eval="True"/>
150 </record>
151 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
152 <record id="l10n_es.iva_assoc_ded_32" model="account.tax.code.template">
153 <field name="mod340" eval="True"/>
154 </record>
155
156 <record id="l10n_es.iva_assoc_ded_32_4" model="account.tax.code.template">
157 <field name="mod340" eval="True"/>
158 </record>
159
160 <record id="l10n_es.iva_assoc_ded_32_7" model="account.tax.code.template">
161 <field name="mod340" eval="True"/>
162 </record>
163
164 <record id="l10n_es.iva_assoc_ded_32_8" model="account.tax.code.template">
165 <field name="mod340" eval="True"/>
166 </record>
167
168 <record id="l10n_es.iva_assoc_ded_32_10" model="account.tax.code.template">
169 <field name="mod340" eval="True"/>
170 </record>
171
172 <record id="l10n_es.iva_assoc_ded_32_16" model="account.tax.code.template">
173 <field name="mod340" eval="True"/>
174 </record>
175
176 <record id="l10n_es.iva_assoc_ded_32_18" model="account.tax.code.template">
177 <field name="mod340" eval="True"/>
178 </record>
179
180 <record id="l10n_es.iva_assoc_ded_32_21" model="account.tax.code.template">
181 <field name="mod340" eval="True"/>
182 </record>
183 <!--Otros Códigos de Impuestos-->
184 <record id="l10n_es.base_intra_42" model="account.tax.code.template">
185 <field name="mod340" eval="True"/>
186 </record>
187
188 <record id="l10n_es.base_extra_44" model="account.tax.code.template">
189 <field name="mod340" eval="True"/>
190 </record>
191 </data>
192</openerp>
0\ No newline at end of file193\ No newline at end of file
1194
=== added file 'l10n_es_aeat_mod340/taxes_data_pymes.xml'
--- l10n_es_aeat_mod340/taxes_data_pymes.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/taxes_data_pymes.xml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,192 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="0">
4 <!-- Bases incluidas en el Modelo 340
5 Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13)
6 -->
7 <!--IVA Devengado Base imponible-->
8 <record id="l10n_es.iva_pymes_dev_base" model="account.tax.code.template">
9 <field name="mod340" eval="True"/>
10 </record>
11 <!-- Exentas IVA -->
12 <record id="l10n_es.base_pymes_sop_ex" model="account.tax.code.template">
13 <field name="mod340" eval="True"/>
14 </record>
15
16 <record id="l10n_es.base_pymes_rep_ex" model="account.tax.code.template">
17 <field name="mod340" eval="True"/>
18 </record>
19 <!--Regimen general-->
20 <record id="l10n_es.iva_pymes_dev_01" model="account.tax.code.template">
21 <field name="mod340" eval="True"/>
22 </record>
23
24 <record id="l10n_es.iva_pymes_dev_04" model="account.tax.code.template">
25 <field name="mod340" eval="True"/>
26 </record>
27
28 <record id="l10n_es.iva_pymes_dev_04_8" model="account.tax.code.template">
29 <field name="mod340" eval="True"/>
30 </record>
31
32 <record id="l10n_es.iva_pymes_dev_04_10" model="account.tax.code.template">
33 <field name="mod340" eval="True"/>
34 </record>
35
36 <record id="l10n_es.iva_pymes_dev_07" model="account.tax.code.template">
37 <field name="mod340" eval="True"/>
38 </record>
39
40 <record id="l10n_es.iva_pymes_dev_07_18" model="account.tax.code.template">
41 <field name="mod340" eval="True"/>
42 </record>
43
44 <record id="l10n_es.iva_pymes_dev_07_21" model="account.tax.code.template">
45 <field name="mod340" eval="True"/>
46 </record>
47 <!-- ADQUISICIONES INTRACOMUNITARIAS -->
48 <record id="l10n_es.iva_pymes_dev_19" model="account.tax.code.template">
49 <field name="mod340" eval="True"/>
50 </record>
51 <!--IVA DEDUCIBLE -->
52 <record id="l10n_es.iva_pymes_ded_base_total" model="account.tax.code.template">
53 <field name="mod340" eval="True"/>
54 </record>
55 <!-- Base en OPERACIONES INTERIORES CORRIENTES-->
56 <record id="l10n_es.iva_pymes_ded_22" model="account.tax.code.template">
57 <field name="mod340" eval="True"/>
58 </record>
59
60 <record id="l10n_es.iva_pymes_ded_22_4" model="account.tax.code.template">
61 <field name="mod340" eval="True"/>
62 </record>
63
64 <record id="l10n_es.iva_pymes_ded_22_7" model="account.tax.code.template">
65 <field name="mod340" eval="True"/>
66 </record>
67
68 <record id="l10n_es.iva_pymes_ded_22_8" model="account.tax.code.template">
69 <field name="mod340" eval="True"/>
70 </record>
71
72 <record id="l10n_es.iva_pymes_ded_22_10" model="account.tax.code.template">
73 <field name="mod340" eval="True"/>
74 </record>
75
76 <record id="l10n_es.iva_pymes_ded_22_16" model="account.tax.code.template">
77 <field name="mod340" eval="True"/>
78 </record>
79
80 <record id="l10n_es.iva_pymes_ded_22_18" model="account.tax.code.template">
81 <field name="mod340" eval="True"/>
82 </record>
83
84 <record id="l10n_es.iva_pymes_ded_22_21" model="account.tax.code.template">
85 <field name="mod340" eval="True"/>
86 </record>
87 <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN-->
88 <record id="l10n_es.iva_pymes_ded_24" model="account.tax.code.template">
89 <field name="mod340" eval="True"/>
90 </record>
91
92 <record id="l10n_es.iva_pymes_ded_24_4" model="account.tax.code.template">
93 <field name="mod340" eval="True"/>
94 </record>
95
96 <record id="l10n_es.iva_pymes_ded_24_7" model="account.tax.code.template">
97 <field name="mod340" eval="True"/>
98 </record>
99
100 <record id="l10n_es.iva_pymes_ded_24_8" model="account.tax.code.template">
101 <field name="mod340" eval="True"/>
102 </record>
103
104 <record id="l10n_es.iva_pymes_ded_24_10" model="account.tax.code.template">
105 <field name="mod340" eval="True"/>
106 </record>
107
108 <record id="l10n_es.iva_pymes_ded_24_16" model="account.tax.code.template">
109 <field name="mod340" eval="True"/>
110 </record>
111
112 <record id="l10n_es.iva_pymes_ded_24_18" model="account.tax.code.template">
113 <field name="mod340" eval="True"/>
114 </record>
115
116 <record id="l10n_es.iva_pymes_ded_24_21" model="account.tax.code.template">
117 <field name="mod340" eval="True"/>
118 </record>
119 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES-->
120 <record id="l10n_es.iva_pymes_ded_30" model="account.tax.code.template">
121 <field name="mod340" eval="True"/>
122 </record>
123
124 <record id="l10n_es.iva_pymes_ded_30_4" model="account.tax.code.template">
125 <field name="mod340" eval="True"/>
126 </record>
127
128 <record id="l10n_es.iva_pymes_ded_30_7" model="account.tax.code.template">
129 <field name="mod340" eval="True"/>
130 </record>
131
132 <record id="l10n_es.iva_pymes_ded_30_8" model="account.tax.code.template">
133 <field name="mod340" eval="True"/>
134 </record>
135
136 <record id="l10n_es.iva_pymes_ded_30_10" model="account.tax.code.template">
137 <field name="mod340" eval="True"/>
138 </record>
139
140 <record id="l10n_es.iva_pymes_ded_30_16" model="account.tax.code.template">
141 <field name="mod340" eval="True"/>
142 </record>
143
144 <record id="l10n_es.iva_pymes_ded_30_18" model="account.tax.code.template">
145 <field name="mod340" eval="True"/>
146 </record>
147
148 <record id="l10n_es.iva_pymes_ded_30_21" model="account.tax.code.template">
149 <field name="mod340" eval="True"/>
150 </record>
151 <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN-->
152 <record id="l10n_es.iva_pymes_ded_32" model="account.tax.code.template">
153 <field name="mod340" eval="True"/>
154 </record>
155
156 <record id="l10n_es.iva_pymes_ded_32_4" model="account.tax.code.template">
157 <field name="mod340" eval="True"/>
158 </record>
159
160 <record id="l10n_es.iva_pymes_ded_32_7" model="account.tax.code.template">
161 <field name="mod340" eval="True"/>
162 </record>
163
164 <record id="l10n_es.iva_pymes_ded_32_8" model="account.tax.code.template">
165 <field name="mod340" eval="True"/>
166 </record>
167
168 <record id="l10n_es.iva_pymes_ded_32_10" model="account.tax.code.template">
169 <field name="mod340" eval="True"/>
170 </record>
171
172 <record id="l10n_es.iva_pymes_ded_32_16" model="account.tax.code.template">
173 <field name="mod340" eval="True"/>
174 </record>
175
176 <record id="l10n_es.iva_pymes_ded_32_18" model="account.tax.code.template">
177 <field name="mod340" eval="True"/>
178 </record>
179
180 <record id="l10n_es.iva_pymes_ded_32_21" model="account.tax.code.template">
181 <field name="mod340" eval="True"/>
182 </record>
183 <!--Otros Códigos de Impuestos-->
184 <record id="l10n_es.base_intra_42" model="account.tax.code.template">
185 <field name="mod340" eval="True"/>
186 </record>
187
188 <record id="l10n_es.base_extra_44" model="account.tax.code.template">
189 <field name="mod340" eval="True"/>
190 </record>
191 </data>
192</openerp>
0\ No newline at end of file193\ No newline at end of file
1194
=== modified file 'l10n_es_aeat_mod340/wizard/calculate_mod340_records.py'
--- l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2012-09-26 18:05:45 +0000
+++ l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2014-02-03 11:19:23 +0000
@@ -2,12 +2,12 @@
2##############################################################################2##############################################################################
3#3#
4# Copyright (C) 2011 Ting. All Rights Reserved4# Copyright (C) 2011 Ting. All Rights Reserved
5# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved5# Copyright (c) 2011-2013 Acysos S.L.(http://acysos.com) All Rights Reserved
6# Ignacio Ibeas Izquierdo <ignacio@acysos.com>6# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
7#7#
8# This program is free software: you can redistribute it and/or modify8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU Affero General Public License as published by9# it under the terms of the GNU Affero General Public License as published
10# the Free Software Foundation, either version 3 of the License, or10# by the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.11# (at your option) any later version.
12#12#
13# This program is distributed in the hope that it will be useful,13# This program is distributed in the hope that it will be useful,
@@ -39,7 +39,8 @@
3939
40 self._calculate_records(cr, uid, ids, context, recalculate=False)40 self._calculate_records(cr, uid, ids, context, recalculate=False)
41 wf_service = netsvc.LocalService("workflow")41 wf_service = netsvc.LocalService("workflow")
42 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', ids and ids[0], 'calculate', cr)42 wf_service.trg_validate(uid, 'l10n.es.aeat.mod340', ids and ids[0],
43 'calculate', cr)
4344
44 45
4546
@@ -53,6 +54,7 @@
53 54
54 invoices340 = self.pool.get('l10n.es.aeat.mod340.issued')55 invoices340 = self.pool.get('l10n.es.aeat.mod340.issued')
55 invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received')56 invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received')
57 period_obj = self.pool.get('account.period')
56 58
57 mod340.write({59 mod340.write({
58 'state' : 'calculated',60 'state' : 'calculated',
@@ -60,35 +62,23 @@
60 })62 })
61 63
62 if not mod340.company_id.partner_id.vat:64 if not mod340.company_id.partner_id.vat:
63 raise osv.except_osv(mod340.company_id.partner_id.name, _('This company dont have NIF'))65 raise osv.except_osv(mod340.company_id.partner_id.name,
66 _('This company dont have NIF'))
64 67
65 wf_service = netsvc.LocalService("workflow")68 wf_service = netsvc.LocalService("workflow")
66 wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report', ids and ids[0], 'calculate', cr)69 wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report',
67 70 ids and ids[0], 'calculate', cr)
68 fecha_ini = False71
69 fecha_fin = False72 code = '340'+mod340.fiscalyear_id.code+''
70 73 code += mod340.period_to.date_stop[5:7]+'0001'
71 dec_year =mod340.fiscalyear_id.date_start.split('-')[0]74
72 75 account_period_ids = period_obj.build_ctx_periods(cr, uid,
73 mod = mod340.period76 mod340.period_from.id, mod340.period_to.id)
7477
75 if mod >= '01' and mod <= '12':78 if len(account_period_ids) == 0:
76 fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, mod), '%Y-%m-%d')79 raise osv.except_osv(_('Error'),
77 fecha_fin = fecha_ini + relativedelta(months=+1, days=-1)80 _("The periods selected don't belong to the fiscal year %s")
7881 % (mod340.fiscalyear_id.name))
79 if mod in ('1T', '2T', '3T', '4T'):
80 month = ( ( int(mod[0])-1 ) * 3 ) + 1
81 fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, month), '%Y-%m-%d')
82 fecha_fin = fecha_ini + relativedelta(months=+3, days=-1)
83 mod = '%02d' % month
84
85 code = '340'+dec_year+''+mod+'0001'
86
87 account_period_id = self.pool.get('account.period').search(cr,uid,[('date_start','=',fecha_ini),('date_stop','=',fecha_fin)])
88
89 if not account_period_id:
90 raise osv.except_osv(_('El periodo seleccionado no coincide con los periodos del año fiscal:'), dec_year)
91
92 82
93 tot_base = 083 tot_base = 0
94 tot_amount = 084 tot_amount = 0
@@ -110,89 +100,103 @@
110 if del_ids:100 if del_ids:
111 invoices340_rec.unlink(cr, uid, del_ids, context=context)101 invoices340_rec.unlink(cr, uid, del_ids, context=context)
112 102
113 domain = [('period_id', '=',account_period_id[0]), 103 domain = [('period_id', 'in',account_period_ids),
114 ('state', 'in', ('open', 'paid'))]104 ('state', 'in', ('open', 'paid'))]
115105
116 invoice_ids = self.pool.get('account.invoice').search(cr, uid, domain, context=context)106 invoice_obj=self.pool.get('account.invoice')
117 for invoice in self.pool.get('account.invoice').browse(cr, uid, invoice_ids, context):107 invoice_ids = invoice_obj.search(cr, uid,domain, context=context)
118 if invoice.partner_id.vat_type == 1:108 for invoice in invoice_obj.browse(cr, uid, invoice_ids, context):
119 if not invoice.partner_id.vat:109 include = False
120 raise osv.except_osv(_('La siguiente empresa no tiene asignado nif:'), invoice.partner_id.name)
121
122 nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)", invoice.partner_id.vat).groups()[1]
123 country_code = invoice.address_invoice_id.country_id.code
124
125 values = {
126 'mod340_id': mod340.id,
127 'partner_id':invoice.partner_id.id,
128 'partner_vat':nif,
129 'representative_vat': '',
130 'partner_country_code' : country_code,
131 'invoice_id':invoice.id,
132 'base_tax':invoice.amount_untaxed,
133 'amount_tax':invoice.amount_tax,
134 'total':invoice.amount_total
135 }
136 if invoice.type in ( 'out_refund','in_refund'):
137 values['base_tax'] *=-1
138 values['amount_tax'] *=-1
139 values['total'] *=-1
140
141
142 if invoice.type=="out_invoice" or invoice.type=="out_refund":
143 invoice_created = invoices340.create(cr,uid,values)
144
145 if invoice.type=="in_invoice" or invoice.type=="in_refund":
146 invoice_created = invoices340_rec.create(cr,uid,values)
147
148 tot_tax_invoice = 0
149 check_tax=0
150 check_base=0
151
152 # Add the invoices detail to the partner record
153 for tax_line in invoice.tax_line:110 for tax_line in invoice.tax_line:
154 if tax_line.name.find('IRPF') == -1: # Remove IRPF from Mod340111 if tax_line.base_code_id:
155 tax_description = tax_line.name.split(' - ')112 if tax_line.base_code_id.mod340 == True:
156 if len(tax_description) == 2: name = tax_description[1]113 include = True
157 if len(tax_description) == 1: name = tax_description[0]114 if include == True:
158 account_tax = self.pool.get('account.tax').browse(cr, uid, self.pool.get('account.tax').search(cr, uid, [('name','=',name)], context=context))115 if invoice.partner_id.vat_type == 1:
159 if account_tax[0].amount < 0:116 if not invoice.partner_id.vat:
160 continue117 raise osv.except_osv(
161118 _('La siguiente empresa no tiene asignado nif:'),
162 values = {119 invoice.partner_id.name)
163 'name': name,120
164 'tax_percentage': account_tax[0].amount,121 nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)",
165 'tax_amount': tax_line.tax_amount,122 invoice.partner_id.vat).groups()[1]
166 'base_amount': tax_line.base_amount,123 country_code = invoice.partner_id.country_id.code
167 'invoice_record_id': invoice_created,124
168 }125 values = {
169 if invoice.type=="out_invoice" or invoice.type=="out_refund":126 'mod340_id': mod340.id,
170 self.pool.get('l10n.es.aeat.mod340.tax_line_issued').create(cr, uid, values)127 'partner_id':invoice.partner_id.id,
171 if invoice.type=="in_invoice" or invoice.type=="in_refund":128 'partner_vat':nif,
172 self.pool.get('l10n.es.aeat.mod340.tax_line_received').create(cr, uid, values)129 'representative_vat': '',
173 tot_tax_invoice += tax_line.tax_amount130 'partner_country_code' : country_code,
174 tot_rec += 1131 'invoice_id':invoice.id,
175 check_tax += tax_line.tax_amount132 'base_tax':invoice.amount_untaxed,
176 check_base += tax_line.base_amount133 'amount_tax':invoice.amount_tax,
177 134 'total':invoice.amount_total,
178 tot_base += invoice.amount_untaxed135 'date_invoice':invoice.date_invoice,
179 tot_amount += tot_tax_invoice136 }
180 tot_tot += invoice.amount_untaxed + tot_tax_invoice137 if invoice.type in ( 'out_refund','in_refund'):
181 138 values['base_tax'] *=-1
182 if invoice.type=="out_invoice" or invoice.type=="out_refund":139 values['amount_tax'] *=-1
183 invoices340.write(cr,uid,invoice_created,{'amount_tax':tot_tax_invoice})140 values['total'] *=-1
184 if invoice.type=="in_invoice" or invoice.type=="in_refund":141
185 invoices340_rec.write(cr,uid,invoice_created,{'amount_tax':tot_tax_invoice})142
186143 if invoice.type=="out_invoice" or invoice.type=="out_refund":
187 sign=1144 invoice_created = invoices340.create(cr,uid,values)
188 if invoice.type in ( 'out_refund','in_refund' ):145
189 sign = -1146 if invoice.type=="in_invoice" or invoice.type=="in_refund":
190 147 invoice_created = invoices340_rec.create(cr,uid,values)
191 if str(invoice.amount_untaxed*sign) != str(check_base):148
192 print "id:", invoice.id, "base: %.5f"%invoice.amount_untaxed , "taxlibe base: %.5f"%check_base, "number:",invoice.number149 tot_tax_invoice = 0
193 raise osv.except_osv( "REVIEW INVOICE", _('Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f' )%(invoice.number, check_base, invoice.amount_untaxed*sign) )150 check_tax=0
194 151 check_base=0
195 mod340.write({'total_taxable':tot_base,'total_sharetax':tot_amount,'number_records':tot_rec,'total':tot_tot,'number':code})152
153 # Add the invoices detail to the partner record
154 for tax_line in invoice.tax_line:
155 if tax_line.base_code_id:
156 if tax_line.base_code_id.mod340 == True:
157 tax_percentage = tax_line.amount/tax_line.base
158
159 values = {
160 'name': tax_line.name,
161 'tax_percentage': tax_percentage,
162 'tax_amount': tax_line.tax_amount,
163 'base_amount': tax_line.base_amount,
164 'invoice_record_id': invoice_created,
165 }
166 if invoice.type=="out_invoice" or invoice.type=="out_refund":
167 issued_obj = self.pool.get('l10n.es.aeat.mod340.tax_line_issued')
168 issued_obj.create(cr, uid, values)
169 if invoice.type=="in_invoice" or invoice.type=="in_refund":
170 received_obj=self.pool.get('l10n.es.aeat.mod340.tax_line_received')
171 received_obj.create(cr, uid, values)
172 tot_tax_invoice += tax_line.tax_amount
173 tot_rec += 1
174 check_tax += tax_line.tax_amount
175 if tax_percentage >= 0:
176 check_base += tax_line.base_amount
177
178 tot_base += invoice.amount_untaxed
179 tot_amount += tot_tax_invoice
180 tot_tot += invoice.amount_untaxed + tot_tax_invoice
181
182 if invoice.type=="out_invoice" or invoice.type=="out_refund":
183 invoices340.write(cr,uid,invoice_created,
184 {'amount_tax':tot_tax_invoice})
185 if invoice.type=="in_invoice" or invoice.type=="in_refund":
186 invoices340_rec.write(cr,uid,invoice_created,
187 {'amount_tax':tot_tax_invoice})
188
189 sign=1
190 if invoice.type in ( 'out_refund','in_refund' ):
191 sign = -1
192
193 if str(invoice.amount_untaxed*sign) != str(check_base):
194 raise osv.except_osv( "REVIEW INVOICE",
195 _('Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f' )
196 %(invoice.number, check_base, invoice.amount_untaxed*sign) )
197
198 mod340.write({'total_taxable':tot_base,'total_sharetax':tot_amount,
199 'number_records':tot_rec,'total':tot_tot,'number':code})
196 200
197 if recalculate:201 if recalculate:
198 mod340.write({202 mod340.write({
@@ -212,10 +216,10 @@
212 if context is None:216 if context is None:
213 context = {}217 context = {}
214218
215 threaded_calculation = threading.Thread(target=self._calculate_records, args=(cr, uid, ids, context))219 threaded_calculation = threading.Thread(target=self._calculate_records,
220 args=(cr, uid, ids, context))
216 threaded_calculation.start()221 threaded_calculation.start()
217222
218 return {}223 return {}
219224
220l10n_es_aeat_mod340_calculate_records()225l10n_es_aeat_mod340_calculate_records()
221# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
222226
=== modified file 'l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py' (properties changed: -x to +x)
--- l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py 2013-11-22 23:44:11 +0000
+++ l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py 2014-02-03 11:19:23 +0000
@@ -1,7 +1,7 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2##############################################################################2##############################################################################
3#3#
4# Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved.4# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved.
5# Ignacio Ibeas <ignacio@acysos.com>5# Ignacio Ibeas <ignacio@acysos.com>
6# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.6# Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L.
7# http://www.NaN-tic.com7# http://www.NaN-tic.com
@@ -21,15 +21,14 @@
21#21#
22##############################################################################22##############################################################################
2323
24from datetime import datetime
25from openerp.tools.translate import _
26from openerp.osv import orm
24import base6427import base64
25import time28import time
2629
27from osv import osv30
28from tools.translate import _31class l10n_es_aeat_mod340_export_to_boe(orm.TransientModel):
29
30
31class l10n_es_aeat_mod340_export_to_boe(osv.osv_memory):
32
33 _inherit = "l10n.es.aeat.report.export_to_boe"32 _inherit = "l10n.es.aeat.report.export_to_boe"
34 _name = "l10n.es.aeat.mod340.export_to_boe"33 _name = "l10n.es.aeat.mod340.export_to_boe"
35 _description = "Export AEAT Model 340 to BOE format"34 _description = "Export AEAT Model 340 to BOE format"
@@ -63,33 +62,71 @@
63 416-500 Blancos62 416-500 Blancos
64 """63 """
65 text = ''64 text = ''
6665 # Tipo de Registro
67 text += '1' # Tipo de Registro66 text += '1'
68 text += '340' # Modelo Declaración67 # Modelo Declaración
69 text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio68 text += '340'
70 text += self._formatString(report.company_vat, 9) # NIF del declarante69 # Ejercicio
71 text += self._formatString(report.company_id.name, 40) # Apellidos y nombre o razón social del declarante70 text += self._formatString(report.fiscalyear_id.code, 4)
72 text += self._formatString(report.support_type, 1) # Tipo de soporte71 # NIF del declarante
73 text += self._formatString(report.contact_phone, 9) # Persona de contacto (Teléfono)72 text += self._formatString(report.company_vat, 9)
74 text += self._formatString(report.name_contact, 40) # Persona de contacto (Apellidos y nombre)73 # Apellidos y nombre o razón social del declarante
75 text += self._formatNumber(report.number, 13) # Número identificativo de la declaración74 text += self._formatString(report.company_id.name, 40)
76 if (report.type == 'C'): text += 'C' # Declaración complementaria75 # Tipo de soporte
77 else: text += ' '76 text += self._formatString(report.support_type, 1)
78 if (report.type == 'S'): text += 'S' # Declaración substitutiva77 # Persona de contacto (Teléfono)
79 else: text += ' '78 text += self._formatString(report.contact_phone, 9)
80 text += self._formatNumber(report.previous_number, 13) # Número identificativo de la declaración anterior79 # Persona de contacto (Apellidos y nombre)
81 text += self._formatString(report.period,2) # Periodo80 text += self._formatString(report.name_contact, 40)
82 text += self._formatNumber(report.number_records, 9) # Número total de registros81 # Número identificativo de la declaración
83 text += self._formatNumber(report.total_taxable, 15, 2,True) # Importe total de la base imponible82 text += self._formatNumber(report.number, 13)
84 text += self._formatNumber(report.total_sharetax, 15, 2,True) # Importe Total de la cuota del impuesto83 # Declaración complementaria
85 text += self._formatNumber(report.total, 15, 2,True) # Importe total de las facturas84 if (report.type == 'C'): text += 'C'
86 text += 190*' ' # Blancos85 else: text += ' '
87 text += self._formatString(report.representative_vat, 9) # NIF del representante legal86 # Declaración substitutiva
88 text += self._formatString(report.ean13, 17) # Sello electrónico87 if (report.type == 'S'): text += 'S'
89 text += 84*' ' # Blancos88 else: text += ' '
89 # Número identificativo de la declaración anterior
90 text += self._formatNumber(report.previous_number, 13)
91 period_stop = report.period_to.date_stop[5:7]
92 period_start = report.period_to.date_start[5:7]
93 if period_start == period_stop:
94 period = period_stop
95 else:
96 if period_stop == '03':
97 period = '1T'
98 elif period_stop == '06':
99 period = '2T'
100 elif period_stop == '09':
101 period = '3T'
102 elif period_stop == '12':
103 period = '4T'
104 else:
105 raise orm.except_orm( "ERROR",
106 _("The period hasn't a valid Mod340 period" ))
107 # Periodo
108 text += self._formatString(period,2)
109 # Número total de registros
110 text += self._formatNumber(report.number_records, 9)
111 # Importe total de la base imponible
112 text += self._formatNumber(report.total_taxable, 15, 2,True)
113 # Importe Total de la cuota del impuesto
114 text += self._formatNumber(report.total_sharetax, 15, 2,True)
115 # Importe total de las facturas
116 text += self._formatNumber(report.total, 15, 2,True)
117 # Blancos
118 text += 190*' '
119 # NIF del representante legal
120 text += self._formatString(report.representative_vat, 9)
121 # Sello electrónico
122 text += self._formatString(report.ean13, 17)
123 # Blancos
124 text += 84*' '
90 text += '\r\n'125 text += '\r\n'
91126
92 assert len(text) == 502, _("The type 1 record must be 500 characters long")127 assert len(text)==502,_("The type 1 record must be 500 characters long")
128 print 'Declaration'
129 print text
93 return text130 return text
94 131
95 def _get_formated_invoice_issued(self, cr, uid, report, invoice_issued):132 def _get_formated_invoice_issued(self, cr, uid, report, invoice_issued):
@@ -105,15 +142,20 @@
105 9-17 NIF del declarante142 9-17 NIF del declarante
106 18-26 NIF del declarado143 18-26 NIF del declarado
107 27-35 NIF del representante legal144 27-35 NIF del representante legal
108 36-75 Apellidos y nombre, razón social o denominación del declarado145 36-75 Apellidos y nombre, razón social o
146 denominación del declarado
109 76-77 Código país147 76-77 Código país
110 78 Clave de identificación en el país de residencia148 78 Clave de identificación en el país de residencia
111 79-95 Número de identificación fiscal en el país de residencia. TODO de momento blancos.149 79-95 Número de identificación fiscal en el país de
150 residencia. TODO de momento blancos.
112 96-98 Blancos151 96-98 Blancos
113 99 Clave tipo de libro. Constante 'E'.152 99 Clave tipo de libro. Constante 'E'.
114 100 Clave de operación. Constante ' ' para un solo tipo de IVA. Constante 'C' para varios tipos de IVA. TODO Resto de operaciones. Varios tipos impositivos.153 100 Clave de operación. Constante ' ' para un solo tipo de
154 IVA. Constante 'C' para varios tipos de IVA. TODO Resto
155 de operaciones. Varios tipos impositivos.
115 101-108 Fecha de expedición156 101-108 Fecha de expedición
116 109-116 Fecha de operación. Se consigna la misma que expedición. TODO. Fecha del uso del bien.157 109-116 Fecha de operación. Se consigna la misma que
158 expedición. TODO. Fecha del uso del bien.
117 117-121 Tipo impositivo159 117-121 Tipo impositivo
118 122-135 Base imponible160 122-135 Base imponible
119 136-149 Cuota del impuesto161 136-149 Cuota del impuesto
@@ -121,42 +163,60 @@
121 164-177 Base imponible a coste. TODO de momento 0.163 164-177 Base imponible a coste. TODO de momento 0.
122 178-217 Identificación de la factura164 178-217 Identificación de la factura
123 218-235 Número de registro TODO No se exactamente que es165 218-235 Número de registro TODO No se exactamente que es
124 236-243 Número de facturas. Siempre 1. TODO Resumenes de facturas o tickets. Clave A o B.166 236-243 Número de facturas. Siempre 1. TODO Resumenes de
125 244-245 Número de registro. Siempre 1. TODO Facturas con varios asientos. Clave C.167 facturas o tickets. Clave A o B.
126 246-325 Intervalo de acumulación. Vacio. TODO Intervalo de resumenes de facturas o tickets.168 244-245 Número de registro. Siempre 1. TODO Facturas con varios
169 asientos. Clave C.
170 246-325 Intervalo de acumulación. Vacio. TODO Intervalo de
171 resumenes de facturas o tickets.
127 326-365 Identificación de la factura rectificativa. TODO.172 326-365 Identificación de la factura rectificativa. TODO.
128 366-370 Tipo recargo de equivalencia. TODO.173 366-370 Tipo recargo de equivalencia. TODO.
129 371-384 Cuota recargo de equivalencia. TODO.174 371-384 Cuota recargo de equivalencia. TODO.
130 385 Situación del Inmueble #TODO 2012175 385 Situación del Inmueble #TODO
131 386-410 Referencia Catastral #TODO 2012176 386-410 Referencia Catastral #TODO
132 411-425 Importe Percibido en Metálico #TODO 2012177 411-425 Importe Percibido en Metálico #TODO
133 426-429 Ejercicio ( cifras del ejercicio en el que se hubieran declarado las operaciones que dan origen al cobro ) #TODO 2012178 426-429 Ejercicio (cifras del ejercicio en el que se hubieran
134 430-444 Importe percibido por transmisiones de Inmuebles sujetas a IVA. #TODO 2012179 declarado las operaciones que dan origen al cobro)
180 #TODO
181 430-444 Importe percibido por transmisiones de Inmuebles
182 sujetas a IVA. #TODO
135 445-500 BLANCOS 183 445-500 BLANCOS
136 184
137185
138 """186 """
139 text = ''187 text = ''
140 for tax_line in invoice_issued.tax_line_ids:188 for tax_line in invoice_issued.tax_line_ids:
141 189 # Tipo de Registro
142 text += '2' # Tipo de Registro190 text += '2'
143 text += '340' # Modelo Declaración191 # Modelo Declaración
144 text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio192 text += '340'
145 text += self._formatString(report.company_vat, 9) # NIF del declarante193 # Ejercicio
146 if invoice_issued.partner_country_code == 'ES': text += self._formatString(invoice_issued.partner_vat, 9) # NIF del declarado194 text += self._formatString(report.fiscalyear_id.code, 4)
147 else: text += self._formatString(' ', 9) 195 # NIF del declarante
148 text += self._formatString(invoice_issued.representative_vat, 9) # NIF del representante legal196 text += self._formatString(report.company_vat, 9)
149 text += self._formatString(invoice_issued.partner_id.name, 40) # Apellidos y nombre, razón social o denominación del declarado197 # NIF del declarado
150 text += self._formatString(invoice_issued.partner_country_code, 2) # Código país198 if invoice_issued.partner_country_code == 'ES':
151 text += self._formatNumber(invoice_issued.partner_id.vat_type, 1) # Clave de identificación en el país de residencia199 text += self._formatString(invoice_issued.partner_vat, 9)
152 if invoice_issued.partner_country_code != 'ES': # Número de identificación fiscal en el país de residencia.200 else: text += self._formatString(' ', 9)
153 text += self._formatString(invoice_issued.partner_country_code, 2)201 # NIF del representante legal
154 text += self._formatString(invoice_issued.partner_vat, 15)202 text += self._formatString(invoice_issued.representative_vat, 9)
203 # Apellidos y nombre, razón social o denominación del declarado
204 text += self._formatString(invoice_issued.partner_id.name, 40)
205 # Código país
206 text += self._formatString(invoice_issued.partner_country_code, 2)
207 # Clave de identificación en el país de residencia
208 text += self._formatNumber(invoice_issued.partner_id.vat_type, 1)
209 # Número de identificación fiscal en el país de residencia.
210 if invoice_issued.partner_country_code != 'ES':
211 text+=self._formatString(invoice_issued.partner_country_code,2)
212 text+=self._formatString(invoice_issued.partner_vat, 15)
155 else: text += 17*' '213 else: text += 17*' '
156 text += 3*' ' # Blancos214 # Blancos
157 text += 'E' # Clave tipo de libro. Constante 'E'.215 text += 3*' '
158 216 # Clave tipo de libro. Constante 'E'.
159 if invoice_issued.invoice_id.origin_invoices_ids: # Clave de operación217 text += 'E'
218 # Clave de operación
219 if invoice_issued.invoice_id.origin_invoices_ids:
160 text +='D'220 text +='D'
161 elif len(invoice_issued.tax_line_ids) > 1: text += 'C'221 elif len(invoice_issued.tax_line_ids) > 1: text += 'C'
162 elif invoice_issued.invoice_id.is_ticket_summary == 1: text += 'B'222 elif invoice_issued.invoice_id.is_ticket_summary == 1: text += 'B'
@@ -164,27 +224,38 @@
164 224
165 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[0],4)225 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[0],4)
166 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[1],2)226 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[1],2)
167 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) # Fecha de expedición227 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2)
168 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[0],4)228 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[0],4)
169 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[1],2)229 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[1],2)
170 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) # Fecha de operación230 text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2)
171 231 #Tipo impositivo
172 text += self._formatNumber(tax_line.tax_percentage*100,3,2) #Tipo impositivo232 text += self._formatNumber(tax_line.tax_percentage*100,3,2)
173 text += self._formatNumber(tax_line.base_amount, 11,2,True) # Base imponible233 # Base imponible
174 text += self._formatNumber(tax_line.tax_amount, 11,2,True) # Cuota del impuesto234 text += self._formatNumber(tax_line.base_amount, 11,2,True)
175 text += self._formatNumber(tax_line.tax_amount+tax_line.base_amount, 11,2,True) # Importe total de la factura235 # Cuota del impuesto
176 text += ' '+self._formatNumber(0, 11,2) # Base imponible a coste.236 text += self._formatNumber(tax_line.tax_amount, 11,2,True)
177 text += self._formatString(invoice_issued.invoice_id.number, 40) # Identificación de la factura237 # Importe total de la factura
178 text += self._formatString(self.pool.get('ir.sequence').get(cr, uid, 'mod340'),18) # Número de registro238 text += self._formatNumber(tax_line.tax_amount+
179 if invoice_issued.invoice_id.is_ticket_summary == 1: # Número de facturas239 tax_line.base_amount, 11,2,True)
240 # Base imponible a coste.
241 text += ' '+self._formatNumber(0, 11,2)
242 # Identificación de la factura
243 text += self._formatString(invoice_issued.invoice_id.number, 40)
244 # Número de registro
245 text += self._formatString(self.pool.get('ir.sequence').get(cr, uid, 'mod340'),18)
246 # Número de facturas
247 if invoice_issued.invoice_id.is_ticket_summary == 1:
180 text += self._formatNumber(invoice_issued.invoice_id.number_tickets, 8)248 text += self._formatNumber(invoice_issued.invoice_id.number_tickets, 8)
181 else: text += self._formatNumber(1, 8)249 else: text += self._formatNumber(1, 8)
182 text += self._formatNumber(len(invoice_issued.tax_line_ids), 2) # Número de registros (Desglose)250 # Número de registros (Desglose)
183 if invoice_issued.invoice_id.is_ticket_summary == 1: # Intervalo de identificación de la acumulación251 text += self._formatNumber(len(invoice_issued.tax_line_ids), 2)
252 # Intervalo de identificación de la acumulación
253 if invoice_issued.invoice_id.is_ticket_summary == 1:
184 text += self._formatString(invoice_issued.invoice_id.first_ticket, 40)254 text += self._formatString(invoice_issued.invoice_id.first_ticket, 40)
185 text += self._formatString(invoice_issued.invoice_id.last_ticket, 40)255 text += self._formatString(invoice_issued.invoice_id.last_ticket, 40)
186 else: text += 80*' '256 else: text += 80*' '
187 text += self._formatString( ",".join( [x.number for x in invoice_issued.invoice_id.origin_invoices_ids]) , 40 ) # Identificación factura rectificativa257 # Identificación factura rectificativa
258 text += self._formatString( ",".join( [x.number for x in invoice_issued.invoice_id.origin_invoices_ids]) , 40 )
188 text += self._formatNumber(0, 5) # Tipo Recargo de equivalencia259 text += self._formatNumber(0, 5) # Tipo Recargo de equivalencia
189 text += ' '+self._formatNumber(0, 11,2) # Couta del recargo de equivalencia260 text += ' '+self._formatNumber(0, 11,2) # Couta del recargo de equivalencia
190 text += '0' #Situación del Inmueble #TODO 2012261 text += '0' #Situación del Inmueble #TODO 2012
@@ -254,9 +325,7 @@
254 text += 3*' ' # Blancos325 text += 3*' ' # Blancos
255 text += 'R' # Clave tipo de libro. Constante 'E'.326 text += 'R' # Clave tipo de libro. Constante 'E'.
256 327
257 if invoice_received.invoice_id.operation_key == 'I':328 if len(invoice_received.tax_line_ids) > 1: text += 'C' # Clave de operación
258 text +='I'
259 elif len(invoice_received.tax_line_ids) > 1: text += 'C' # Clave de operación
260 else: text += ' '329 else: text += ' '
261 330
262 text += self._formatNumber(invoice_received.invoice_id.date_invoice.split('-')[0],4)331 text += self._formatNumber(invoice_received.invoice_id.date_invoice.split('-')[0],4)
@@ -291,38 +360,7 @@
291360
292 for invoice_received in report.received:361 for invoice_received in report.received:
293 file_contents += self._get_formated_invoice_received(cr,uid,report, invoice_received)362 file_contents += self._get_formated_invoice_received(cr,uid,report, invoice_received)
294363 print 'Other'
364 print file_contents
295 return file_contents365 return file_contents
296 366
297
298 def _export_boe_file(self, cr, uid, ids, report, model=None, context=None):
299 """
300 Action that exports the data into a BOE formated text file
301 """
302 if context is None:
303 context = {}
304
305 file_contents = ''
306
307 ##
308 ## Add header record
309 file_contents += self._get_formated_declaration_record(report)
310
311 ##
312 ## Adds other fields
313 file_contents += self._get_formated_other_records(cr,uid,report)
314
315 ##
316 ## Generate the file and save as attachment
317 file = base64.encodestring(file_contents)
318
319 file_name = _("340_report_%s.txt") % (time.strftime(_("%Y-%m-%d")))
320 self.pool.get("ir.attachment").create(cr, uid, {
321 "name" : file_name,
322 "datas" : file,
323 "datas_fname" : file_name,
324 "res_model" : "l10n.es.aeat.mod340",
325 "res_id" : ids and ids[0]
326 }, context=context)
327
328l10n_es_aeat_mod340_export_to_boe()
329367
=== added file 'l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml'
--- l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml 2014-02-03 11:19:23 +0000
@@ -0,0 +1,18 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data>
4 <record model="ir.actions.act_window" id="action_wizard_aeat_mod340_export">
5 <field name="name">Export AEAT 340 BOE file</field>
6 <field name="type">ir.actions.act_window</field>
7 <field name="res_model">l10n.es.aeat.mod340.export_to_boe</field>
8 <field name="view_type">form</field>
9 <field name="view_mode">form</field>
10 <field name="target">new</field>
11 </record>
12 <record model="ir.actions.act_window.view" id="action_wizard_aeat_mod340_export_form">
13 <field name="act_window_id" ref="action_wizard_aeat_mod340_export"/>
14 <field name="view_mode">form</field>
15 <field name="view_id" ref="l10n_es_aeat.wizard_aeat_export"/>
16 </record>
17 </data>
18</openerp>
019
=== added directory 'l10n_es_aeat_mod340_type0'
=== added file 'l10n_es_aeat_mod340_type0/__init__.py'
--- l10n_es_aeat_mod340_type0/__init__.py 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340_type0/__init__.py 2014-02-03 11:19:23 +0000
@@ -0,0 +1,27 @@
1# -*- coding: utf-8 -*-
2##############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved
6# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
7#
8# $Id$
9#
10# This program is free software: you can redistribute it and/or modify
11# it under the terms of the GNU Affero General Public License as published by
12# the Free Software Foundation, either version 3 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU Affero General Public License for more details.
19#
20# You should have received a copy of the GNU Affero General Public License
21# along with this program. If not, see <http://www.gnu.org/licenses/>.
22#
23##############################################################################
24
25import wizard
26import mod340
27
028
=== added file 'l10n_es_aeat_mod340_type0/__openerp__.py'
--- l10n_es_aeat_mod340_type0/__openerp__.py 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340_type0/__openerp__.py 2014-02-03 11:19:23 +0000
@@ -0,0 +1,45 @@
1# -*- coding: utf-8 -*-
2##############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved.
6# Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved
7# Ignacio Ibeas Izquierdo <ignacio@acysos.com>
8# $Id$
9#
10# This program is free software: you can redistribute it and/or modify
11# it under the terms of the GNU Affero General Public License as published by
12# the Free Software Foundation, either version 3 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU Affero General Public License for more details.
19#
20# You should have received a copy of the GNU Affero General Public License
21# along with this program. If not, see <http://www.gnu.org/licenses/>.
22#
23##############################################################################
24
25{
26 'name' : 'Generación de fichero modelo 340. Registro tipo 0',
27 'version' : '1.0',
28 'author' : 'Acysos S.L.',
29 'website' : 'www.acysos.com',
30 'category' : 'Localisation/Accounting',
31 'description' : '''
32 Exporta el registro de tipo 0 del Modelo 340.
33 Actualmente solo obligatorio para la Comunidad Foral de Navarra.
34 ''',
35 'license' : 'AGPL-3',
36 'depends' : ['l10n_es_aeat_mod340',
37 'city',
38 ],
39 'init_xml' : [],
40 'demo_xml' : [],
41 'update_xml' : [
42 'mod340_view.xml'],
43 'installable' : True,
44 'active' : False,
45}
046
=== added directory 'l10n_es_aeat_mod340_type0/i18n'
=== added file 'l10n_es_aeat_mod340_type0/i18n/es.po'
--- l10n_es_aeat_mod340_type0/i18n/es.po 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340_type0/i18n/es.po 2014-02-03 11:19:23 +0000
@@ -0,0 +1,124 @@
1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod340_type0
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.3\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"
9"POT-Creation-Date: 2013-05-17 16:32+0000\n"
10"PO-Revision-Date: 2013-05-17 16:32+0000\n"
11"Last-Translator: <>\n"
12"Language-Team: \n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: \n"
16"Plural-Forms: \n"
17
18#. module: l10n_es_aeat_mod340_type0
19#: view:l10n.es.aeat.mod340:0
20msgid "Presenter"
21msgstr "Presentador"
22
23#. module: l10n_es_aeat_mod340_type0
24#: model:ir.model,name:l10n_es_aeat_mod340_type0.model_l10n_es_aeat_mod340_export_to_boe
25msgid "Export AEAT Model 340 to BOE format"
26msgstr "Exportar Modelo AEAT 340 al formato del BOE"
27
28#. module: l10n_es_aeat_mod340_type0
29#: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:121
30#, python-format
31msgid "340_report_%s.txt"
32msgstr "340_report_%s.txt"
33
34#. module: l10n_es_aeat_mod340_type0
35#: model:ir.model,name:l10n_es_aeat_mod340_type0.model_l10n_es_aeat_mod340
36msgid "Model 340"
37msgstr "Modelo 340"
38
39#. module: l10n_es_aeat_mod340_type0
40#: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:121
41#, python-format
42msgid "%Y-%m-%d"
43msgstr "%Y-%m-%d"
44
45#. module: l10n_es_aeat_mod340_type0
46#: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:92
47#, python-format
48msgid "The type 0 record must be 500 characters long"
49msgstr "El registro de tipo 0 debe tener 500 caracteres"
50
51#. module: l10n_es_aeat_mod340_type0
52#: view:l10n.es.aeat.mod340:0
53msgid "Address"
54msgstr "Dirección"
55
56#. module: l10n_es_aeat_mod340_type0
57#: view:l10n.es.aeat.mod340:0
58msgid "This information is only for the company that have to present registry type 0. For the moment, only in Comunidad Foral de Navarra"
59msgstr "Esta información es solo para las compañías que deben presentar el registro de tipo 0. Actualmente, solo en la Comunidad Foral de Navarra."
60
61#. module: l10n_es_aeat_mod340
62#: field:l10n.es.aeat.mod340,presenter_address_stair:0
63msgid "Stair"
64msgstr "Escalera"
65
66#. module: l10n_es_aeat_mod340
67#: help:l10n.es.aeat.mod340,presenter_city_id:0
68msgid "Use the name or the zip to search the location"
69msgstr "Utilice el nombre o el código postal para buscar la localización"
70
71#. module: l10n_es_aeat_mod340
72#: field:l10n.es.aeat.mod340,presenter_phone_contact:0
73msgid "Phone Contact"
74msgstr "Teléfono de contacto"
75
76#. module: l10n_es_aeat_mod340
77#: field:l10n.es.aeat.mod340,presenter_address_acronym:0
78msgid "Address Acronym"
79msgstr "Siglas"
80
81#. module: l10n_es_aeat_mod340
82#: field:l10n.es.aeat.mod340,presenter_city_id:0
83msgid "Location"
84msgstr "Localización"
85
86#. module: l10n_es_aeat_mod340
87#: field:l10n.es.aeat.mod340,presenter_address_door:0
88msgid "Door"
89msgstr "Puerta"
90
91#. module: l10n_es_aeat_mod340
92#: field:l10n.es.aeat.mod340,presenter_vat:0
93msgid "VAT number"
94msgstr "CIF/NIF"
95
96#. module: l10n_es_aeat_mod340
97#: help:l10n.es.aeat.mod340,presenter_address_acronym:0
98msgid "Acronyms of the type of public roadway, example St."
99msgstr "Siglas de la vía pública, por ejemplo CL."
100
101#. module: l10n_es_aeat_mod340
102#: field:l10n.es.aeat.mod340,presenter_address_number:0
103msgid "Number"
104msgstr "Nº"
105
106#. module: l10n_es_aeat_mod340
107#: field:l10n.es.aeat.mod340,presenter_address_floor:0
108msgid "Floor"
109msgstr "Piso"
110
111#. module: l10n_es_aeat_mod340
112#: field:l10n.es.aeat.mod340,presenter_name_contact:0
113msgid "Name And Surname Contact"
114msgstr "Nombre y apellido de contacto"
115
116#. module: l10n_es_aeat_mod340
117#: field:l10n.es.aeat.mod340,presenter_name:0
118msgid "Name And Surname"
119msgstr "Nombre y apellido"
120
121#. module: l10n_es_aeat_mod340
122#: field:l10n.es.aeat.mod340,presenter_address_name:0
123msgid "Street Name"
124msgstr "Calle"
0125
=== added file 'l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot'
--- l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot 1970-01-01 00:00:00 +0000
+++ l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot 2014-02-03 11:19:23 +0000
@@ -0,0 +1,124 @@
1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:
3# * l10n_es_aeat_mod340_type0
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: OpenERP Server 6.0.3\n"
8"Report-Msgid-Bugs-To: support@openerp.com\n"
9"POT-Creation-Date: 2013-05-17 16:31+0000\n"
10"PO-Revision-Date: 2013-05-17 16:31+0000\n"
11"Last-Translator: <>\n"
12"Language-Team: \n"
13"MIME-Version: 1.0\n"
The diff has been truncated for viewing.