Merge lp:~acysos-team/openerp-spain/openerp-spain-7.0-mod340 into lp:~openerp-spain-team/openerp-spain/7.0
- openerp-spain-7.0-mod340
- Merge into 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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pedro Manuel Baeza | Approve | ||
Review via email: mp+204456@code.launchpad.net |
Commit message
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.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'l10n_es_aeat_mod340/__init__.py' | |||
2 | --- l10n_es_aeat_mod340/__init__.py 2012-09-08 15:32:47 +0000 | |||
3 | +++ l10n_es_aeat_mod340/__init__.py 2014-02-03 11:19:23 +0000 | |||
4 | @@ -3,7 +3,7 @@ | |||
5 | 3 | # | 3 | # |
6 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
7 | 5 | # Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved. | 5 | # Copyright (c) 20011 Ting (http://www.ting.es) All Rights Reserved. |
9 | 6 | # Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved | 6 | # Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved |
10 | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> |
11 | 8 | # | 8 | # |
12 | 9 | # $Id$ | 9 | # $Id$ |
13 | @@ -27,4 +27,5 @@ | |||
14 | 27 | import mod340 | 27 | import mod340 |
15 | 28 | import res_partner | 28 | import res_partner |
16 | 29 | import account_invoice | 29 | import account_invoice |
17 | 30 | import account | ||
18 | 30 | 31 | ||
19 | 31 | 32 | ||
20 | === modified file 'l10n_es_aeat_mod340/__openerp__.py' | |||
21 | --- l10n_es_aeat_mod340/__openerp__.py 2013-01-28 10:29:06 +0000 | |||
22 | +++ l10n_es_aeat_mod340/__openerp__.py 2014-02-03 11:19:23 +0000 | |||
23 | @@ -3,9 +3,8 @@ | |||
24 | 3 | # | 3 | # |
25 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
26 | 5 | # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. | 5 | # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. |
28 | 6 | # Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved | 6 | # Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved |
29 | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> |
30 | 8 | # | ||
31 | 9 | # $Id$ | 8 | # $Id$ |
32 | 10 | # | 9 | # |
33 | 11 | # This program is free software: you can redistribute it and/or modify | 10 | # This program is free software: you can redistribute it and/or modify |
34 | @@ -24,22 +23,24 @@ | |||
35 | 24 | ############################################################################## | 23 | ############################################################################## |
36 | 25 | 24 | ||
37 | 26 | { | 25 | { |
49 | 27 | "name" : "Generación de fichero modelo 340", | 26 | 'name' : 'Generación de fichero modelo 340 y libro de IVA', |
50 | 28 | "version" : "1.0", | 27 | 'version' : '2.0', |
51 | 29 | "author" : "Acysos S.L., Francisco Pascual (Ting), Nan-tic", | 28 | 'author' : 'Acysos S.L., Francisco Pascual (Ting), Nan-tic', |
52 | 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', |
53 | 31 | "category" : "Localisation/Accounting", | 30 | 'category' : 'Localisation/Accounting', |
54 | 32 | "description" : """ | 31 | 'description' : ''' |
55 | 33 | Módulo para la presentación del modelo 340. Exportación a formato AEAT. | 32 | Módulo para la presentación del modelo 340. Exportación a formato AEAT. Libro de IVA |
56 | 34 | 33 | ||
57 | 35 | --- ESTADO ACTUAL ------------------------------------------------------------- | 34 | Los impuestos incluidos en este modelo se indican en el Código base cuenta. Por defecto actualiza todos los código base que deban incluirse. |
58 | 36 | 35 | Si el plan contable esta instalado recuerde utilizar account_chart_update para actualizar los códigos. Contabilidad y Finanzas -> Configuración -> Contabilidad Financiera -> Actualizar plan contable a partir de una plantila de plan contable | |
59 | 37 | Búsqueda de facturas emitidas y recibidas. Excluidas lineas de impuestos con IRPF. | 36 | |
60 | 37 | Búsqueda de facturas emitidas y recibidas. | ||
61 | 38 | Exportación a formato de AEAT de facturas emitidas y recibidas. | 38 | Exportación a formato de AEAT de facturas emitidas y recibidas. |
66 | 39 | Exportación de facturas con varios tipos impositivos. Clave de operación C | 39 | Exportación de facturas con varios tipos impositivos. Clave de operación C. |
67 | 40 | Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial | 40 | Facturas intracomunitarias excepto las operaciones a las que hace referencia el artículo 66 del RIVA que tienen un tratamiento especial. |
68 | 41 | Facturas rectificativas | 41 | Facturas rectificativas. |
69 | 42 | Facturas resumen de tiques | 42 | Facturas resumen de tiques. |
70 | 43 | Permite imprimir el libro de IVA, basado en la misma legislación. | ||
71 | 43 | 44 | ||
72 | 44 | --- COSAS PENDIENTES (TODO LIST) ---------------------------------------------- | 45 | --- COSAS PENDIENTES (TODO LIST) ---------------------------------------------- |
73 | 45 | 46 | ||
74 | @@ -47,19 +48,29 @@ | |||
75 | 47 | Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA. | 48 | Facturas intracomunitarias. Operaciones a las que hace referencia el artículo 66 del RIVA. |
76 | 48 | Asientos contables de resumen de tiques | 49 | Asientos contables de resumen de tiques |
77 | 49 | Exportación de asientos resumen de facturas | 50 | Exportación de asientos resumen de facturas |
87 | 50 | 51 | ''', | |
88 | 51 | ADVERTENCIA: Los periodos de la empresas deben coincidir con los peridos de presentación de IVA. | 52 | 'license' : 'AGPL-3', |
89 | 52 | """, | 53 | 'depends' : ['account', |
90 | 53 | "website" : "www.acysos.com, www.ting.es", | 54 | 'base_vat', |
91 | 54 | "license" : "AGPL-3", | 55 | 'l10n_es_aeat', |
92 | 55 | "depends" : ["account", | 56 | 'account_refund_original', |
93 | 56 | "base_vat", | 57 | 'account_chart_update', |
85 | 57 | "l10n_es_aeat", | ||
86 | 58 | "account_refund_original", | ||
94 | 59 | ], | 58 | ], |
100 | 60 | "init_xml" : [], | 59 | 'init_xml' : [], |
101 | 61 | "demo_xml" : [], | 60 | 'demo_xml' : [], |
102 | 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' : [ |
103 | 63 | "installable" : False, | 62 | 'report/report_view.xml', |
104 | 64 | "active" : False, | 63 | 'wizard/export_mod340_to_boe.xml', |
105 | 64 | 'mod340_view.xml', | ||
106 | 65 | 'mod340_workflow.xml', | ||
107 | 66 | 'security/ir.model.access.csv', | ||
108 | 67 | 'res_partner_view.xml', | ||
109 | 68 | 'mod340_sequence.xml', | ||
110 | 69 | 'account_invoice_view.xml', | ||
111 | 70 | 'account_view.xml', | ||
112 | 71 | 'taxes_data.xml', | ||
113 | 72 | 'taxes_data_pymes.xml', | ||
114 | 73 | 'taxes_data_assoc.xml'], | ||
115 | 74 | 'installable' : True, | ||
116 | 75 | 'active' : False, | ||
117 | 65 | } | 76 | } |
118 | 66 | 77 | ||
119 | === added file 'l10n_es_aeat_mod340/account.py' | |||
120 | --- l10n_es_aeat_mod340/account.py 1970-01-01 00:00:00 +0000 | |||
121 | +++ l10n_es_aeat_mod340/account.py 2014-02-03 11:19:23 +0000 | |||
122 | @@ -0,0 +1,190 @@ | |||
123 | 1 | # -*- coding: utf-8 -*- | ||
124 | 2 | ############################################################################## | ||
125 | 3 | # | ||
126 | 4 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved | ||
127 | 5 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | ||
128 | 6 | # | ||
129 | 7 | # This program is free software: you can redistribute it and/or modify | ||
130 | 8 | # it under the terms of the GNU Affero General Public License as published by | ||
131 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
132 | 10 | # (at your option) any later version. | ||
133 | 11 | # | ||
134 | 12 | # This program is distributed in the hope that it will be useful, | ||
135 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
136 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
137 | 15 | # GNU Affero General Public License for more details. | ||
138 | 16 | # | ||
139 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
140 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
141 | 19 | # | ||
142 | 20 | ############################################################################## | ||
143 | 21 | |||
144 | 22 | from osv import osv, fields | ||
145 | 23 | from tools.translate import _ | ||
146 | 24 | |||
147 | 25 | class account_tax_code_template(osv.osv): | ||
148 | 26 | |||
149 | 27 | _inherit = 'account.tax.code.template' | ||
150 | 28 | |||
151 | 29 | _columns = { | ||
152 | 30 | 'mod340':fields.boolean("Include in mod340"), | ||
153 | 31 | } | ||
154 | 32 | |||
155 | 33 | account_tax_code_template() | ||
156 | 34 | |||
157 | 35 | class account_tax_code(osv.osv): | ||
158 | 36 | |||
159 | 37 | _inherit = 'account.tax.code' | ||
160 | 38 | |||
161 | 39 | _columns = { | ||
162 | 40 | 'mod340':fields.boolean("Include in mod340"), | ||
163 | 41 | } | ||
164 | 42 | |||
165 | 43 | account_tax_code() | ||
166 | 44 | |||
167 | 45 | class wizard_update_charts_accounts(osv.osv_memory): | ||
168 | 46 | _inherit = 'wizard.update.charts.accounts' | ||
169 | 47 | |||
170 | 48 | def _find_tax_codes(self, cr, uid, wizard, context=None): | ||
171 | 49 | """ | ||
172 | 50 | Search for, and load, tax code templates to create/update. | ||
173 | 51 | """ | ||
174 | 52 | new_tax_codes = 0 | ||
175 | 53 | updated_tax_codes = 0 | ||
176 | 54 | tax_code_template_mapping = {} | ||
177 | 55 | |||
178 | 56 | tax_code_templ_obj = self.pool.get('account.tax.code.template') | ||
179 | 57 | tax_code_obj = self.pool.get('account.tax.code') | ||
180 | 58 | wiz_tax_code_obj = self.pool.get('wizard.update.charts.accounts.tax.code') | ||
181 | 59 | |||
182 | 60 | # Remove previous tax codes | ||
183 | 61 | wiz_tax_code_obj.unlink(cr, uid, wiz_tax_code_obj.search(cr, uid, [])) | ||
184 | 62 | |||
185 | 63 | # | ||
186 | 64 | # Search for new / updated tax codes | ||
187 | 65 | # | ||
188 | 66 | root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id | ||
189 | 67 | children_tax_code_template = tax_code_templ_obj.search(cr, uid, [('parent_id', 'child_of', [root_tax_code_id])], order='id') | ||
190 | 68 | for tax_code_template in tax_code_templ_obj.browse(cr, uid, children_tax_code_template): | ||
191 | 69 | # Ensure the tax code template is on the map (search for the mapped tax code id). | ||
192 | 70 | self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template, context) | ||
193 | 71 | |||
194 | 72 | tax_code_id = tax_code_template_mapping.get(tax_code_template.id) | ||
195 | 73 | if not tax_code_id: | ||
196 | 74 | new_tax_codes += 1 | ||
197 | 75 | wiz_tax_code_obj.create(cr, uid, { | ||
198 | 76 | 'tax_code_id': tax_code_template.id, | ||
199 | 77 | 'update_chart_wizard_id': wizard.id, | ||
200 | 78 | 'type': 'new', | ||
201 | 79 | }, context) | ||
202 | 80 | elif wizard.update_tax_code: | ||
203 | 81 | # | ||
204 | 82 | # Check the tax code for changes. | ||
205 | 83 | # | ||
206 | 84 | modified = False | ||
207 | 85 | notes = "" | ||
208 | 86 | tax_code = tax_code_obj.browse(cr, uid, tax_code_id, context=context) | ||
209 | 87 | |||
210 | 88 | if tax_code.code != tax_code_template.code: | ||
211 | 89 | notes += _("The code field is different.\n") | ||
212 | 90 | modified = True | ||
213 | 91 | if tax_code.info != tax_code_template.info: | ||
214 | 92 | notes += _("The info field is different.\n") | ||
215 | 93 | modified = True | ||
216 | 94 | if tax_code.sign != tax_code_template.sign: | ||
217 | 95 | notes += _("The sign field is different.\n") | ||
218 | 96 | modified = True | ||
219 | 97 | if tax_code.mod340 != tax_code_template.mod340: | ||
220 | 98 | notes += _("The Mod 340 field is different.\n") | ||
221 | 99 | modified = True | ||
222 | 100 | |||
223 | 101 | # TODO: We could check other account fields for changes... | ||
224 | 102 | |||
225 | 103 | if modified: | ||
226 | 104 | # | ||
227 | 105 | # Tax code to update. | ||
228 | 106 | # | ||
229 | 107 | updated_tax_codes += 1 | ||
230 | 108 | wiz_tax_code_obj.create(cr, uid, { | ||
231 | 109 | 'tax_code_id': tax_code_template.id, | ||
232 | 110 | 'update_chart_wizard_id': wizard.id, | ||
233 | 111 | 'type': 'updated', | ||
234 | 112 | 'update_tax_code_id': tax_code_id, | ||
235 | 113 | 'notes': notes, | ||
236 | 114 | }, context) | ||
237 | 115 | |||
238 | 116 | return { 'new': new_tax_codes, 'updated': updated_tax_codes, 'mapping': tax_code_template_mapping } | ||
239 | 117 | |||
240 | 118 | def _update_tax_codes(self, cr, uid, wizard, log, context=None): | ||
241 | 119 | """ | ||
242 | 120 | Search for, and load, tax code templates to create/update. | ||
243 | 121 | """ | ||
244 | 122 | tax_code_obj = self.pool.get('account.tax.code') | ||
245 | 123 | |||
246 | 124 | root_tax_code_id = wizard.chart_template_id.tax_code_root_id.id | ||
247 | 125 | |||
248 | 126 | new_tax_codes = 0 | ||
249 | 127 | updated_tax_codes = 0 | ||
250 | 128 | tax_code_template_mapping = {} | ||
251 | 129 | |||
252 | 130 | for wiz_tax_code in wizard.tax_code_ids: | ||
253 | 131 | tax_code_template = wiz_tax_code.tax_code_id | ||
254 | 132 | tax_code_name = (root_tax_code_id == tax_code_template.id) and wizard.company_id.name or tax_code_template.name | ||
255 | 133 | |||
256 | 134 | # Ensure the parent tax code template is on the map. | ||
257 | 135 | self._map_tax_code_template(cr, uid, wizard, tax_code_template_mapping, tax_code_template.parent_id, context) | ||
258 | 136 | |||
259 | 137 | # | ||
260 | 138 | # Values | ||
261 | 139 | # | ||
262 | 140 | vals = { | ||
263 | 141 | 'name': tax_code_name, | ||
264 | 142 | 'code': tax_code_template.code, | ||
265 | 143 | 'info': tax_code_template.info, | ||
266 | 144 | 'parent_id': tax_code_template.parent_id and tax_code_template_mapping.get(tax_code_template.parent_id.id), | ||
267 | 145 | 'company_id': wizard.company_id.id, | ||
268 | 146 | 'sign': tax_code_template.sign, | ||
269 | 147 | 'mod340': tax_code_template.mod340 | ||
270 | 148 | } | ||
271 | 149 | |||
272 | 150 | tax_code_id = None | ||
273 | 151 | modified = False | ||
274 | 152 | |||
275 | 153 | if wiz_tax_code.type == 'new': | ||
276 | 154 | # | ||
277 | 155 | # Create the tax code | ||
278 | 156 | # | ||
279 | 157 | tax_code_id = tax_code_obj.create(cr, uid, vals) | ||
280 | 158 | log.add(_("Created tax code %s.\n") % tax_code_name) | ||
281 | 159 | new_tax_codes += 1 | ||
282 | 160 | modified = True | ||
283 | 161 | elif wizard.update_tax_code and wiz_tax_code.update_tax_code_id: | ||
284 | 162 | # | ||
285 | 163 | # Update the tax code | ||
286 | 164 | # | ||
287 | 165 | tax_code_id = wiz_tax_code.update_tax_code_id.id | ||
288 | 166 | tax_code_obj.write(cr, uid, [tax_code_id], vals) | ||
289 | 167 | log.add(_("Updated tax code %s.\n") % tax_code_name) | ||
290 | 168 | updated_tax_codes += 1 | ||
291 | 169 | modified = True | ||
292 | 170 | else: | ||
293 | 171 | tax_code_id = wiz_tax_code.update_tax_code_id and wiz_tax_code.update_tax_code_id.id | ||
294 | 172 | modified = False | ||
295 | 173 | |||
296 | 174 | # Store the tax codes on the map | ||
297 | 175 | tax_code_template_mapping[tax_code_template.id] = tax_code_id | ||
298 | 176 | |||
299 | 177 | if modified: | ||
300 | 178 | # | ||
301 | 179 | # Detect errors | ||
302 | 180 | # | ||
303 | 181 | if tax_code_template.parent_id and not tax_code_template_mapping.get(tax_code_template.parent_id.id): | ||
304 | 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) | ||
305 | 183 | |||
306 | 184 | return { | ||
307 | 185 | 'new': new_tax_codes, | ||
308 | 186 | 'updated': updated_tax_codes, | ||
309 | 187 | 'mapping': tax_code_template_mapping | ||
310 | 188 | } | ||
311 | 189 | |||
312 | 190 | wizard_update_charts_accounts() | ||
313 | 0 | \ No newline at end of file | 191 | \ No newline at end of file |
314 | 1 | 192 | ||
315 | === modified file 'l10n_es_aeat_mod340/account_invoice_view.xml' | |||
316 | --- l10n_es_aeat_mod340/account_invoice_view.xml 2012-09-08 15:32:47 +0000 | |||
317 | +++ l10n_es_aeat_mod340/account_invoice_view.xml 2014-02-03 11:19:23 +0000 | |||
318 | @@ -2,6 +2,24 @@ | |||
319 | 2 | <openerp> | 2 | <openerp> |
320 | 3 | <data> | 3 | <data> |
321 | 4 | 4 | ||
322 | 5 | <record id="view_customer_account_invoice_ticket_form" model="ir.ui.view"> | ||
323 | 6 | <field name="name">Account invoice - Ticket summary</field> | ||
324 | 7 | <field name="model">account.invoice</field> | ||
325 | 8 | <field name="inherit_id" ref="account.invoice_form"/> | ||
326 | 9 | <field name="arch" type="xml"> | ||
327 | 10 | <page string="Payments" position="after"> | ||
328 | 11 | <page string="AEAT 340"> | ||
329 | 12 | <field name="is_ticket_summary"/> | ||
330 | 13 | <group colspan="4" col="4" attrs="{'invisible': [('is_ticket_summary','=',False)]}"> | ||
331 | 14 | <field name="first_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
332 | 15 | <field name="last_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
333 | 16 | <field name="number_tickets" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
334 | 17 | </group> | ||
335 | 18 | </page> | ||
336 | 19 | </page> | ||
337 | 20 | </field> | ||
338 | 21 | </record> | ||
339 | 22 | |||
340 | 5 | <!-- Supplier Invoice --> | 23 | <!-- Supplier Invoice --> |
341 | 6 | 24 | ||
342 | 7 | <record id="invoice_supplier_mod340_form" model="ir.ui.view"> | 25 | <record id="invoice_supplier_mod340_form" model="ir.ui.view"> |
343 | @@ -15,25 +33,5 @@ | |||
344 | 15 | </field> | 33 | </field> |
345 | 16 | </record> | 34 | </record> |
346 | 17 | 35 | ||
347 | 18 | <record id="view_customer_account_invoice_ticket_form" model="ir.ui.view"> | ||
348 | 19 | <field name="name">Account invoice - Ticket summary</field> | ||
349 | 20 | <field name="model">account.invoice</field> | ||
350 | 21 | <field name="inherit_id" ref="account.invoice_form"/> | ||
351 | 22 | <field name="arch" type="xml"> | ||
352 | 23 | <data> | ||
353 | 24 | <xpath expr="/form/notebook" position="inside"> | ||
354 | 25 | <page string="AEAT 340"> | ||
355 | 26 | <field name="is_ticket_summary"/> | ||
356 | 27 | <group colspan="4" col="4" attrs="{'invisible': [('is_ticket_summary','=',False)]}"> | ||
357 | 28 | <field name="first_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
358 | 29 | <field name="last_ticket" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
359 | 30 | <field name="number_tickets" attrs="{'required':[('is_ticket_summary','=',True)]}"/> | ||
360 | 31 | </group> | ||
361 | 32 | </page> | ||
362 | 33 | </xpath> | ||
363 | 34 | </data> | ||
364 | 35 | </field> | ||
365 | 36 | </record> | ||
366 | 37 | |||
367 | 38 | </data> | 36 | </data> |
368 | 39 | </openerp> | 37 | </openerp> |
369 | 40 | \ No newline at end of file | 38 | \ No newline at end of file |
370 | 41 | 39 | ||
371 | === added file 'l10n_es_aeat_mod340/account_view.xml' | |||
372 | --- l10n_es_aeat_mod340/account_view.xml 1970-01-01 00:00:00 +0000 | |||
373 | +++ l10n_es_aeat_mod340/account_view.xml 2014-02-03 11:19:23 +0000 | |||
374 | @@ -0,0 +1,28 @@ | |||
375 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
376 | 2 | <openerp> | ||
377 | 3 | <data> | ||
378 | 4 | <record id="view_tax_code_template_form_mod340" model="ir.ui.view"> | ||
379 | 5 | <field name="name">account.tax.code.template.form.mod340</field> | ||
380 | 6 | <field name="model">account.tax.code.template</field> | ||
381 | 7 | <field name="inherit_id" ref="account.view_tax_code_template_form"/> | ||
382 | 8 | <field name="type">form</field> | ||
383 | 9 | <field name="arch" type="xml"> | ||
384 | 10 | <field name="sign" position="after"> | ||
385 | 11 | <field name="mod340"/> | ||
386 | 12 | </field> | ||
387 | 13 | </field> | ||
388 | 14 | </record> | ||
389 | 15 | |||
390 | 16 | <record id="view_tax_code_form_mod340" model="ir.ui.view"> | ||
391 | 17 | <field name="name">account.tax.code.form.mod340</field> | ||
392 | 18 | <field name="model">account.tax.code</field> | ||
393 | 19 | <field name="inherit_id" ref="account.view_tax_code_form"/> | ||
394 | 20 | <field name="type">form</field> | ||
395 | 21 | <field name="arch" type="xml"> | ||
396 | 22 | <field name="sign" position="after"> | ||
397 | 23 | <field name="mod340"/> | ||
398 | 24 | </field> | ||
399 | 25 | </field> | ||
400 | 26 | </record> | ||
401 | 27 | </data> | ||
402 | 28 | </openerp> | ||
403 | 0 | \ No newline at end of file | 29 | \ No newline at end of file |
404 | 1 | 30 | ||
405 | === modified file 'l10n_es_aeat_mod340/i18n/es.po' | |||
406 | --- l10n_es_aeat_mod340/i18n/es.po 2014-01-07 05:30:53 +0000 | |||
407 | +++ l10n_es_aeat_mod340/i18n/es.po 2014-02-03 11:19:23 +0000 | |||
408 | @@ -1,25 +1,40 @@ | |||
409 | 1 | # Translation of OpenERP Server. | 1 | # Translation of OpenERP Server. |
410 | 2 | # This file contains the translation of the following modules: | 2 | # This file contains the translation of the following modules: |
412 | 3 | # * l10n_es_aeat_mod340 | 3 | # * l10n_es_aeat_mod340 |
413 | 4 | # | 4 | # |
414 | 5 | msgid "" | 5 | msgid "" |
415 | 6 | msgstr "" | 6 | msgstr "" |
421 | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" | 7 | "Project-Id-Version: OpenERP Server 7.0-20130519-231019\n" |
422 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
423 | 9 | "POT-Creation-Date: 2012-01-30 10:57+0000\n" | 9 | "POT-Creation-Date: 2013-10-11 14:58+0000\n" |
424 | 10 | "PO-Revision-Date: 2013-12-10 16:44+0000\n" | 10 | "PO-Revision-Date: 2013-10-11 14:58+0000\n" |
425 | 11 | "Last-Translator: Ignacio Ibeas (www.acysos.com) <ignacio@acysos.com>\n" | 11 | "Last-Translator: <>\n" |
426 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
427 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
428 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
437 | 15 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: \n" |
438 | 16 | "X-Launchpad-Export-Date: 2014-01-07 05:30+0000\n" | 16 | "Plural-Forms: \n" |
439 | 17 | "X-Generator: Launchpad (build 16877)\n" | 17 | |
440 | 18 | 18 | #. module: l10n_es_aeat_mod340 | |
441 | 19 | #. module: l10n_es_aeat_mod340 | 19 | #: report:report mod340:0 |
442 | 20 | #: selection:l10n.es.aeat.mod340,period:0 | 20 | #: report:report_mod340:0 |
443 | 21 | msgid "Third quarter" | 21 | #: report:vat book:0 |
444 | 22 | msgstr "Tercer trimestre" | 22 | #: report:vat_book:0 |
445 | 23 | msgid "FACTURAS DE SALIDA" | ||
446 | 24 | msgstr "FACTURAS DE SALIDA" | ||
447 | 25 | |||
448 | 26 | #. module: l10n_es_aeat_mod340 | ||
449 | 27 | #: view:l10n.es.aeat.mod340:0 | ||
450 | 28 | msgid "Confirmed models" | ||
451 | 29 | msgstr "Modelos confirmados" | ||
452 | 30 | |||
453 | 31 | #. module: l10n_es_aeat_mod340 | ||
454 | 32 | #: report:report mod340:0 | ||
455 | 33 | #: report:report_mod340:0 | ||
456 | 34 | #: report:vat book:0 | ||
457 | 35 | #: report:vat_book:0 | ||
458 | 36 | msgid "Compañía:" | ||
459 | 37 | msgstr "Compañía:" | ||
460 | 23 | 38 | ||
461 | 24 | #. module: l10n_es_aeat_mod340 | 39 | #. module: l10n_es_aeat_mod340 |
462 | 25 | #: view:l10n.es.aeat.mod340.issued:0 | 40 | #: view:l10n.es.aeat.mod340.issued:0 |
463 | @@ -27,30 +42,25 @@ | |||
464 | 27 | msgstr "Facturas emitidas" | 42 | msgstr "Facturas emitidas" |
465 | 28 | 43 | ||
466 | 29 | #. module: l10n_es_aeat_mod340 | 44 | #. module: l10n_es_aeat_mod340 |
491 | 30 | #: code:addons/l10n_es_aeat_mod340/mod340.py:178 | 45 | #: code:addons/l10n_es_aeat_mod340/account.py:89 |
492 | 31 | #, python-format | 46 | #, python-format |
493 | 32 | msgid "All real estate records state code field must be filled." | 47 | msgid "The code field is different.\n" |
494 | 33 | msgstr "" | 48 | "" |
495 | 34 | "Los registros de propiedades inmobiliarias deben ser rellenados manualmente." | 49 | msgstr "El campo código es diferente.\n" |
496 | 35 | 50 | "" | |
497 | 36 | #. module: l10n_es_aeat_mod340 | 51 | |
498 | 37 | #: code:addons/l10n_es_aeat_mod340/mod340.py:65 | 52 | #. module: l10n_es_aeat_mod340 |
499 | 38 | #, python-format | 53 | #: field:l10n.es.aeat.mod340,total_taxable:0 |
500 | 39 | msgid "En desarrollo" | 54 | msgid "Total Taxable" |
501 | 40 | msgstr "En desarrollo" | 55 | msgstr "Total" |
502 | 41 | 56 | ||
503 | 42 | #. module: l10n_es_aeat_mod340 | 57 | #. module: l10n_es_aeat_mod340 |
504 | 43 | #: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0 | 58 | #: code:addons/l10n_es_aeat_mod340/account.py:158 |
505 | 44 | #: field:l10n.es.aeat.mod340.investment,amount_tax:0 | 59 | #, python-format |
506 | 45 | #: field:l10n.es.aeat.mod340.issued,amount_tax:0 | 60 | msgid "Created tax code %s.\n" |
507 | 46 | #: field:l10n.es.aeat.mod340.received,amount_tax:0 | 61 | "" |
508 | 47 | msgid "amount of the tax" | 62 | msgstr "Código de impuesto %s creado.\n" |
509 | 48 | msgstr "cantidad de impuestos" | 63 | "" |
486 | 49 | |||
487 | 50 | #. module: l10n_es_aeat_mod340 | ||
488 | 51 | #: selection:l10n.es.aeat.mod340,period:0 | ||
489 | 52 | msgid "March" | ||
490 | 53 | msgstr "Marzo" | ||
510 | 54 | 64 | ||
511 | 55 | #. module: l10n_es_aeat_mod340 | 65 | #. module: l10n_es_aeat_mod340 |
512 | 56 | #: view:l10n.es.aeat.mod340:0 | 66 | #: view:l10n.es.aeat.mod340:0 |
513 | @@ -64,18 +74,20 @@ | |||
514 | 64 | msgstr "Compañia" | 74 | msgstr "Compañia" |
515 | 65 | 75 | ||
516 | 66 | #. module: l10n_es_aeat_mod340 | 76 | #. module: l10n_es_aeat_mod340 |
517 | 77 | #: field:l10n.es.aeat.mod340,total_sharetax:0 | ||
518 | 78 | msgid "Total Share Tax" | ||
519 | 79 | msgstr "Total impuestos" | ||
520 | 80 | |||
521 | 81 | #. module: l10n_es_aeat_mod340 | ||
522 | 67 | #: field:l10n.es.aeat.mod340,number_records:0 | 82 | #: field:l10n.es.aeat.mod340,number_records:0 |
523 | 68 | msgid "Records" | 83 | msgid "Records" |
524 | 69 | msgstr "Registros" | 84 | msgstr "Registros" |
525 | 70 | 85 | ||
526 | 71 | #. module: l10n_es_aeat_mod340 | 86 | #. module: l10n_es_aeat_mod340 |
528 | 72 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:361 | 87 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:297 |
529 | 73 | #, python-format | 88 | #, python-format |
535 | 74 | msgid "" | 89 | msgid "The type 2 received record must be 500 characters long for each Vat registry" |
536 | 75 | "The type 2 received record must be 500 characters long for each Vat registry" | 90 | msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA" |
532 | 76 | msgstr "" | ||
533 | 77 | "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada " | ||
534 | 78 | "registro de IVA" | ||
537 | 79 | 91 | ||
538 | 80 | #. module: l10n_es_aeat_mod340 | 92 | #. module: l10n_es_aeat_mod340 |
539 | 81 | #: selection:l10n.es.aeat.mod340,type:0 | 93 | #: selection:l10n.es.aeat.mod340,type:0 |
540 | @@ -98,20 +110,39 @@ | |||
541 | 98 | msgstr "Base" | 110 | msgstr "Base" |
542 | 99 | 111 | ||
543 | 100 | #. module: l10n_es_aeat_mod340 | 112 | #. module: l10n_es_aeat_mod340 |
544 | 113 | #: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code | ||
545 | 114 | msgid "Tax Code" | ||
546 | 115 | msgstr "Código impuesto" | ||
547 | 116 | |||
548 | 117 | #. module: l10n_es_aeat_mod340 | ||
549 | 101 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report | 118 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report |
550 | 102 | msgid "Create and query AEAT Model 340 Reports" | 119 | msgid "Create and query AEAT Model 340 Reports" |
551 | 103 | msgstr "Crear informe del Model AEAT 340" | 120 | msgstr "Crear informe del Model AEAT 340" |
552 | 104 | 121 | ||
553 | 105 | #. module: l10n_es_aeat_mod340 | 122 | #. module: l10n_es_aeat_mod340 |
555 | 106 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92 | 123 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:95 |
556 | 107 | #, python-format | 124 | #, python-format |
564 | 108 | msgid "El periodo seleccionado no coincide con los periodos del año fiscal:" | 125 | msgid "The period hasn't a valid Mod340 period" |
565 | 109 | msgstr "El periodo seleccionado no coincide con los periodos del año fiscal:" | 126 | msgstr "El periodo no es válido para el Módelo 340" |
566 | 110 | 127 | ||
567 | 111 | #. module: l10n_es_aeat_mod340 | 128 | #. module: l10n_es_aeat_mod340 |
568 | 112 | #: view:l10n.es.aeat.mod340:0 | 129 | #: report:report mod340:0 |
569 | 113 | msgid "In process" | 130 | #: report:report_mod340:0 |
570 | 114 | msgstr "En processo" | 131 | #: report:vat book:0 |
571 | 132 | #: report:vat_book:0 | ||
572 | 133 | msgid "Apellidos y nombre de contacto:" | ||
573 | 134 | msgstr "Apellidos y nombre de contacto:" | ||
574 | 135 | |||
575 | 136 | #. module: l10n_es_aeat_mod340 | ||
576 | 137 | #: selection:l10n.es.aeat.mod340,state:0 | ||
577 | 138 | msgid "Processed" | ||
578 | 139 | msgstr "Procesado" | ||
579 | 140 | |||
580 | 141 | #. module: l10n_es_aeat_mod340 | ||
581 | 142 | #: field:account.tax.code,mod340:0 | ||
582 | 143 | #: field:account.tax.code.template,mod340:0 | ||
583 | 144 | msgid "Include in mod340" | ||
584 | 145 | msgstr "Incluir en el modelo 340" | ||
585 | 115 | 146 | ||
586 | 116 | #. module: l10n_es_aeat_mod340 | 147 | #. module: l10n_es_aeat_mod340 |
587 | 117 | #: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0 | 148 | #: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0 |
588 | @@ -122,14 +153,6 @@ | |||
589 | 122 | msgstr "Lineas de impuestos" | 153 | msgstr "Lineas de impuestos" |
590 | 123 | 154 | ||
591 | 124 | #. module: l10n_es_aeat_mod340 | 155 | #. module: l10n_es_aeat_mod340 |
592 | 125 | #: code:addons/l10n_es_aeat_mod340/mod340.py:172 | ||
593 | 126 | #: code:addons/l10n_es_aeat_mod340/mod340.py:174 | ||
594 | 127 | #: code:addons/l10n_es_aeat_mod340/mod340.py:178 | ||
595 | 128 | #, python-format | ||
596 | 129 | msgid "Error!" | ||
597 | 130 | msgstr "Error!" | ||
598 | 131 | |||
599 | 132 | #. module: l10n_es_aeat_mod340 | ||
600 | 133 | #: view:l10n.es.aeat.mod340:0 | 156 | #: view:l10n.es.aeat.mod340:0 |
601 | 134 | msgid "Cancelled" | 157 | msgid "Cancelled" |
602 | 135 | msgstr "Cancelado" | 158 | msgstr "Cancelado" |
603 | @@ -140,18 +163,23 @@ | |||
604 | 140 | msgstr "6 - Otro documento probatorio" | 163 | msgstr "6 - Otro documento probatorio" |
605 | 141 | 164 | ||
606 | 142 | #. module: l10n_es_aeat_mod340 | 165 | #. module: l10n_es_aeat_mod340 |
619 | 143 | #: field:l10n.es.aeat.mod340,company_vat:0 | 166 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:213 |
620 | 144 | msgid "VAT number" | 167 | #, python-format |
621 | 145 | msgstr "CIF/NIF" | 168 | msgid "The type 2 issued record must be 500 characters long for each Vat registry" |
622 | 146 | 169 | msgstr "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada registro de IVA" | |
623 | 147 | #. module: l10n_es_aeat_mod340 | 170 | |
624 | 148 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:275 | 171 | #. module: l10n_es_aeat_mod340 |
625 | 149 | #, python-format | 172 | #: field:l10n.es.aeat.mod340,period_from:0 |
626 | 150 | msgid "" | 173 | msgid "Start period" |
627 | 151 | "The type 2 issued record must be 500 characters long for each Vat registry" | 174 | msgstr "Periodo inicial" |
628 | 152 | msgstr "" | 175 | |
629 | 153 | "El registro de tipo 2 debe tener una longitud de 500 caracteres por cada " | 176 | #. module: l10n_es_aeat_mod340 |
630 | 154 | "registro de IVA" | 177 | #: code:addons/l10n_es_aeat_mod340/account.py:167 |
631 | 178 | #, python-format | ||
632 | 179 | msgid "Updated tax code %s.\n" | ||
633 | 180 | "" | ||
634 | 181 | msgstr "Código de impuesto %s actualizado.\n" | ||
635 | 182 | "" | ||
636 | 155 | 183 | ||
637 | 156 | #. module: l10n_es_aeat_mod340 | 184 | #. module: l10n_es_aeat_mod340 |
638 | 157 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias | 185 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias |
639 | @@ -172,16 +200,48 @@ | |||
640 | 172 | msgstr "Código electrónico del modelo 340" | 200 | msgstr "Código electrónico del modelo 340" |
641 | 173 | 201 | ||
642 | 174 | #. module: l10n_es_aeat_mod340 | 202 | #. module: l10n_es_aeat_mod340 |
643 | 203 | #: field:l10n.es.aeat.mod340,period_to:0 | ||
644 | 204 | msgid "End period" | ||
645 | 205 | msgstr "Periodo final" | ||
646 | 206 | |||
647 | 207 | #. module: l10n_es_aeat_mod340 | ||
648 | 208 | #: code:addons/l10n_es_aeat_mod340/account.py:98 | ||
649 | 209 | #, python-format | ||
650 | 210 | msgid "The Mod 340 field is different.\n" | ||
651 | 211 | "" | ||
652 | 212 | msgstr "El campo Mod 340 es diferente.\n" | ||
653 | 213 | "" | ||
654 | 214 | |||
655 | 215 | #. module: l10n_es_aeat_mod340 | ||
656 | 175 | #: view:l10n.es.aeat.mod340:0 | 216 | #: view:l10n.es.aeat.mod340:0 |
657 | 176 | msgid "Identification" | 217 | msgid "Identification" |
658 | 177 | msgstr "Identificación" | 218 | msgstr "Identificación" |
659 | 178 | 219 | ||
660 | 179 | #. module: l10n_es_aeat_mod340 | 220 | #. module: l10n_es_aeat_mod340 |
661 | 221 | #: view:account.invoice:0 | ||
662 | 222 | msgid "Payments" | ||
663 | 223 | msgstr "Pagos" | ||
664 | 224 | |||
665 | 225 | #. module: l10n_es_aeat_mod340 | ||
666 | 226 | #: report:report mod340:0 | ||
667 | 227 | #: report:report_mod340:0 | ||
668 | 228 | #: report:vat book:0 | ||
669 | 229 | #: report:vat_book:0 | ||
670 | 230 | msgid "Teléfono de contacto:" | ||
671 | 231 | msgstr "Teléfono de contacto:" | ||
672 | 232 | |||
673 | 233 | #. module: l10n_es_aeat_mod340 | ||
674 | 180 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action | 234 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action |
675 | 181 | msgid "mod340 report" | 235 | msgid "mod340 report" |
676 | 182 | msgstr "mod340 report" | 236 | msgstr "mod340 report" |
677 | 183 | 237 | ||
678 | 184 | #. module: l10n_es_aeat_mod340 | 238 | #. module: l10n_es_aeat_mod340 |
679 | 239 | #: report:vat book:0 | ||
680 | 240 | #: report:vat_book:0 | ||
681 | 241 | msgid "LIBRO DE IVA" | ||
682 | 242 | msgstr "LIBRO DE IVA" | ||
683 | 243 | |||
684 | 244 | #. module: l10n_es_aeat_mod340 | ||
685 | 185 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued | 245 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued |
686 | 186 | msgid "Invoices invoice" | 246 | msgid "Invoices invoice" |
687 | 187 | msgstr "Facturas" | 247 | msgstr "Facturas" |
688 | @@ -203,7 +263,12 @@ | |||
689 | 203 | msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)" | 263 | msgstr "2 - Se consigna el NIF/IVA (NIF OPERADOR INTRACOMUNITARIO)" |
690 | 204 | 264 | ||
691 | 205 | #. module: l10n_es_aeat_mod340 | 265 | #. module: l10n_es_aeat_mod340 |
693 | 206 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406 | 266 | #: view:l10n.es.aeat.mod340:0 |
694 | 267 | msgid "Cancelled models" | ||
695 | 268 | msgstr "Cancelled models" | ||
696 | 269 | |||
697 | 270 | #. module: l10n_es_aeat_mod340 | ||
698 | 271 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333 | ||
699 | 207 | #, python-format | 272 | #, python-format |
700 | 208 | msgid "340_report_%s.txt" | 273 | msgid "340_report_%s.txt" |
701 | 209 | msgstr "340_report_%s.txt" | 274 | msgstr "340_report_%s.txt" |
702 | @@ -214,16 +279,25 @@ | |||
703 | 214 | msgstr "Estado" | 279 | msgstr "Estado" |
704 | 215 | 280 | ||
705 | 216 | #. module: l10n_es_aeat_mod340 | 281 | #. module: l10n_es_aeat_mod340 |
706 | 217 | #: selection:l10n.es.aeat.mod340,period:0 | ||
707 | 218 | msgid "First quarter" | ||
708 | 219 | msgstr "Primer trimestre" | ||
709 | 220 | |||
710 | 221 | #. module: l10n_es_aeat_mod340 | ||
711 | 222 | #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report | 282 | #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report |
712 | 223 | msgid "AEAT 340 Model" | 283 | msgid "AEAT 340 Model" |
713 | 224 | msgstr "Modelo AEAT 340" | 284 | msgstr "Modelo AEAT 340" |
714 | 225 | 285 | ||
715 | 226 | #. module: l10n_es_aeat_mod340 | 286 | #. module: l10n_es_aeat_mod340 |
716 | 287 | #: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0 | ||
717 | 288 | #: field:l10n.es.aeat.mod340.investment,amount_tax:0 | ||
718 | 289 | #: field:l10n.es.aeat.mod340.issued,amount_tax:0 | ||
719 | 290 | #: field:l10n.es.aeat.mod340.received,amount_tax:0 | ||
720 | 291 | msgid "Total tax" | ||
721 | 292 | msgstr "Total impuestos" | ||
722 | 293 | |||
723 | 294 | #. module: l10n_es_aeat_mod340 | ||
724 | 295 | #: report:vat book:0 | ||
725 | 296 | #: report:vat_book:0 | ||
726 | 297 | msgid "Nº de factura" | ||
727 | 298 | msgstr "Nº de factura" | ||
728 | 299 | |||
729 | 300 | #. module: l10n_es_aeat_mod340 | ||
730 | 227 | #: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 | 301 | #: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 |
731 | 228 | #: help:l10n.es.aeat.mod340.investment,representative_vat:0 | 302 | #: help:l10n.es.aeat.mod340.investment,representative_vat:0 |
732 | 229 | #: help:l10n.es.aeat.mod340.issued,representative_vat:0 | 303 | #: help:l10n.es.aeat.mod340.issued,representative_vat:0 |
733 | @@ -247,7 +321,7 @@ | |||
734 | 247 | msgstr "Tipo de soporte" | 321 | msgstr "Tipo de soporte" |
735 | 248 | 322 | ||
736 | 249 | #. module: l10n_es_aeat_mod340 | 323 | #. module: l10n_es_aeat_mod340 |
738 | 250 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:406 | 324 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333 |
739 | 251 | #, python-format | 325 | #, python-format |
740 | 252 | msgid "%Y-%m-%d" | 326 | msgid "%Y-%m-%d" |
741 | 253 | msgstr "%d-%m-%Y" | 327 | msgstr "%d-%m-%Y" |
742 | @@ -258,9 +332,15 @@ | |||
743 | 258 | msgstr "Exportar al BOE" | 332 | msgstr "Exportar al BOE" |
744 | 259 | 333 | ||
745 | 260 | #. module: l10n_es_aeat_mod340 | 334 | #. module: l10n_es_aeat_mod340 |
749 | 261 | #: selection:l10n.es.aeat.mod340,period:0 | 335 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74 |
750 | 262 | msgid "July" | 336 | #, python-format |
751 | 263 | msgstr "Julio" | 337 | msgid "The periods selected don't belong to the fiscal year %s" |
752 | 338 | msgstr "Los periodos seleccionados no pertenecen al año fiscal %s" | ||
753 | 339 | |||
754 | 340 | #. module: l10n_es_aeat_mod340 | ||
755 | 341 | #: field:l10n.es.aeat.mod340,company_vat:0 | ||
756 | 342 | msgid "VAT number" | ||
757 | 343 | msgstr "CIF/NIF" | ||
758 | 264 | 344 | ||
759 | 265 | #. module: l10n_es_aeat_mod340 | 345 | #. module: l10n_es_aeat_mod340 |
760 | 266 | #: selection:res.partner,vat_type:0 | 346 | #: selection:res.partner,vat_type:0 |
761 | @@ -273,15 +353,29 @@ | |||
762 | 273 | msgstr "Exportar Modelo AEAT 340 al formato del BOE" | 353 | msgstr "Exportar Modelo AEAT 340 al formato del BOE" |
763 | 274 | 354 | ||
764 | 275 | #. module: l10n_es_aeat_mod340 | 355 | #. module: l10n_es_aeat_mod340 |
766 | 276 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:170 | 356 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:108 |
767 | 277 | #, python-format | 357 | #, python-format |
768 | 278 | msgid "The type 1 record must be 500 characters long" | 358 | msgid "The type 1 record must be 500 characters long" |
769 | 279 | msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud" | 359 | msgstr "El registro de tipo 1 tiene que tener 500 caracteres de longitud" |
770 | 280 | 360 | ||
771 | 281 | #. module: l10n_es_aeat_mod340 | 361 | #. module: l10n_es_aeat_mod340 |
775 | 282 | #: field:l10n.es.aeat.mod340,calculation_date:0 | 362 | #: report:report mod340:0 |
776 | 283 | msgid "Calculation date" | 363 | #: report:report_mod340:0 |
777 | 284 | msgstr "Fecha de calculo" | 364 | #: report:vat book:0 |
778 | 365 | #: report:vat_book:0 | ||
779 | 366 | msgid "CIF/NIF:" | ||
780 | 367 | msgstr "CIF/NIF:" | ||
781 | 368 | |||
782 | 369 | #. module: l10n_es_aeat_mod340 | ||
783 | 370 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued | ||
784 | 371 | msgid "Mod340 vat lines issued" | ||
785 | 372 | msgstr "Líneas de impuestos emitidos" | ||
786 | 373 | |||
787 | 374 | #. module: l10n_es_aeat_mod340 | ||
788 | 375 | #: report:report mod340:0 | ||
789 | 376 | #: report:report_mod340:0 | ||
790 | 377 | msgid "CIF/NIF del representante legal:" | ||
791 | 378 | msgstr "CIF/NIF del representante legal:" | ||
792 | 285 | 379 | ||
793 | 286 | #. module: l10n_es_aeat_mod340 | 380 | #. module: l10n_es_aeat_mod340 |
794 | 287 | #: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner | 381 | #: model:ir.model,name:l10n_es_aeat_mod340.model_res_partner |
795 | @@ -293,12 +387,12 @@ | |||
796 | 293 | msgstr "Empresa" | 387 | msgstr "Empresa" |
797 | 294 | 388 | ||
798 | 295 | #. module: l10n_es_aeat_mod340 | 389 | #. module: l10n_es_aeat_mod340 |
805 | 296 | #: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0 | 390 | #: report:report mod340:0 |
806 | 297 | #: field:l10n.es.aeat.mod340.investment,base_tax:0 | 391 | #: report:report_mod340:0 |
807 | 298 | #: field:l10n.es.aeat.mod340.issued,base_tax:0 | 392 | #: report:vat book:0 |
808 | 299 | #: field:l10n.es.aeat.mod340.received,base_tax:0 | 393 | #: report:vat_book:0 |
809 | 300 | msgid "base tax bill" | 394 | msgid "Cuota impuesto" |
810 | 301 | msgstr "Base imponible" | 395 | msgstr "Cuota impuesto" |
811 | 302 | 396 | ||
812 | 303 | #. module: l10n_es_aeat_mod340 | 397 | #. module: l10n_es_aeat_mod340 |
813 | 304 | #: view:l10n.es.aeat.mod340.tax_line_received:0 | 398 | #: view:l10n.es.aeat.mod340.tax_line_received:0 |
814 | @@ -306,14 +400,24 @@ | |||
815 | 306 | msgstr "Líneas de impuestos recibidos" | 400 | msgstr "Líneas de impuestos recibidos" |
816 | 307 | 401 | ||
817 | 308 | #. module: l10n_es_aeat_mod340 | 402 | #. module: l10n_es_aeat_mod340 |
826 | 309 | #: selection:l10n.es.aeat.mod340,period:0 | 403 | #: report:report mod340:0 |
827 | 310 | msgid "September" | 404 | #: report:report_mod340:0 |
828 | 311 | msgstr "Septiembre" | 405 | msgid "MODELO AEAT 340" |
829 | 312 | 406 | msgstr "MODELO AEAT 340" | |
830 | 313 | #. module: l10n_es_aeat_mod340 | 407 | |
831 | 314 | #: selection:l10n.es.aeat.mod340,period:0 | 408 | #. module: l10n_es_aeat_mod340 |
832 | 315 | msgid "December" | 409 | #: code:addons/l10n_es_aeat_mod340/account.py:95 |
833 | 316 | msgstr "Diciembre" | 410 | #, python-format |
834 | 411 | msgid "The sign field is different.\n" | ||
835 | 412 | "" | ||
836 | 413 | msgstr "El campo signo es diferente.\n" | ||
837 | 414 | "" | ||
838 | 415 | |||
839 | 416 | #. module: l10n_es_aeat_mod340 | ||
840 | 417 | #: view:l10n.es.aeat.mod340.issued:0 | ||
841 | 418 | #: view:l10n.es.aeat.mod340.received:0 | ||
842 | 419 | msgid "Total Tax" | ||
843 | 420 | msgstr "Total Impuestos" | ||
844 | 317 | 421 | ||
845 | 318 | #. module: l10n_es_aeat_mod340 | 422 | #. module: l10n_es_aeat_mod340 |
846 | 319 | #: field:l10n.es.aeat.mod340,number:0 | 423 | #: field:l10n.es.aeat.mod340,number:0 |
847 | @@ -326,14 +430,26 @@ | |||
848 | 326 | msgstr "Cancelado" | 430 | msgstr "Cancelado" |
849 | 327 | 431 | ||
850 | 328 | #. module: l10n_es_aeat_mod340 | 432 | #. module: l10n_es_aeat_mod340 |
859 | 329 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued | 433 | #: report:report mod340:0 |
860 | 330 | msgid "Mod340 vat lines issued" | 434 | #: report:report_mod340:0 |
861 | 331 | msgstr "Líneas de impuestos emitidos" | 435 | msgid "Tipo de declaración" |
862 | 332 | 436 | msgstr "Tipo de declaración" | |
863 | 333 | #. module: l10n_es_aeat_mod340 | 437 | |
864 | 334 | #: field:l10n.es.aeat.mod340,total_taxable:0 | 438 | #. module: l10n_es_aeat_mod340 |
865 | 335 | msgid "Total Taxable" | 439 | #: field:l10n.es.aeat.mod340,calculation_date:0 |
866 | 336 | msgstr "Total" | 440 | msgid "Calculation date" |
867 | 441 | msgstr "Fecha de calculo" | ||
868 | 442 | |||
869 | 443 | #. module: l10n_es_aeat_mod340 | ||
870 | 444 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_vat_book_action | ||
871 | 445 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.vat_book | ||
872 | 446 | msgid "Vat Book" | ||
873 | 447 | msgstr "Libro de IVA" | ||
874 | 448 | |||
875 | 449 | #. module: l10n_es_aeat_mod340 | ||
876 | 450 | #: field:account.invoice,number_tickets:0 | ||
877 | 451 | msgid "Number of tickets" | ||
878 | 452 | msgstr "Número de tiques" | ||
879 | 337 | 453 | ||
880 | 338 | #. module: l10n_es_aeat_mod340 | 454 | #. module: l10n_es_aeat_mod340 |
881 | 339 | #: view:l10n.es.aeat.mod340:0 | 455 | #: view:l10n.es.aeat.mod340:0 |
882 | @@ -341,9 +457,12 @@ | |||
883 | 341 | msgstr "Calcular" | 457 | msgstr "Calcular" |
884 | 342 | 458 | ||
885 | 343 | #. module: l10n_es_aeat_mod340 | 459 | #. module: l10n_es_aeat_mod340 |
889 | 344 | #: field:l10n.es.aeat.mod340,total_sharetax:0 | 460 | #: code:addons/l10n_es_aeat_mod340/account.py:182 |
890 | 345 | msgid "Total Share Tax" | 461 | #, python-format |
891 | 346 | msgstr "Total impuestos" | 462 | msgid "Tax code %s: The parent tax code %s can not be set.\n" |
892 | 463 | "" | ||
893 | 464 | msgstr "Código de impuesto %s: el padre de %s no puede ser guardado.\n" | ||
894 | 465 | "" | ||
895 | 347 | 466 | ||
896 | 348 | #. module: l10n_es_aeat_mod340 | 467 | #. module: l10n_es_aeat_mod340 |
897 | 349 | #: selection:l10n.es.aeat.mod340,support_type:0 | 468 | #: selection:l10n.es.aeat.mod340,support_type:0 |
898 | @@ -351,16 +470,17 @@ | |||
899 | 351 | msgstr "DVD" | 470 | msgstr "DVD" |
900 | 352 | 471 | ||
901 | 353 | #. module: l10n_es_aeat_mod340 | 472 | #. module: l10n_es_aeat_mod340 |
906 | 354 | #: code:addons/l10n_es_aeat_mod340/mod340.py:65 | 473 | #: report:report mod340:0 |
907 | 355 | #, python-format | 474 | #: report:report_mod340:0 |
908 | 356 | msgid "No disponible:" | 475 | #: report:vat book:0 |
909 | 357 | msgstr "No disponible:" | 476 | #: report:vat_book:0 |
910 | 477 | msgid "Fecha" | ||
911 | 478 | msgstr "Fecha" | ||
912 | 358 | 479 | ||
913 | 359 | #. module: l10n_es_aeat_mod340 | 480 | #. module: l10n_es_aeat_mod340 |
918 | 360 | #: code:addons/l10n_es_aeat_mod340/mod340.py:172 | 481 | #: view:l10n.es.aeat.mod340:0 |
919 | 361 | #, python-format | 482 | msgid "In process" |
920 | 362 | msgid "All partner state code field must be filled." | 483 | msgstr "En processo" |
917 | 363 | msgstr "Todos las empresas deben tener provincia." | ||
921 | 364 | 484 | ||
922 | 365 | #. module: l10n_es_aeat_mod340 | 485 | #. module: l10n_es_aeat_mod340 |
923 | 366 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340 | 486 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340 |
924 | @@ -384,23 +504,21 @@ | |||
925 | 384 | msgstr "3 - Pasaporte" | 504 | msgstr "3 - Pasaporte" |
926 | 385 | 505 | ||
927 | 386 | #. module: l10n_es_aeat_mod340 | 506 | #. module: l10n_es_aeat_mod340 |
945 | 387 | #: code:addons/l10n_es_aeat_mod340/mod340.py:174 | 507 | #: view:l10n.es.aeat.mod340.issued:0 |
946 | 388 | #, python-format | 508 | #: view:l10n.es.aeat.mod340.received:0 |
947 | 389 | msgid "All partner vat number field must be filled." | 509 | msgid "Total Base" |
948 | 390 | msgstr "Todas las empresas deben tener CIF/NIF." | 510 | msgstr "Total Base" |
949 | 391 | 511 | ||
950 | 392 | #. module: l10n_es_aeat_mod340 | 512 | #. module: l10n_es_aeat_mod340 |
951 | 393 | #: field:l10n.es.aeat.mod340.intracomunitarias,total:0 | 513 | #: report:report mod340:0 |
952 | 394 | #: field:l10n.es.aeat.mod340.investment,total:0 | 514 | #: report:report_mod340:0 |
953 | 395 | #: field:l10n.es.aeat.mod340.issued,total:0 | 515 | msgid "Número de la declaración anterior:" |
954 | 396 | #: field:l10n.es.aeat.mod340.received,total:0 | 516 | msgstr "Número de la declaración anterior:" |
955 | 397 | msgid "total" | 517 | |
956 | 398 | msgstr "total" | 518 | #. module: l10n_es_aeat_mod340 |
957 | 399 | 519 | #: field:account.invoice,first_ticket:0 | |
958 | 400 | #. module: l10n_es_aeat_mod340 | 520 | msgid "First ticket" |
959 | 401 | #: selection:l10n.es.aeat.mod340,period:0 | 521 | msgstr "Primer tique" |
943 | 402 | msgid "August" | ||
944 | 403 | msgstr "Agosto" | ||
960 | 404 | 522 | ||
961 | 405 | #. module: l10n_es_aeat_mod340 | 523 | #. module: l10n_es_aeat_mod340 |
962 | 406 | #: selection:l10n.es.aeat.mod340,type:0 | 524 | #: selection:l10n.es.aeat.mod340,type:0 |
963 | @@ -408,34 +526,37 @@ | |||
964 | 408 | msgstr "Normal" | 526 | msgstr "Normal" |
965 | 409 | 527 | ||
966 | 410 | #. module: l10n_es_aeat_mod340 | 528 | #. module: l10n_es_aeat_mod340 |
967 | 529 | #: help:account.invoice,is_ticket_summary:0 | ||
968 | 530 | msgid "Check if this invoice is a ticket summary" | ||
969 | 531 | msgstr "Active si esta factura es un resumen de tiques" | ||
970 | 532 | |||
971 | 533 | #. module: l10n_es_aeat_mod340 | ||
972 | 411 | #: selection:l10n.es.aeat.mod340,state:0 | 534 | #: selection:l10n.es.aeat.mod340,state:0 |
973 | 412 | msgid "Processing" | 535 | msgid "Processing" |
974 | 413 | msgstr "Procesando" | 536 | msgstr "Procesando" |
975 | 414 | 537 | ||
976 | 415 | #. module: l10n_es_aeat_mod340 | 538 | #. module: l10n_es_aeat_mod340 |
977 | 416 | #: selection:l10n.es.aeat.mod340,period:0 | ||
978 | 417 | msgid "June" | ||
979 | 418 | msgstr "Junio" | ||
980 | 419 | |||
981 | 420 | #. module: l10n_es_aeat_mod340 | ||
982 | 421 | #: field:l10n.es.aeat.mod340,contact_phone:0 | 539 | #: field:l10n.es.aeat.mod340,contact_phone:0 |
983 | 422 | msgid "Phone" | 540 | msgid "Phone" |
984 | 423 | msgstr "Teléfono" | 541 | msgstr "Teléfono" |
985 | 424 | 542 | ||
986 | 425 | #. module: l10n_es_aeat_mod340 | 543 | #. module: l10n_es_aeat_mod340 |
1000 | 426 | #: selection:l10n.es.aeat.mod340,period:0 | 544 | #: field:account.invoice,last_ticket:0 |
1001 | 427 | msgid "November" | 545 | msgid "Last ticket" |
1002 | 428 | msgstr "Noviembre" | 546 | msgstr "Último tique" |
1003 | 429 | 547 | ||
1004 | 430 | #. module: l10n_es_aeat_mod340 | 548 | #. module: l10n_es_aeat_mod340 |
1005 | 431 | #: selection:l10n.es.aeat.mod340,period:0 | 549 | #: field:account.invoice,is_ticket_summary:0 |
1006 | 432 | msgid "October" | 550 | msgid "Ticket Summary" |
1007 | 433 | msgstr "Octubre" | 551 | msgstr "Resumen de tiques" |
1008 | 434 | 552 | ||
1009 | 435 | #. module: l10n_es_aeat_mod340 | 553 | #. module: l10n_es_aeat_mod340 |
1010 | 436 | #: selection:l10n.es.aeat.mod340,period:0 | 554 | #: report:report mod340:0 |
1011 | 437 | msgid "January" | 555 | #: report:report_mod340:0 |
1012 | 438 | msgstr "Enero" | 556 | #: report:vat book:0 |
1013 | 557 | #: report:vat_book:0 | ||
1014 | 558 | msgid "Ejercicio fiscal:" | ||
1015 | 559 | msgstr "Ejercicio fiscal:" | ||
1016 | 439 | 560 | ||
1017 | 440 | #. module: l10n_es_aeat_mod340 | 561 | #. module: l10n_es_aeat_mod340 |
1018 | 441 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0 | 562 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_country_code:0 |
1019 | @@ -456,9 +577,9 @@ | |||
1020 | 456 | msgstr "Modelo 340 - Calcular registros" | 577 | msgstr "Modelo 340 - Calcular registros" |
1021 | 457 | 578 | ||
1022 | 458 | #. module: l10n_es_aeat_mod340 | 579 | #. module: l10n_es_aeat_mod340 |
1026 | 459 | #: selection:l10n.es.aeat.mod340,state:0 | 580 | #: view:l10n.es.aeat.mod340:0 |
1027 | 460 | msgid "Processed" | 581 | msgid "AEAT Modelo 340" |
1028 | 461 | msgstr "Procesado" | 582 | msgstr "AEAT Modelo 340" |
1029 | 462 | 583 | ||
1030 | 463 | #. module: l10n_es_aeat_mod340 | 584 | #. module: l10n_es_aeat_mod340 |
1031 | 464 | #: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0 | 585 | #: field:l10n.es.aeat.mod340.tax_line_issued,invoice_record_id:0 |
1032 | @@ -466,6 +587,12 @@ | |||
1033 | 466 | msgstr "Factudas emitidas" | 587 | msgstr "Factudas emitidas" |
1034 | 467 | 588 | ||
1035 | 468 | #. module: l10n_es_aeat_mod340 | 589 | #. module: l10n_es_aeat_mod340 |
1036 | 590 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74 | ||
1037 | 591 | #, python-format | ||
1038 | 592 | msgid "Error" | ||
1039 | 593 | msgstr "Error" | ||
1040 | 594 | |||
1041 | 595 | #. module: l10n_es_aeat_mod340 | ||
1042 | 469 | #: field:l10n.es.aeat.mod340,representative_vat:0 | 596 | #: field:l10n.es.aeat.mod340,representative_vat:0 |
1043 | 470 | #: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 | 597 | #: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 |
1044 | 471 | #: field:l10n.es.aeat.mod340.investment,representative_vat:0 | 598 | #: field:l10n.es.aeat.mod340.investment,representative_vat:0 |
1045 | @@ -485,6 +612,14 @@ | |||
1046 | 485 | msgstr "Facturas emitidas" | 612 | msgstr "Facturas emitidas" |
1047 | 486 | 613 | ||
1048 | 487 | #. module: l10n_es_aeat_mod340 | 614 | #. module: l10n_es_aeat_mod340 |
1049 | 615 | #: report:report mod340:0 | ||
1050 | 616 | #: report:report_mod340:0 | ||
1051 | 617 | #: report:vat book:0 | ||
1052 | 618 | #: report:vat_book:0 | ||
1053 | 619 | msgid "Base imponible" | ||
1054 | 620 | msgstr "Base imponible" | ||
1055 | 621 | |||
1056 | 622 | #. module: l10n_es_aeat_mod340 | ||
1057 | 488 | #: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0 | 623 | #: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0 |
1058 | 489 | msgid "Invoice received" | 624 | msgid "Invoice received" |
1059 | 490 | msgstr "Factura recibida" | 625 | msgstr "Factura recibida" |
1060 | @@ -495,17 +630,17 @@ | |||
1061 | 495 | msgstr "Tipo de documento" | 630 | msgstr "Tipo de documento" |
1062 | 496 | 631 | ||
1063 | 497 | #. module: l10n_es_aeat_mod340 | 632 | #. module: l10n_es_aeat_mod340 |
1064 | 498 | #: field:l10n.es.aeat.mod340,period:0 | ||
1065 | 499 | msgid "Period" | ||
1066 | 500 | msgstr "Periodo" | ||
1067 | 501 | |||
1068 | 502 | #. module: l10n_es_aeat_mod340 | ||
1069 | 503 | #: view:l10n.es.aeat.mod340:0 | 633 | #: view:l10n.es.aeat.mod340:0 |
1070 | 504 | msgid "General" | 634 | msgid "General" |
1071 | 505 | msgstr "General" | 635 | msgstr "General" |
1072 | 506 | 636 | ||
1073 | 507 | #. module: l10n_es_aeat_mod340 | 637 | #. module: l10n_es_aeat_mod340 |
1074 | 508 | #: view:l10n.es.aeat.mod340:0 | 638 | #: view:l10n.es.aeat.mod340:0 |
1075 | 639 | msgid "In process models" | ||
1076 | 640 | msgstr "Modelos en proceso" | ||
1077 | 641 | |||
1078 | 642 | #. module: l10n_es_aeat_mod340 | ||
1079 | 643 | #: view:l10n.es.aeat.mod340:0 | ||
1080 | 509 | #: selection:l10n.es.aeat.mod340,state:0 | 644 | #: selection:l10n.es.aeat.mod340,state:0 |
1081 | 510 | msgid "Done" | 645 | msgid "Done" |
1082 | 511 | msgstr "Realizado" | 646 | msgstr "Realizado" |
1083 | @@ -535,9 +670,10 @@ | |||
1084 | 535 | msgstr "Recalcular" | 670 | msgstr "Recalcular" |
1085 | 536 | 671 | ||
1086 | 537 | #. module: l10n_es_aeat_mod340 | 672 | #. module: l10n_es_aeat_mod340 |
1090 | 538 | #: selection:l10n.es.aeat.mod340,period:0 | 673 | #: report:report mod340:0 |
1091 | 539 | msgid "Fourth quarter" | 674 | #: report:report_mod340:0 |
1092 | 540 | msgstr "Cuarto trimestre" | 675 | msgid "Código electrónico autoliquidación IVA:" |
1093 | 676 | msgstr "Código electrónico autoliquidación IVA:" | ||
1094 | 541 | 677 | ||
1095 | 542 | #. module: l10n_es_aeat_mod340 | 678 | #. module: l10n_es_aeat_mod340 |
1096 | 543 | #: selection:res.partner,vat_type:0 | 679 | #: selection:res.partner,vat_type:0 |
1097 | @@ -572,9 +708,10 @@ | |||
1098 | 572 | msgstr "Modelo AEAT 340" | 708 | msgstr "Modelo AEAT 340" |
1099 | 573 | 709 | ||
1100 | 574 | #. module: l10n_es_aeat_mod340 | 710 | #. module: l10n_es_aeat_mod340 |
1104 | 575 | #: selection:l10n.es.aeat.mod340,period:0 | 711 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178 |
1105 | 576 | msgid "May" | 712 | #, python-format |
1106 | 577 | msgstr "Mayo" | 713 | msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f" |
1107 | 714 | msgstr "Factura %s, La cantidad de lineas sin impuesto %.2f no corresponde con la cantidad sin impuestos en la factura %.2f" | ||
1108 | 578 | 715 | ||
1109 | 579 | #. module: l10n_es_aeat_mod340 | 716 | #. module: l10n_es_aeat_mod340 |
1110 | 580 | #: help:res.partner,vat_type:0 | 717 | #: help:res.partner,vat_type:0 |
1111 | @@ -586,12 +723,18 @@ | |||
1112 | 586 | #: help:l10n.es.aeat.mod340,total:0 | 723 | #: help:l10n.es.aeat.mod340,total:0 |
1113 | 587 | #: help:l10n.es.aeat.mod340,total_sharetax:0 | 724 | #: help:l10n.es.aeat.mod340,total_sharetax:0 |
1114 | 588 | #: help:l10n.es.aeat.mod340,total_taxable:0 | 725 | #: help:l10n.es.aeat.mod340,total_taxable:0 |
1118 | 589 | msgid "" | 726 | msgid "The declaration will include partners with the total of operations over this limit" |
1116 | 590 | "The declaration will include partners with the total of operations over this " | ||
1117 | 591 | "limit" | ||
1119 | 592 | msgstr "La declaración incluye las empresas que no superen este limite" | 727 | msgstr "La declaración incluye las empresas que no superen este limite" |
1120 | 593 | 728 | ||
1121 | 594 | #. module: l10n_es_aeat_mod340 | 729 | #. module: l10n_es_aeat_mod340 |
1122 | 730 | #: report:report mod340:0 | ||
1123 | 731 | #: report:report_mod340:0 | ||
1124 | 732 | #: report:vat book:0 | ||
1125 | 733 | #: report:vat_book:0 | ||
1126 | 734 | msgid "Número de factura" | ||
1127 | 735 | msgstr "Número de factura" | ||
1128 | 736 | |||
1129 | 737 | #. module: l10n_es_aeat_mod340 | ||
1130 | 595 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0 | 738 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0 |
1131 | 596 | #: field:l10n.es.aeat.mod340.investment,partner_vat:0 | 739 | #: field:l10n.es.aeat.mod340.investment,partner_vat:0 |
1132 | 597 | #: field:l10n.es.aeat.mod340.issued,partner_vat:0 | 740 | #: field:l10n.es.aeat.mod340.issued,partner_vat:0 |
1133 | @@ -621,9 +764,10 @@ | |||
1134 | 621 | msgstr "Nombre y apellido de contacto" | 764 | msgstr "Nombre y apellido de contacto" |
1135 | 622 | 765 | ||
1136 | 623 | #. module: l10n_es_aeat_mod340 | 766 | #. module: l10n_es_aeat_mod340 |
1140 | 624 | #: selection:l10n.es.aeat.mod340,period:0 | 767 | #: report:report mod340:0 |
1141 | 625 | msgid "February" | 768 | #: report:report_mod340:0 |
1142 | 626 | msgstr "Febrero" | 769 | msgid "Número:" |
1143 | 770 | msgstr "Número:" | ||
1144 | 627 | 771 | ||
1145 | 628 | #. module: l10n_es_aeat_mod340 | 772 | #. module: l10n_es_aeat_mod340 |
1146 | 629 | #: field:l10n.es.aeat.mod340,name:0 | 773 | #: field:l10n.es.aeat.mod340,name:0 |
1147 | @@ -638,9 +782,20 @@ | |||
1148 | 638 | msgstr "Facturas recibidas" | 782 | msgstr "Facturas recibidas" |
1149 | 639 | 783 | ||
1150 | 640 | #. module: l10n_es_aeat_mod340 | 784 | #. module: l10n_es_aeat_mod340 |
1154 | 641 | #: selection:l10n.es.aeat.mod340,period:0 | 785 | #: report:report mod340:0 |
1155 | 642 | msgid "April" | 786 | #: report:report_mod340:0 |
1156 | 643 | msgstr "Abril" | 787 | msgid "Tipo de soporte:" |
1157 | 788 | msgstr "Tipo de soporte:" | ||
1158 | 789 | |||
1159 | 790 | #. module: l10n_es_aeat_mod340 | ||
1160 | 791 | #: field:l10n.es.aeat.mod340,attach_id:0 | ||
1161 | 792 | msgid "BOE file" | ||
1162 | 793 | msgstr "Archivo BOE" | ||
1163 | 794 | |||
1164 | 795 | #. module: l10n_es_aeat_mod340 | ||
1165 | 796 | #: view:l10n.es.aeat.mod340:0 | ||
1166 | 797 | msgid "Draft models" | ||
1167 | 798 | msgstr "Modelos en borrador" | ||
1168 | 644 | 799 | ||
1169 | 645 | #. module: l10n_es_aeat_mod340 | 800 | #. module: l10n_es_aeat_mod340 |
1170 | 646 | #: view:l10n.es.aeat.mod340:0 | 801 | #: view:l10n.es.aeat.mod340:0 |
1171 | @@ -649,12 +804,28 @@ | |||
1172 | 649 | msgstr "Año fiscal" | 804 | msgstr "Año fiscal" |
1173 | 650 | 805 | ||
1174 | 651 | #. module: l10n_es_aeat_mod340 | 806 | #. module: l10n_es_aeat_mod340 |
1175 | 807 | #: report:report mod340:0 | ||
1176 | 808 | #: report:report_mod340:0 | ||
1177 | 809 | #: report:vat book:0 | ||
1178 | 810 | #: report:vat_book:0 | ||
1179 | 811 | msgid "CIF/NIF" | ||
1180 | 812 | msgstr "CIF/NIF" | ||
1181 | 813 | |||
1182 | 814 | #. module: l10n_es_aeat_mod340 | ||
1183 | 652 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received | 815 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received |
1184 | 653 | #: field:l10n.es.aeat.mod340,received:0 | 816 | #: field:l10n.es.aeat.mod340,received:0 |
1185 | 654 | msgid "Invoices Received" | 817 | msgid "Invoices Received" |
1186 | 655 | msgstr "Facturas recibidas" | 818 | msgstr "Facturas recibidas" |
1187 | 656 | 819 | ||
1188 | 657 | #. module: l10n_es_aeat_mod340 | 820 | #. module: l10n_es_aeat_mod340 |
1189 | 821 | #: code:addons/l10n_es_aeat_mod340/account.py:92 | ||
1190 | 822 | #, python-format | ||
1191 | 823 | msgid "The info field is different.\n" | ||
1192 | 824 | "" | ||
1193 | 825 | msgstr "El campo descripción es diferente.\n" | ||
1194 | 826 | "" | ||
1195 | 827 | |||
1196 | 828 | #. module: l10n_es_aeat_mod340 | ||
1197 | 658 | #: selection:l10n.es.aeat.mod340,support_type:0 | 829 | #: selection:l10n.es.aeat.mod340,support_type:0 |
1198 | 659 | msgid "Telematics" | 830 | msgid "Telematics" |
1199 | 660 | msgstr "Telemática" | 831 | msgstr "Telemática" |
1200 | @@ -665,9 +836,12 @@ | |||
1201 | 665 | msgstr "Clave tipo de NIF" | 836 | msgstr "Clave tipo de NIF" |
1202 | 666 | 837 | ||
1203 | 667 | #. module: l10n_es_aeat_mod340 | 838 | #. module: l10n_es_aeat_mod340 |
1207 | 668 | #: selection:l10n.es.aeat.mod340,period:0 | 839 | #: report:report mod340:0 |
1208 | 669 | msgid "Second quarter" | 840 | #: report:report_mod340:0 |
1209 | 670 | msgstr "Segundo trimestre" | 841 | #: report:vat book:0 |
1210 | 842 | #: report:vat_book:0 | ||
1211 | 843 | msgid "Empresa" | ||
1212 | 844 | msgstr "Empresa" | ||
1213 | 671 | 845 | ||
1214 | 672 | #. module: l10n_es_aeat_mod340 | 846 | #. module: l10n_es_aeat_mod340 |
1215 | 673 | #: selection:l10n.es.aeat.mod340,type:0 | 847 | #: selection:l10n.es.aeat.mod340,type:0 |
1216 | @@ -675,11 +849,25 @@ | |||
1217 | 675 | msgstr "Complementaria" | 849 | msgstr "Complementaria" |
1218 | 676 | 850 | ||
1219 | 677 | #. module: l10n_es_aeat_mod340 | 851 | #. module: l10n_es_aeat_mod340 |
1225 | 678 | #: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0 | 852 | #: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts |
1226 | 679 | #: field:l10n.es.aeat.mod340.investment,tax_line_ids:0 | 853 | msgid "wizard.update.charts.accounts" |
1227 | 680 | #: field:l10n.es.aeat.mod340.issued,tax_line_ids:0 | 854 | msgstr "wizard.update.charts.accounts" |
1228 | 681 | msgid "tax lines" | 855 | |
1229 | 682 | msgstr "líneas de impuestos" | 856 | #. module: l10n_es_aeat_mod340 |
1230 | 857 | #: report:report mod340:0 | ||
1231 | 858 | #: report:report_mod340:0 | ||
1232 | 859 | #: report:vat book:0 | ||
1233 | 860 | #: report:vat_book:0 | ||
1234 | 861 | msgid "Total factura" | ||
1235 | 862 | msgstr "Total factura" | ||
1236 | 863 | |||
1237 | 864 | #. module: l10n_es_aeat_mod340 | ||
1238 | 865 | #: report:report mod340:0 | ||
1239 | 866 | #: report:report_mod340:0 | ||
1240 | 867 | #: report:vat book:0 | ||
1241 | 868 | #: report:vat_book:0 | ||
1242 | 869 | msgid "FACTURAS DE ENTRADA" | ||
1243 | 870 | msgstr "FACTURAS DE ENTRADA" | ||
1244 | 683 | 871 | ||
1245 | 684 | #. module: l10n_es_aeat_mod340 | 872 | #. module: l10n_es_aeat_mod340 |
1246 | 685 | #: field:l10n.es.aeat.mod340,total:0 | 873 | #: field:l10n.es.aeat.mod340,total:0 |
1247 | @@ -693,36 +881,20 @@ | |||
1248 | 693 | msgstr "Total" | 881 | msgstr "Total" |
1249 | 694 | 882 | ||
1250 | 695 | #. module: l10n_es_aeat_mod340 | 883 | #. module: l10n_es_aeat_mod340 |
1280 | 696 | #: field:account.invoice,number_tickets:0 | 884 | #: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template |
1281 | 697 | msgid "Number of tickets" | 885 | msgid "Tax Code Template" |
1282 | 698 | msgstr "Número de tiques" | 886 | msgstr "Plantilla códigos de impuestos" |
1283 | 699 | 887 | ||
1284 | 700 | #. module: l10n_es_aeat_mod340 | 888 | #. module: l10n_es_aeat_mod340 |
1285 | 701 | #: field:account.invoice,first_ticket:0 | 889 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109 |
1257 | 702 | msgid "First ticket" | ||
1258 | 703 | msgstr "Primer tique" | ||
1259 | 704 | |||
1260 | 705 | #. module: l10n_es_aeat_mod340 | ||
1261 | 706 | #: help:account.invoice,is_ticket_summary:0 | ||
1262 | 707 | msgid "Check if this invoice is a ticket summary" | ||
1263 | 708 | msgstr "Active si esta factura es un resumen de tiques" | ||
1264 | 709 | |||
1265 | 710 | #. module: l10n_es_aeat_mod340 | ||
1266 | 711 | #: field:account.invoice,last_ticket:0 | ||
1267 | 712 | msgid "Last ticket" | ||
1268 | 713 | msgstr "Último tique" | ||
1269 | 714 | |||
1270 | 715 | #. module: l10n_es_aeat_mod340 | ||
1271 | 716 | #: field:account.invoice,is_ticket_summary:0 | ||
1272 | 717 | msgid "Ticket Summary" | ||
1273 | 718 | msgstr "Resumen de tiques" | ||
1274 | 719 | |||
1275 | 720 | #. module: account | ||
1276 | 721 | #: view:account.invoice:0 | ||
1277 | 722 | msgid "Tickets" | ||
1278 | 723 | msgstr "Tiques" | ||
1279 | 724 | |||
1286 | 725 | #, python-format | 890 | #, python-format |
1290 | 726 | #~ msgid "All real state records state code field must be filled." | 891 | msgid "La siguiente empresa no tiene asignado nif:" |
1291 | 727 | #~ msgstr "" | 892 | msgstr "La siguiente empresa no tiene asignado nif:" |
1292 | 728 | #~ "Los registros de propiedades inmobiliarias deben ser rellenados manualmente." | 893 | |
1293 | 894 | #. module: l10n_es_aeat_mod340 | ||
1294 | 895 | #: field:l10n.es.aeat.mod340.intracomunitarias,date_invoice:0 | ||
1295 | 896 | #: field:l10n.es.aeat.mod340.investment,date_invoice:0 | ||
1296 | 897 | #: field:l10n.es.aeat.mod340.issued,date_invoice:0 | ||
1297 | 898 | #: field:l10n.es.aeat.mod340.received,date_invoice:0 | ||
1298 | 899 | msgid "Date Invoice" | ||
1299 | 900 | msgstr "Fecha Factura" | ||
1300 | 729 | 901 | ||
1301 | === modified file 'l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot' | |||
1302 | --- l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2013-11-22 23:44:11 +0000 | |||
1303 | +++ l10n_es_aeat_mod340/i18n/l10n_es_aeat_mod340.pot 2014-02-03 11:19:23 +0000 | |||
1304 | @@ -1,22 +1,37 @@ | |||
1305 | 1 | # Translation of OpenERP Server. | 1 | # Translation of OpenERP Server. |
1306 | 2 | # This file contains the translation of the following modules: | 2 | # This file contains the translation of the following modules: |
1308 | 3 | # * l10n_es_aeat_mod340 | 3 | # * l10n_es_aeat_mod340 |
1309 | 4 | # | 4 | # |
1310 | 5 | msgid "" | 5 | msgid "" |
1311 | 6 | msgstr "" | 6 | msgstr "" |
1316 | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" | 7 | "Project-Id-Version: OpenERP Server 7.0-20130519-231019\n" |
1317 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
1318 | 9 | "POT-Creation-Date: 2012-01-30 10:57+0000\n" | 9 | "POT-Creation-Date: 2013-10-11 14:52+0000\n" |
1319 | 10 | "PO-Revision-Date: 2012-01-30 10:57+0000\n" | 10 | "PO-Revision-Date: 2013-10-11 14:52+0000\n" |
1320 | 11 | "Last-Translator: <>\n" | ||
1321 | 11 | "Language-Team: \n" | 12 | "Language-Team: \n" |
1322 | 12 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
1323 | 13 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
1325 | 14 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: \n" |
1326 | 15 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
1327 | 16 | 17 | ||
1328 | 17 | #. module: l10n_es_aeat_mod340 | 18 | #. module: l10n_es_aeat_mod340 |
1331 | 18 | #: selection:l10n.es.aeat.mod340,period:0 | 19 | #: report:report mod340:0 |
1332 | 19 | msgid "Third quarter" | 20 | #: report:report_mod340:0 |
1333 | 21 | #: report:vat book:0 | ||
1334 | 22 | #: report:vat_book:0 | ||
1335 | 23 | msgid "FACTURAS DE SALIDA" | ||
1336 | 24 | msgstr "" | ||
1337 | 25 | |||
1338 | 26 | #. module: l10n_es_aeat_mod340 | ||
1339 | 27 | #: view:l10n.es.aeat.mod340:0 | ||
1340 | 28 | msgid "Confirmed models" | ||
1341 | 29 | msgstr "" | ||
1342 | 30 | |||
1343 | 31 | #. module: l10n_es_aeat_mod340 | ||
1344 | 32 | #: report:report mod340:0 | ||
1345 | 33 | #: report:vat_book:0 | ||
1346 | 34 | msgid "Compañía:" | ||
1347 | 20 | msgstr "" | 35 | msgstr "" |
1348 | 21 | 36 | ||
1349 | 22 | #. module: l10n_es_aeat_mod340 | 37 | #. module: l10n_es_aeat_mod340 |
1350 | @@ -25,28 +40,22 @@ | |||
1351 | 25 | msgstr "" | 40 | msgstr "" |
1352 | 26 | 41 | ||
1353 | 27 | #. module: l10n_es_aeat_mod340 | 42 | #. module: l10n_es_aeat_mod340 |
1376 | 28 | #: code:addons/l10n_es_aeat_mod340/mod340.py:162 | 43 | #: code:addons/l10n_es_aeat_mod340/account.py:89 |
1377 | 29 | #, python-format | 44 | #, python-format |
1378 | 30 | msgid "All real estate records state code field must be filled." | 45 | msgid "The code field is different.\n" |
1379 | 31 | msgstr "" | 46 | "" |
1380 | 32 | 47 | msgstr "" | |
1381 | 33 | #. module: l10n_es_aeat_mod340 | 48 | |
1382 | 34 | #: code:addons/l10n_es_aeat_mod340/mod340.py:65 | 49 | #. module: l10n_es_aeat_mod340 |
1383 | 35 | #, python-format | 50 | #: field:l10n.es.aeat.mod340,total_taxable:0 |
1384 | 36 | msgid "En desarrollo" | 51 | msgid "Total Taxable" |
1385 | 37 | msgstr "" | 52 | msgstr "" |
1386 | 38 | 53 | ||
1387 | 39 | #. module: l10n_es_aeat_mod340 | 54 | #. module: l10n_es_aeat_mod340 |
1388 | 40 | #: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0 | 55 | #: code:addons/l10n_es_aeat_mod340/account.py:158 |
1389 | 41 | #: field:l10n.es.aeat.mod340.investment,amount_tax:0 | 56 | #, python-format |
1390 | 42 | #: field:l10n.es.aeat.mod340.issued,amount_tax:0 | 57 | msgid "Created tax code %s.\n" |
1391 | 43 | #: field:l10n.es.aeat.mod340.received,amount_tax:0 | 58 | "" |
1370 | 44 | msgid "amount of the tax" | ||
1371 | 45 | msgstr "" | ||
1372 | 46 | |||
1373 | 47 | #. module: l10n_es_aeat_mod340 | ||
1374 | 48 | #: selection:l10n.es.aeat.mod340,period:0 | ||
1375 | 49 | msgid "March" | ||
1392 | 50 | msgstr "" | 59 | msgstr "" |
1393 | 51 | 60 | ||
1394 | 52 | #. module: l10n_es_aeat_mod340 | 61 | #. module: l10n_es_aeat_mod340 |
1395 | @@ -61,12 +70,17 @@ | |||
1396 | 61 | msgstr "" | 70 | msgstr "" |
1397 | 62 | 71 | ||
1398 | 63 | #. module: l10n_es_aeat_mod340 | 72 | #. module: l10n_es_aeat_mod340 |
1399 | 73 | #: field:l10n.es.aeat.mod340,total_sharetax:0 | ||
1400 | 74 | msgid "Total Share Tax" | ||
1401 | 75 | msgstr "" | ||
1402 | 76 | |||
1403 | 77 | #. module: l10n_es_aeat_mod340 | ||
1404 | 64 | #: field:l10n.es.aeat.mod340,number_records:0 | 78 | #: field:l10n.es.aeat.mod340,number_records:0 |
1405 | 65 | msgid "Records" | 79 | msgid "Records" |
1406 | 66 | msgstr "" | 80 | msgstr "" |
1407 | 67 | 81 | ||
1408 | 68 | #. module: l10n_es_aeat_mod340 | 82 | #. module: l10n_es_aeat_mod340 |
1410 | 69 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:270 | 83 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:297 |
1411 | 70 | #, python-format | 84 | #, python-format |
1412 | 71 | msgid "The type 2 received record must be 500 characters long for each Vat registry" | 85 | msgid "The type 2 received record must be 500 characters long for each Vat registry" |
1413 | 72 | msgstr "" | 86 | msgstr "" |
1414 | @@ -82,41 +96,57 @@ | |||
1415 | 82 | msgstr "" | 96 | msgstr "" |
1416 | 83 | 97 | ||
1417 | 84 | #. module: l10n_es_aeat_mod340 | 98 | #. module: l10n_es_aeat_mod340 |
1418 | 99 | #: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0 | ||
1419 | 100 | #: field:l10n.es.aeat.mod340.investment,base_tax:0 | ||
1420 | 101 | #: field:l10n.es.aeat.mod340.issued,base_tax:0 | ||
1421 | 102 | #: field:l10n.es.aeat.mod340.received,base_tax:0 | ||
1422 | 85 | #: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0 | 103 | #: field:l10n.es.aeat.mod340.tax_line_issued,base_amount:0 |
1423 | 86 | #: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0 | 104 | #: field:l10n.es.aeat.mod340.tax_line_received,base_amount:0 |
1424 | 87 | msgid "Base tax bill" | 105 | msgid "Base tax bill" |
1425 | 88 | msgstr "" | 106 | msgstr "" |
1426 | 89 | 107 | ||
1427 | 90 | #. module: l10n_es_aeat_mod340 | 108 | #. module: l10n_es_aeat_mod340 |
1428 | 109 | #: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code | ||
1429 | 110 | msgid "Tax Code" | ||
1430 | 111 | msgstr "" | ||
1431 | 112 | |||
1432 | 113 | #. module: l10n_es_aeat_mod340 | ||
1433 | 91 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report | 114 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod340.action_l10n_es_aeat_mod340_report |
1434 | 92 | msgid "Create and query AEAT Model 340 Reports" | 115 | msgid "Create and query AEAT Model 340 Reports" |
1435 | 93 | msgstr "" | 116 | msgstr "" |
1436 | 94 | 117 | ||
1437 | 95 | #. module: l10n_es_aeat_mod340 | 118 | #. module: l10n_es_aeat_mod340 |
1439 | 96 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:92 | 119 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:95 |
1440 | 97 | #, python-format | 120 | #, python-format |
1450 | 98 | msgid "El periodo seleccionado no coincide con los periodos del año fiscal:" | 121 | msgid "The period hasn't a valid Mod340 period" |
1451 | 99 | msgstr "" | 122 | msgstr "" |
1452 | 100 | 123 | ||
1453 | 101 | #. module: l10n_es_aeat_mod340 | 124 | #. module: l10n_es_aeat_mod340 |
1454 | 102 | #: view:l10n.es.aeat.mod340:0 | 125 | #: report:report_mod340:0 |
1455 | 103 | msgid "In process" | 126 | #: report:vat_book:0 |
1456 | 104 | msgstr "" | 127 | msgid "Apellidos y nombre de contacto:" |
1457 | 105 | 128 | msgstr "" | |
1458 | 106 | #. module: l10n_es_aeat_mod340 | 129 | |
1459 | 130 | #. module: l10n_es_aeat_mod340 | ||
1460 | 131 | #: selection:l10n.es.aeat.mod340,state:0 | ||
1461 | 132 | msgid "Processed" | ||
1462 | 133 | msgstr "" | ||
1463 | 134 | |||
1464 | 135 | #. module: l10n_es_aeat_mod340 | ||
1465 | 136 | #: field:account.tax.code,mod340:0 | ||
1466 | 137 | #: field:account.tax.code.template,mod340:0 | ||
1467 | 138 | msgid "Include in mod340" | ||
1468 | 139 | msgstr "" | ||
1469 | 140 | |||
1470 | 141 | #. module: l10n_es_aeat_mod340 | ||
1471 | 142 | #: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0 | ||
1472 | 143 | #: field:l10n.es.aeat.mod340.investment,tax_line_ids:0 | ||
1473 | 144 | #: field:l10n.es.aeat.mod340.issued,tax_line_ids:0 | ||
1474 | 107 | #: field:l10n.es.aeat.mod340.received,tax_line_ids:0 | 145 | #: field:l10n.es.aeat.mod340.received,tax_line_ids:0 |
1475 | 108 | msgid "Tax lines" | 146 | msgid "Tax lines" |
1476 | 109 | msgstr "" | 147 | msgstr "" |
1477 | 110 | 148 | ||
1478 | 111 | #. module: l10n_es_aeat_mod340 | 149 | #. module: l10n_es_aeat_mod340 |
1479 | 112 | #: code:addons/l10n_es_aeat_mod340/mod340.py:156 | ||
1480 | 113 | #: code:addons/l10n_es_aeat_mod340/mod340.py:158 | ||
1481 | 114 | #: code:addons/l10n_es_aeat_mod340/mod340.py:162 | ||
1482 | 115 | #, python-format | ||
1483 | 116 | msgid "Error!" | ||
1484 | 117 | msgstr "" | ||
1485 | 118 | |||
1486 | 119 | #. module: l10n_es_aeat_mod340 | ||
1487 | 120 | #: view:l10n.es.aeat.mod340:0 | 150 | #: view:l10n.es.aeat.mod340:0 |
1488 | 121 | msgid "Cancelled" | 151 | msgid "Cancelled" |
1489 | 122 | msgstr "" | 152 | msgstr "" |
1490 | @@ -127,17 +157,24 @@ | |||
1491 | 127 | msgstr "" | 157 | msgstr "" |
1492 | 128 | 158 | ||
1493 | 129 | #. module: l10n_es_aeat_mod340 | 159 | #. module: l10n_es_aeat_mod340 |
1500 | 130 | #: field:l10n.es.aeat.mod340,company_vat:0 | 160 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:213 |
1495 | 131 | msgid "VAT number" | ||
1496 | 132 | msgstr "" | ||
1497 | 133 | |||
1498 | 134 | #. module: l10n_es_aeat_mod340 | ||
1499 | 135 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:184 | ||
1501 | 136 | #, python-format | 161 | #, python-format |
1502 | 137 | msgid "The type 2 issued record must be 500 characters long for each Vat registry" | 162 | msgid "The type 2 issued record must be 500 characters long for each Vat registry" |
1503 | 138 | msgstr "" | 163 | msgstr "" |
1504 | 139 | 164 | ||
1505 | 140 | #. module: l10n_es_aeat_mod340 | 165 | #. module: l10n_es_aeat_mod340 |
1506 | 166 | #: field:l10n.es.aeat.mod340,period_from:0 | ||
1507 | 167 | msgid "Start period" | ||
1508 | 168 | msgstr "" | ||
1509 | 169 | |||
1510 | 170 | #. module: l10n_es_aeat_mod340 | ||
1511 | 171 | #: code:addons/l10n_es_aeat_mod340/account.py:167 | ||
1512 | 172 | #, python-format | ||
1513 | 173 | msgid "Updated tax code %s.\n" | ||
1514 | 174 | "" | ||
1515 | 175 | msgstr "" | ||
1516 | 176 | |||
1517 | 177 | #. module: l10n_es_aeat_mod340 | ||
1518 | 141 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias | 178 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_intracomunitarias |
1519 | 142 | #: field:l10n.es.aeat.mod340,intracomunitarias:0 | 179 | #: field:l10n.es.aeat.mod340,intracomunitarias:0 |
1520 | 143 | msgid "Operations Intracomunitarias" | 180 | msgid "Operations Intracomunitarias" |
1521 | @@ -156,22 +193,50 @@ | |||
1522 | 156 | msgstr "" | 193 | msgstr "" |
1523 | 157 | 194 | ||
1524 | 158 | #. module: l10n_es_aeat_mod340 | 195 | #. module: l10n_es_aeat_mod340 |
1525 | 196 | #: field:l10n.es.aeat.mod340,period_to:0 | ||
1526 | 197 | msgid "End period" | ||
1527 | 198 | msgstr "" | ||
1528 | 199 | |||
1529 | 200 | #. module: l10n_es_aeat_mod340 | ||
1530 | 201 | #: code:addons/l10n_es_aeat_mod340/account.py:98 | ||
1531 | 202 | #, python-format | ||
1532 | 203 | msgid "The Mod 340 field is different.\n" | ||
1533 | 204 | "" | ||
1534 | 205 | msgstr "" | ||
1535 | 206 | |||
1536 | 207 | #. module: l10n_es_aeat_mod340 | ||
1537 | 159 | #: view:l10n.es.aeat.mod340:0 | 208 | #: view:l10n.es.aeat.mod340:0 |
1538 | 160 | msgid "Identification" | 209 | msgid "Identification" |
1539 | 161 | msgstr "" | 210 | msgstr "" |
1540 | 162 | 211 | ||
1541 | 163 | #. module: l10n_es_aeat_mod340 | 212 | #. module: l10n_es_aeat_mod340 |
1542 | 213 | #: view:account.invoice:0 | ||
1543 | 214 | msgid "Payments" | ||
1544 | 215 | msgstr "" | ||
1545 | 216 | |||
1546 | 217 | #. module: l10n_es_aeat_mod340 | ||
1547 | 218 | #: report:report mod340:0 | ||
1548 | 219 | #: report:vat_book:0 | ||
1549 | 220 | msgid "Teléfono de contacto:" | ||
1550 | 221 | msgstr "" | ||
1551 | 222 | |||
1552 | 223 | #. module: l10n_es_aeat_mod340 | ||
1553 | 164 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action | 224 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_mod340_action |
1554 | 165 | msgid "mod340 report" | 225 | msgid "mod340 report" |
1555 | 166 | msgstr "" | 226 | msgstr "" |
1556 | 167 | 227 | ||
1557 | 168 | #. module: l10n_es_aeat_mod340 | 228 | #. module: l10n_es_aeat_mod340 |
1558 | 229 | #: report:vat book:0 | ||
1559 | 230 | msgid "LIBRO DE IVA" | ||
1560 | 231 | msgstr "" | ||
1561 | 232 | |||
1562 | 233 | #. module: l10n_es_aeat_mod340 | ||
1563 | 169 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued | 234 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_issued |
1564 | 170 | msgid "Invoices invoice" | 235 | msgid "Invoices invoice" |
1565 | 171 | msgstr "" | 236 | msgstr "" |
1566 | 172 | 237 | ||
1567 | 173 | #. module: l10n_es_aeat_mod340 | 238 | #. module: l10n_es_aeat_mod340 |
1569 | 174 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:65 | 239 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:64 |
1570 | 175 | #, python-format | 240 | #, python-format |
1571 | 176 | msgid "This company dont have NIF" | 241 | msgid "This company dont have NIF" |
1572 | 177 | msgstr "" | 242 | msgstr "" |
1573 | @@ -187,7 +252,12 @@ | |||
1574 | 187 | msgstr "" | 252 | msgstr "" |
1575 | 188 | 253 | ||
1576 | 189 | #. module: l10n_es_aeat_mod340 | 254 | #. module: l10n_es_aeat_mod340 |
1578 | 190 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306 | 255 | #: view:l10n.es.aeat.mod340:0 |
1579 | 256 | msgid "Cancelled models" | ||
1580 | 257 | msgstr "" | ||
1581 | 258 | |||
1582 | 259 | #. module: l10n_es_aeat_mod340 | ||
1583 | 260 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333 | ||
1584 | 191 | #, python-format | 261 | #, python-format |
1585 | 192 | msgid "340_report_%s.txt" | 262 | msgid "340_report_%s.txt" |
1586 | 193 | msgstr "" | 263 | msgstr "" |
1587 | @@ -198,16 +268,24 @@ | |||
1588 | 198 | msgstr "" | 268 | msgstr "" |
1589 | 199 | 269 | ||
1590 | 200 | #. module: l10n_es_aeat_mod340 | 270 | #. module: l10n_es_aeat_mod340 |
1591 | 201 | #: selection:l10n.es.aeat.mod340,period:0 | ||
1592 | 202 | msgid "First quarter" | ||
1593 | 203 | msgstr "" | ||
1594 | 204 | |||
1595 | 205 | #. module: l10n_es_aeat_mod340 | ||
1596 | 206 | #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report | 271 | #: model:ir.ui.menu,name:l10n_es_aeat_mod340.menu_aeat_mod340_report |
1597 | 207 | msgid "AEAT 340 Model" | 272 | msgid "AEAT 340 Model" |
1598 | 208 | msgstr "" | 273 | msgstr "" |
1599 | 209 | 274 | ||
1600 | 210 | #. module: l10n_es_aeat_mod340 | 275 | #. module: l10n_es_aeat_mod340 |
1601 | 276 | #: field:l10n.es.aeat.mod340.intracomunitarias,amount_tax:0 | ||
1602 | 277 | #: field:l10n.es.aeat.mod340.investment,amount_tax:0 | ||
1603 | 278 | #: field:l10n.es.aeat.mod340.issued,amount_tax:0 | ||
1604 | 279 | #: field:l10n.es.aeat.mod340.received,amount_tax:0 | ||
1605 | 280 | msgid "Total tax" | ||
1606 | 281 | msgstr "" | ||
1607 | 282 | |||
1608 | 283 | #. module: l10n_es_aeat_mod340 | ||
1609 | 284 | #: report:vat book:0 | ||
1610 | 285 | msgid "Nº de factura" | ||
1611 | 286 | msgstr "" | ||
1612 | 287 | |||
1613 | 288 | #. module: l10n_es_aeat_mod340 | ||
1614 | 211 | #: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 | 289 | #: help:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 |
1615 | 212 | #: help:l10n.es.aeat.mod340.investment,representative_vat:0 | 290 | #: help:l10n.es.aeat.mod340.investment,representative_vat:0 |
1616 | 213 | #: help:l10n.es.aeat.mod340.issued,representative_vat:0 | 291 | #: help:l10n.es.aeat.mod340.issued,representative_vat:0 |
1617 | @@ -231,7 +309,7 @@ | |||
1618 | 231 | msgstr "" | 309 | msgstr "" |
1619 | 232 | 310 | ||
1620 | 233 | #. module: l10n_es_aeat_mod340 | 311 | #. module: l10n_es_aeat_mod340 |
1622 | 234 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:306 | 312 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:333 |
1623 | 235 | #, python-format | 313 | #, python-format |
1624 | 236 | msgid "%Y-%m-%d" | 314 | msgid "%Y-%m-%d" |
1625 | 237 | msgstr "" | 315 | msgstr "" |
1626 | @@ -242,8 +320,14 @@ | |||
1627 | 242 | msgstr "" | 320 | msgstr "" |
1628 | 243 | 321 | ||
1629 | 244 | #. module: l10n_es_aeat_mod340 | 322 | #. module: l10n_es_aeat_mod340 |
1632 | 245 | #: selection:l10n.es.aeat.mod340,period:0 | 323 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74 |
1633 | 246 | msgid "July" | 324 | #, python-format |
1634 | 325 | msgid "The periods selected don't belong to the fiscal year %s" | ||
1635 | 326 | msgstr "" | ||
1636 | 327 | |||
1637 | 328 | #. module: l10n_es_aeat_mod340 | ||
1638 | 329 | #: field:l10n.es.aeat.mod340,company_vat:0 | ||
1639 | 330 | msgid "VAT number" | ||
1640 | 247 | msgstr "" | 331 | msgstr "" |
1641 | 248 | 332 | ||
1642 | 249 | #. module: l10n_es_aeat_mod340 | 333 | #. module: l10n_es_aeat_mod340 |
1643 | @@ -257,14 +341,27 @@ | |||
1644 | 257 | msgstr "" | 341 | msgstr "" |
1645 | 258 | 342 | ||
1646 | 259 | #. module: l10n_es_aeat_mod340 | 343 | #. module: l10n_es_aeat_mod340 |
1648 | 260 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:92 | 344 | #: code:addons/l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py:108 |
1649 | 261 | #, python-format | 345 | #, python-format |
1650 | 262 | msgid "The type 1 record must be 500 characters long" | 346 | msgid "The type 1 record must be 500 characters long" |
1651 | 263 | msgstr "" | 347 | msgstr "" |
1652 | 264 | 348 | ||
1653 | 265 | #. module: l10n_es_aeat_mod340 | 349 | #. module: l10n_es_aeat_mod340 |
1656 | 266 | #: field:l10n.es.aeat.mod340,calculation_date:0 | 350 | #: report:report mod340:0 |
1657 | 267 | msgid "Calculation date" | 351 | #: report:report_mod340:0 |
1658 | 352 | #: report:vat_book:0 | ||
1659 | 353 | msgid "CIF/NIF:" | ||
1660 | 354 | msgstr "" | ||
1661 | 355 | |||
1662 | 356 | #. module: l10n_es_aeat_mod340 | ||
1663 | 357 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued | ||
1664 | 358 | msgid "Mod340 vat lines issued" | ||
1665 | 359 | msgstr "" | ||
1666 | 360 | |||
1667 | 361 | #. module: l10n_es_aeat_mod340 | ||
1668 | 362 | #: report:report mod340:0 | ||
1669 | 363 | #: report:report_mod340:0 | ||
1670 | 364 | msgid "CIF/NIF del representante legal:" | ||
1671 | 268 | msgstr "" | 365 | msgstr "" |
1672 | 269 | 366 | ||
1673 | 270 | #. module: l10n_es_aeat_mod340 | 367 | #. module: l10n_es_aeat_mod340 |
1674 | @@ -277,11 +374,9 @@ | |||
1675 | 277 | msgstr "" | 374 | msgstr "" |
1676 | 278 | 375 | ||
1677 | 279 | #. module: l10n_es_aeat_mod340 | 376 | #. module: l10n_es_aeat_mod340 |
1683 | 280 | #: field:l10n.es.aeat.mod340.intracomunitarias,base_tax:0 | 377 | #: report:report mod340:0 |
1684 | 281 | #: field:l10n.es.aeat.mod340.investment,base_tax:0 | 378 | #: report:vat_book:0 |
1685 | 282 | #: field:l10n.es.aeat.mod340.issued,base_tax:0 | 379 | msgid "Cuota impuesto" |
1681 | 283 | #: field:l10n.es.aeat.mod340.received,base_tax:0 | ||
1682 | 284 | msgid "base tax bill" | ||
1686 | 285 | msgstr "" | 380 | msgstr "" |
1687 | 286 | 381 | ||
1688 | 287 | #. module: l10n_es_aeat_mod340 | 382 | #. module: l10n_es_aeat_mod340 |
1689 | @@ -290,13 +385,22 @@ | |||
1690 | 290 | msgstr "" | 385 | msgstr "" |
1691 | 291 | 386 | ||
1692 | 292 | #. module: l10n_es_aeat_mod340 | 387 | #. module: l10n_es_aeat_mod340 |
1700 | 293 | #: selection:l10n.es.aeat.mod340,period:0 | 388 | #: report:report mod340:0 |
1701 | 294 | msgid "September" | 389 | #: report:report_mod340:0 |
1702 | 295 | msgstr "" | 390 | msgid "MODELO AEAT 340" |
1703 | 296 | 391 | msgstr "" | |
1704 | 297 | #. module: l10n_es_aeat_mod340 | 392 | |
1705 | 298 | #: selection:l10n.es.aeat.mod340,period:0 | 393 | #. module: l10n_es_aeat_mod340 |
1706 | 299 | msgid "December" | 394 | #: code:addons/l10n_es_aeat_mod340/account.py:95 |
1707 | 395 | #, python-format | ||
1708 | 396 | msgid "The sign field is different.\n" | ||
1709 | 397 | "" | ||
1710 | 398 | msgstr "" | ||
1711 | 399 | |||
1712 | 400 | #. module: l10n_es_aeat_mod340 | ||
1713 | 401 | #: view:l10n.es.aeat.mod340.issued:0 | ||
1714 | 402 | #: view:l10n.es.aeat.mod340.received:0 | ||
1715 | 403 | msgid "Total Tax" | ||
1716 | 300 | msgstr "" | 404 | msgstr "" |
1717 | 301 | 405 | ||
1718 | 302 | #. module: l10n_es_aeat_mod340 | 406 | #. module: l10n_es_aeat_mod340 |
1719 | @@ -310,13 +414,25 @@ | |||
1720 | 310 | msgstr "" | 414 | msgstr "" |
1721 | 311 | 415 | ||
1722 | 312 | #. module: l10n_es_aeat_mod340 | 416 | #. module: l10n_es_aeat_mod340 |
1730 | 313 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_tax_line_issued | 417 | #: report:report mod340:0 |
1731 | 314 | msgid "Mod340 vat lines issued" | 418 | #: report:report_mod340:0 |
1732 | 315 | msgstr "" | 419 | msgid "Tipo de declaración" |
1733 | 316 | 420 | msgstr "" | |
1734 | 317 | #. module: l10n_es_aeat_mod340 | 421 | |
1735 | 318 | #: field:l10n.es.aeat.mod340,total_taxable:0 | 422 | #. module: l10n_es_aeat_mod340 |
1736 | 319 | msgid "Total Taxable" | 423 | #: field:l10n.es.aeat.mod340,calculation_date:0 |
1737 | 424 | msgid "Calculation date" | ||
1738 | 425 | msgstr "" | ||
1739 | 426 | |||
1740 | 427 | #. module: l10n_es_aeat_mod340 | ||
1741 | 428 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.report_vat_book_action | ||
1742 | 429 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod340.vat_book | ||
1743 | 430 | msgid "Vat Book" | ||
1744 | 431 | msgstr "" | ||
1745 | 432 | |||
1746 | 433 | #. module: l10n_es_aeat_mod340 | ||
1747 | 434 | #: field:account.invoice,number_tickets:0 | ||
1748 | 435 | msgid "Number of tickets" | ||
1749 | 320 | msgstr "" | 436 | msgstr "" |
1750 | 321 | 437 | ||
1751 | 322 | #. module: l10n_es_aeat_mod340 | 438 | #. module: l10n_es_aeat_mod340 |
1752 | @@ -325,8 +441,10 @@ | |||
1753 | 325 | msgstr "" | 441 | msgstr "" |
1754 | 326 | 442 | ||
1755 | 327 | #. module: l10n_es_aeat_mod340 | 443 | #. module: l10n_es_aeat_mod340 |
1758 | 328 | #: field:l10n.es.aeat.mod340,total_sharetax:0 | 444 | #: code:addons/l10n_es_aeat_mod340/account.py:182 |
1759 | 329 | msgid "Total Share Tax" | 445 | #, python-format |
1760 | 446 | msgid "Tax code %s: The parent tax code %s can not be set.\n" | ||
1761 | 447 | "" | ||
1762 | 330 | msgstr "" | 448 | msgstr "" |
1763 | 331 | 449 | ||
1764 | 332 | #. module: l10n_es_aeat_mod340 | 450 | #. module: l10n_es_aeat_mod340 |
1765 | @@ -335,19 +453,17 @@ | |||
1766 | 335 | msgstr "" | 453 | msgstr "" |
1767 | 336 | 454 | ||
1768 | 337 | #. module: l10n_es_aeat_mod340 | 455 | #. module: l10n_es_aeat_mod340 |
1782 | 338 | #: code:addons/l10n_es_aeat_mod340/mod340.py:65 | 456 | #: report:report mod340:0 |
1783 | 339 | #, python-format | 457 | #: report:vat_book:0 |
1784 | 340 | msgid "No disponible:" | 458 | msgid "Fecha" |
1785 | 341 | msgstr "" | 459 | msgstr "" |
1786 | 342 | 460 | ||
1787 | 343 | #. module: l10n_es_aeat_mod340 | 461 | #. module: l10n_es_aeat_mod340 |
1788 | 344 | #: code:addons/l10n_es_aeat_mod340/mod340.py:156 | 462 | #: view:l10n.es.aeat.mod340:0 |
1789 | 345 | #, python-format | 463 | msgid "In process" |
1790 | 346 | msgid "All partner state code field must be filled." | 464 | msgstr "" |
1791 | 347 | msgstr "" | 465 | |
1792 | 348 | 466 | #. module: l10n_es_aeat_mod340 | |
1780 | 349 | #. module: l10n_es_aeat_mod340 | ||
1781 | 350 | #: model:ir.actions.act_window,name:l10n_es_aeat_mod340.action_account_mod340 | ||
1793 | 351 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340 | 467 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340 |
1794 | 352 | #: view:l10n.es.aeat.mod340:0 | 468 | #: view:l10n.es.aeat.mod340:0 |
1795 | 353 | #: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0 | 469 | #: field:l10n.es.aeat.mod340.intracomunitarias,mod340_id:0 |
1796 | @@ -369,22 +485,20 @@ | |||
1797 | 369 | msgstr "" | 485 | msgstr "" |
1798 | 370 | 486 | ||
1799 | 371 | #. module: l10n_es_aeat_mod340 | 487 | #. module: l10n_es_aeat_mod340 |
1816 | 372 | #: code:addons/l10n_es_aeat_mod340/mod340.py:158 | 488 | #: view:l10n.es.aeat.mod340.issued:0 |
1817 | 373 | #, python-format | 489 | #: view:l10n.es.aeat.mod340.received:0 |
1818 | 374 | msgid "All partner vat number field must be filled." | 490 | msgid "Total Base" |
1819 | 375 | msgstr "" | 491 | msgstr "" |
1820 | 376 | 492 | ||
1821 | 377 | #. module: l10n_es_aeat_mod340 | 493 | #. module: l10n_es_aeat_mod340 |
1822 | 378 | #: field:l10n.es.aeat.mod340.intracomunitarias,total:0 | 494 | #: report:report mod340:0 |
1823 | 379 | #: field:l10n.es.aeat.mod340.investment,total:0 | 495 | #: report:report_mod340:0 |
1824 | 380 | #: field:l10n.es.aeat.mod340.issued,total:0 | 496 | msgid "Número de la declaración anterior:" |
1825 | 381 | #: field:l10n.es.aeat.mod340.received,total:0 | 497 | msgstr "" |
1826 | 382 | msgid "total" | 498 | |
1827 | 383 | msgstr "" | 499 | #. module: l10n_es_aeat_mod340 |
1828 | 384 | 500 | #: field:account.invoice,first_ticket:0 | |
1829 | 385 | #. module: l10n_es_aeat_mod340 | 501 | msgid "First ticket" |
1814 | 386 | #: selection:l10n.es.aeat.mod340,period:0 | ||
1815 | 387 | msgid "August" | ||
1830 | 388 | msgstr "" | 502 | msgstr "" |
1831 | 389 | 503 | ||
1832 | 390 | #. module: l10n_es_aeat_mod340 | 504 | #. module: l10n_es_aeat_mod340 |
1833 | @@ -393,33 +507,34 @@ | |||
1834 | 393 | msgstr "" | 507 | msgstr "" |
1835 | 394 | 508 | ||
1836 | 395 | #. module: l10n_es_aeat_mod340 | 509 | #. module: l10n_es_aeat_mod340 |
1837 | 510 | #: help:account.invoice,is_ticket_summary:0 | ||
1838 | 511 | msgid "Check if this invoice is a ticket summary" | ||
1839 | 512 | msgstr "" | ||
1840 | 513 | |||
1841 | 514 | #. module: l10n_es_aeat_mod340 | ||
1842 | 396 | #: selection:l10n.es.aeat.mod340,state:0 | 515 | #: selection:l10n.es.aeat.mod340,state:0 |
1843 | 397 | msgid "Processing" | 516 | msgid "Processing" |
1844 | 398 | msgstr "" | 517 | msgstr "" |
1845 | 399 | 518 | ||
1846 | 400 | #. module: l10n_es_aeat_mod340 | 519 | #. module: l10n_es_aeat_mod340 |
1847 | 401 | #: selection:l10n.es.aeat.mod340,period:0 | ||
1848 | 402 | msgid "June" | ||
1849 | 403 | msgstr "" | ||
1850 | 404 | |||
1851 | 405 | #. module: l10n_es_aeat_mod340 | ||
1852 | 406 | #: field:l10n.es.aeat.mod340,contact_phone:0 | 520 | #: field:l10n.es.aeat.mod340,contact_phone:0 |
1853 | 407 | msgid "Phone" | 521 | msgid "Phone" |
1854 | 408 | msgstr "" | 522 | msgstr "" |
1855 | 409 | 523 | ||
1856 | 410 | #. module: l10n_es_aeat_mod340 | 524 | #. module: l10n_es_aeat_mod340 |
1869 | 411 | #: selection:l10n.es.aeat.mod340,period:0 | 525 | #: field:account.invoice,last_ticket:0 |
1870 | 412 | msgid "November" | 526 | msgid "Last ticket" |
1871 | 413 | msgstr "" | 527 | msgstr "" |
1872 | 414 | 528 | ||
1873 | 415 | #. module: l10n_es_aeat_mod340 | 529 | #. module: l10n_es_aeat_mod340 |
1874 | 416 | #: selection:l10n.es.aeat.mod340,period:0 | 530 | #: field:account.invoice,is_ticket_summary:0 |
1875 | 417 | msgid "October" | 531 | msgid "Ticket Summary" |
1876 | 418 | msgstr "" | 532 | msgstr "" |
1877 | 419 | 533 | ||
1878 | 420 | #. module: l10n_es_aeat_mod340 | 534 | #. module: l10n_es_aeat_mod340 |
1879 | 421 | #: selection:l10n.es.aeat.mod340,period:0 | 535 | #: report:report mod340:0 |
1880 | 422 | msgid "January" | 536 | #: report:vat_book:0 |
1881 | 537 | msgid "Ejercicio fiscal:" | ||
1882 | 423 | msgstr "" | 538 | msgstr "" |
1883 | 424 | 539 | ||
1884 | 425 | #. module: l10n_es_aeat_mod340 | 540 | #. module: l10n_es_aeat_mod340 |
1885 | @@ -441,8 +556,8 @@ | |||
1886 | 441 | msgstr "" | 556 | msgstr "" |
1887 | 442 | 557 | ||
1888 | 443 | #. module: l10n_es_aeat_mod340 | 558 | #. module: l10n_es_aeat_mod340 |
1891 | 444 | #: selection:l10n.es.aeat.mod340,state:0 | 559 | #: view:l10n.es.aeat.mod340:0 |
1892 | 445 | msgid "Processed" | 560 | msgid "AEAT Modelo 340" |
1893 | 446 | msgstr "" | 561 | msgstr "" |
1894 | 447 | 562 | ||
1895 | 448 | #. module: l10n_es_aeat_mod340 | 563 | #. module: l10n_es_aeat_mod340 |
1896 | @@ -451,6 +566,12 @@ | |||
1897 | 451 | msgstr "" | 566 | msgstr "" |
1898 | 452 | 567 | ||
1899 | 453 | #. module: l10n_es_aeat_mod340 | 568 | #. module: l10n_es_aeat_mod340 |
1900 | 569 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:74 | ||
1901 | 570 | #, python-format | ||
1902 | 571 | msgid "Error" | ||
1903 | 572 | msgstr "" | ||
1904 | 573 | |||
1905 | 574 | #. module: l10n_es_aeat_mod340 | ||
1906 | 454 | #: field:l10n.es.aeat.mod340,representative_vat:0 | 575 | #: field:l10n.es.aeat.mod340,representative_vat:0 |
1907 | 455 | #: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 | 576 | #: field:l10n.es.aeat.mod340.intracomunitarias,representative_vat:0 |
1908 | 456 | #: field:l10n.es.aeat.mod340.investment,representative_vat:0 | 577 | #: field:l10n.es.aeat.mod340.investment,representative_vat:0 |
1909 | @@ -470,6 +591,12 @@ | |||
1910 | 470 | msgstr "" | 591 | msgstr "" |
1911 | 471 | 592 | ||
1912 | 472 | #. module: l10n_es_aeat_mod340 | 593 | #. module: l10n_es_aeat_mod340 |
1913 | 594 | #: report:report mod340:0 | ||
1914 | 595 | #: report:vat_book:0 | ||
1915 | 596 | msgid "Base imponible" | ||
1916 | 597 | msgstr "" | ||
1917 | 598 | |||
1918 | 599 | #. module: l10n_es_aeat_mod340 | ||
1919 | 473 | #: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0 | 600 | #: field:l10n.es.aeat.mod340.tax_line_received,invoice_record_id:0 |
1920 | 474 | msgid "Invoice received" | 601 | msgid "Invoice received" |
1921 | 475 | msgstr "" | 602 | msgstr "" |
1922 | @@ -480,17 +607,17 @@ | |||
1923 | 480 | msgstr "" | 607 | msgstr "" |
1924 | 481 | 608 | ||
1925 | 482 | #. module: l10n_es_aeat_mod340 | 609 | #. module: l10n_es_aeat_mod340 |
1926 | 483 | #: field:l10n.es.aeat.mod340,period:0 | ||
1927 | 484 | msgid "Period" | ||
1928 | 485 | msgstr "" | ||
1929 | 486 | |||
1930 | 487 | #. module: l10n_es_aeat_mod340 | ||
1931 | 488 | #: view:l10n.es.aeat.mod340:0 | 610 | #: view:l10n.es.aeat.mod340:0 |
1932 | 489 | msgid "General" | 611 | msgid "General" |
1933 | 490 | msgstr "" | 612 | msgstr "" |
1934 | 491 | 613 | ||
1935 | 492 | #. module: l10n_es_aeat_mod340 | 614 | #. module: l10n_es_aeat_mod340 |
1936 | 493 | #: view:l10n.es.aeat.mod340:0 | 615 | #: view:l10n.es.aeat.mod340:0 |
1937 | 616 | msgid "In process models" | ||
1938 | 617 | msgstr "" | ||
1939 | 618 | |||
1940 | 619 | #. module: l10n_es_aeat_mod340 | ||
1941 | 620 | #: view:l10n.es.aeat.mod340:0 | ||
1942 | 494 | #: selection:l10n.es.aeat.mod340,state:0 | 621 | #: selection:l10n.es.aeat.mod340,state:0 |
1943 | 495 | msgid "Done" | 622 | msgid "Done" |
1944 | 496 | msgstr "" | 623 | msgstr "" |
1945 | @@ -501,6 +628,7 @@ | |||
1946 | 501 | msgstr "" | 628 | msgstr "" |
1947 | 502 | 629 | ||
1948 | 503 | #. module: l10n_es_aeat_mod340 | 630 | #. module: l10n_es_aeat_mod340 |
1949 | 631 | #: model:ir.model,name:l10n_es_aeat_mod340.model_account_invoice | ||
1950 | 504 | #: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0 | 632 | #: field:l10n.es.aeat.mod340.intracomunitarias,invoice_id:0 |
1951 | 505 | #: field:l10n.es.aeat.mod340.investment,invoice_id:0 | 633 | #: field:l10n.es.aeat.mod340.investment,invoice_id:0 |
1952 | 506 | #: field:l10n.es.aeat.mod340.issued,invoice_id:0 | 634 | #: field:l10n.es.aeat.mod340.issued,invoice_id:0 |
1953 | @@ -519,8 +647,9 @@ | |||
1954 | 519 | msgstr "" | 647 | msgstr "" |
1955 | 520 | 648 | ||
1956 | 521 | #. module: l10n_es_aeat_mod340 | 649 | #. module: l10n_es_aeat_mod340 |
1959 | 522 | #: selection:l10n.es.aeat.mod340,period:0 | 650 | #: report:report mod340:0 |
1960 | 523 | msgid "Fourth quarter" | 651 | #: report:report_mod340:0 |
1961 | 652 | msgid "Código electrónico autoliquidación IVA:" | ||
1962 | 524 | msgstr "" | 653 | msgstr "" |
1963 | 525 | 654 | ||
1964 | 526 | #. module: l10n_es_aeat_mod340 | 655 | #. module: l10n_es_aeat_mod340 |
1965 | @@ -529,6 +658,7 @@ | |||
1966 | 529 | msgstr "" | 658 | msgstr "" |
1967 | 530 | 659 | ||
1968 | 531 | #. module: l10n_es_aeat_mod340 | 660 | #. module: l10n_es_aeat_mod340 |
1969 | 661 | #: view:account.invoice:0 | ||
1970 | 532 | #: view:l10n.es.aeat.mod340:0 | 662 | #: view:l10n.es.aeat.mod340:0 |
1971 | 533 | msgid "AEAT 340" | 663 | msgid "AEAT 340" |
1972 | 534 | msgstr "" | 664 | msgstr "" |
1973 | @@ -555,8 +685,9 @@ | |||
1974 | 555 | msgstr "" | 685 | msgstr "" |
1975 | 556 | 686 | ||
1976 | 557 | #. module: l10n_es_aeat_mod340 | 687 | #. module: l10n_es_aeat_mod340 |
1979 | 558 | #: selection:l10n.es.aeat.mod340,period:0 | 688 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:178 |
1980 | 559 | msgid "May" | 689 | #, python-format |
1981 | 690 | msgid "Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f" | ||
1982 | 560 | msgstr "" | 691 | msgstr "" |
1983 | 561 | 692 | ||
1984 | 562 | #. module: l10n_es_aeat_mod340 | 693 | #. module: l10n_es_aeat_mod340 |
1985 | @@ -573,6 +704,12 @@ | |||
1986 | 573 | msgstr "" | 704 | msgstr "" |
1987 | 574 | 705 | ||
1988 | 575 | #. module: l10n_es_aeat_mod340 | 706 | #. module: l10n_es_aeat_mod340 |
1989 | 707 | #: report:report mod340:0 | ||
1990 | 708 | #: report:vat_book:0 | ||
1991 | 709 | msgid "Número de factura" | ||
1992 | 710 | msgstr "" | ||
1993 | 711 | |||
1994 | 712 | #. module: l10n_es_aeat_mod340 | ||
1995 | 576 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0 | 713 | #: field:l10n.es.aeat.mod340.intracomunitarias,partner_vat:0 |
1996 | 577 | #: field:l10n.es.aeat.mod340.investment,partner_vat:0 | 714 | #: field:l10n.es.aeat.mod340.investment,partner_vat:0 |
1997 | 578 | #: field:l10n.es.aeat.mod340.issued,partner_vat:0 | 715 | #: field:l10n.es.aeat.mod340.issued,partner_vat:0 |
1998 | @@ -602,8 +739,9 @@ | |||
1999 | 602 | msgstr "" | 739 | msgstr "" |
2000 | 603 | 740 | ||
2001 | 604 | #. module: l10n_es_aeat_mod340 | 741 | #. module: l10n_es_aeat_mod340 |
2004 | 605 | #: selection:l10n.es.aeat.mod340,period:0 | 742 | #: report:report mod340:0 |
2005 | 606 | msgid "February" | 743 | #: report:report_mod340:0 |
2006 | 744 | msgid "Número:" | ||
2007 | 607 | msgstr "" | 745 | msgstr "" |
2008 | 608 | 746 | ||
2009 | 609 | #. module: l10n_es_aeat_mod340 | 747 | #. module: l10n_es_aeat_mod340 |
2010 | @@ -619,8 +757,19 @@ | |||
2011 | 619 | msgstr "" | 757 | msgstr "" |
2012 | 620 | 758 | ||
2013 | 621 | #. module: l10n_es_aeat_mod340 | 759 | #. module: l10n_es_aeat_mod340 |
2016 | 622 | #: selection:l10n.es.aeat.mod340,period:0 | 760 | #: report:report mod340:0 |
2017 | 623 | msgid "April" | 761 | #: report:report_mod340:0 |
2018 | 762 | msgid "Tipo de soporte:" | ||
2019 | 763 | msgstr "" | ||
2020 | 764 | |||
2021 | 765 | #. module: l10n_es_aeat_mod340 | ||
2022 | 766 | #: field:l10n.es.aeat.mod340,attach_id:0 | ||
2023 | 767 | msgid "BOE file" | ||
2024 | 768 | msgstr "" | ||
2025 | 769 | |||
2026 | 770 | #. module: l10n_es_aeat_mod340 | ||
2027 | 771 | #: view:l10n.es.aeat.mod340:0 | ||
2028 | 772 | msgid "Draft models" | ||
2029 | 624 | msgstr "" | 773 | msgstr "" |
2030 | 625 | 774 | ||
2031 | 626 | #. module: l10n_es_aeat_mod340 | 775 | #. module: l10n_es_aeat_mod340 |
2032 | @@ -630,12 +779,25 @@ | |||
2033 | 630 | msgstr "" | 779 | msgstr "" |
2034 | 631 | 780 | ||
2035 | 632 | #. module: l10n_es_aeat_mod340 | 781 | #. module: l10n_es_aeat_mod340 |
2036 | 782 | #: report:report mod340:0 | ||
2037 | 783 | #: report:vat_book:0 | ||
2038 | 784 | msgid "CIF/NIF" | ||
2039 | 785 | msgstr "" | ||
2040 | 786 | |||
2041 | 787 | #. module: l10n_es_aeat_mod340 | ||
2042 | 633 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received | 788 | #: model:ir.model,name:l10n_es_aeat_mod340.model_l10n_es_aeat_mod340_received |
2043 | 634 | #: field:l10n.es.aeat.mod340,received:0 | 789 | #: field:l10n.es.aeat.mod340,received:0 |
2044 | 635 | msgid "Invoices Received" | 790 | msgid "Invoices Received" |
2045 | 636 | msgstr "" | 791 | msgstr "" |
2046 | 637 | 792 | ||
2047 | 638 | #. module: l10n_es_aeat_mod340 | 793 | #. module: l10n_es_aeat_mod340 |
2048 | 794 | #: code:addons/l10n_es_aeat_mod340/account.py:92 | ||
2049 | 795 | #, python-format | ||
2050 | 796 | msgid "The info field is different.\n" | ||
2051 | 797 | "" | ||
2052 | 798 | msgstr "" | ||
2053 | 799 | |||
2054 | 800 | #. module: l10n_es_aeat_mod340 | ||
2055 | 639 | #: selection:l10n.es.aeat.mod340,support_type:0 | 801 | #: selection:l10n.es.aeat.mod340,support_type:0 |
2056 | 640 | msgid "Telematics" | 802 | msgid "Telematics" |
2057 | 641 | msgstr "" | 803 | msgstr "" |
2058 | @@ -646,8 +808,9 @@ | |||
2059 | 646 | msgstr "" | 808 | msgstr "" |
2060 | 647 | 809 | ||
2061 | 648 | #. module: l10n_es_aeat_mod340 | 810 | #. module: l10n_es_aeat_mod340 |
2064 | 649 | #: selection:l10n.es.aeat.mod340,period:0 | 811 | #: report:report mod340:0 |
2065 | 650 | msgid "Second quarter" | 812 | #: report:vat_book:0 |
2066 | 813 | msgid "Empresa" | ||
2067 | 651 | msgstr "" | 814 | msgstr "" |
2068 | 652 | 815 | ||
2069 | 653 | #. module: l10n_es_aeat_mod340 | 816 | #. module: l10n_es_aeat_mod340 |
2070 | @@ -656,43 +819,48 @@ | |||
2071 | 656 | msgstr "" | 819 | msgstr "" |
2072 | 657 | 820 | ||
2073 | 658 | #. module: l10n_es_aeat_mod340 | 821 | #. module: l10n_es_aeat_mod340 |
2078 | 659 | #: field:l10n.es.aeat.mod340.intracomunitarias,tax_line_ids:0 | 822 | #: model:ir.model,name:l10n_es_aeat_mod340.model_wizard_update_charts_accounts |
2079 | 660 | #: field:l10n.es.aeat.mod340.investment,tax_line_ids:0 | 823 | msgid "wizard.update.charts.accounts" |
2080 | 661 | #: field:l10n.es.aeat.mod340.issued,tax_line_ids:0 | 824 | msgstr "" |
2081 | 662 | msgid "tax lines" | 825 | |
2082 | 826 | #. module: l10n_es_aeat_mod340 | ||
2083 | 827 | #: report:report mod340:0 | ||
2084 | 828 | #: report:vat_book:0 | ||
2085 | 829 | msgid "Total factura" | ||
2086 | 830 | msgstr "" | ||
2087 | 831 | |||
2088 | 832 | #. module: l10n_es_aeat_mod340 | ||
2089 | 833 | #: report:report mod340:0 | ||
2090 | 834 | #: report:vat_book:0 | ||
2091 | 835 | msgid "FACTURAS DE ENTRADA" | ||
2092 | 663 | msgstr "" | 836 | msgstr "" |
2093 | 664 | 837 | ||
2094 | 665 | #. module: l10n_es_aeat_mod340 | 838 | #. module: l10n_es_aeat_mod340 |
2095 | 666 | #: field:l10n.es.aeat.mod340,total:0 | 839 | #: field:l10n.es.aeat.mod340,total:0 |
2096 | 840 | #: field:l10n.es.aeat.mod340.intracomunitarias,total:0 | ||
2097 | 841 | #: field:l10n.es.aeat.mod340.investment,total:0 | ||
2098 | 842 | #: view:l10n.es.aeat.mod340.issued:0 | ||
2099 | 843 | #: field:l10n.es.aeat.mod340.issued,total:0 | ||
2100 | 844 | #: view:l10n.es.aeat.mod340.received:0 | ||
2101 | 845 | #: field:l10n.es.aeat.mod340.received,total:0 | ||
2102 | 667 | msgid "Total" | 846 | msgid "Total" |
2103 | 668 | msgstr "" | 847 | msgstr "" |
2104 | 669 | 848 | ||
2105 | 670 | #. module: l10n_es_aeat_mod340 | 849 | #. module: l10n_es_aeat_mod340 |
2133 | 671 | #: field:account.invoice,number_tickets:0 | 850 | #: model:ir.model,name:l10n_es_aeat_mod340.model_account_tax_code_template |
2134 | 672 | msgid "Number of tickets" | 851 | msgid "Tax Code Template" |
2135 | 673 | msgstr "" | 852 | msgstr "" |
2136 | 674 | 853 | ||
2137 | 675 | #. module: l10n_es_aeat_mod340 | 854 | #. module: l10n_es_aeat_mod340 |
2138 | 676 | #: field:account.invoice,first_ticket:0 | 855 | #: code:addons/l10n_es_aeat_mod340/wizard/calculate_mod340_records.py:109 |
2139 | 677 | msgid "First ticket" | 856 | #, python-format |
2140 | 678 | msgstr "" | 857 | msgid "La siguiente empresa no tiene asignado nif:" |
2141 | 679 | 858 | msgstr "" | |
2142 | 680 | #. module: l10n_es_aeat_mod340 | 859 | |
2143 | 681 | #: help:account.invoice,is_ticket_summary:0 | 860 | #. module: l10n_es_aeat_mod340 |
2144 | 682 | msgid "Check if this invoice is a ticket summary" | 861 | #: field:l10n.es.aeat.mod340.intracomunitarias,date_invoice:0 |
2145 | 683 | msgstr "" | 862 | #: field:l10n.es.aeat.mod340.investment,date_invoice:0 |
2146 | 684 | 863 | #: field:l10n.es.aeat.mod340.issued,date_invoice:0 | |
2147 | 685 | #. module: l10n_es_aeat_mod340 | 864 | #: field:l10n.es.aeat.mod340.received,date_invoice:0 |
2148 | 686 | #: field:account.invoice,last_ticket:0 | 865 | msgid "Date Invoice" |
2122 | 687 | msgid "Last ticket" | ||
2123 | 688 | msgstr "" | ||
2124 | 689 | |||
2125 | 690 | #. module: l10n_es_aeat_mod340 | ||
2126 | 691 | #: field:account.invoice,is_ticket_summary:0 | ||
2127 | 692 | msgid "Ticket Summary" | ||
2128 | 693 | msgstr "" | ||
2129 | 694 | |||
2130 | 695 | #. module: account | ||
2131 | 696 | #: view:account.invoice:0 | ||
2132 | 697 | msgid "Tickets" | ||
2149 | 698 | msgstr "" | 866 | msgstr "" |
2150 | 699 | \ No newline at end of file | 867 | \ No newline at end of file |
2151 | 700 | 868 | ||
2152 | === modified file 'l10n_es_aeat_mod340/mod340.py' | |||
2153 | --- l10n_es_aeat_mod340/mod340.py 2013-11-15 03:13:35 +0000 | |||
2154 | +++ l10n_es_aeat_mod340/mod340.py 2014-02-03 11:19:23 +0000 | |||
2155 | @@ -3,7 +3,7 @@ | |||
2156 | 3 | # | 3 | # |
2157 | 4 | # OpenERP, Open Source Management Solution | 4 | # OpenERP, Open Source Management Solution |
2158 | 5 | # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. | 5 | # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. |
2160 | 6 | # Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved | 6 | # Copyright (c) 2011-2013 Acysos S.L.(http://acysos.com) All Rights Reserved |
2161 | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> |
2162 | 8 | # Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L. | 8 | # Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L. |
2163 | 9 | # http://www.NaN-tic.com | 9 | # http://www.NaN-tic.com |
2164 | @@ -11,8 +11,8 @@ | |||
2165 | 11 | # $Id$ | 11 | # $Id$ |
2166 | 12 | # | 12 | # |
2167 | 13 | # This program is free software: you can redistribute it and/or modify | 13 | # This program is free software: you can redistribute it and/or modify |
2170 | 14 | # it under the terms of the GNU Affero General Public License as published by | 14 | # it under the terms of the GNU Affero General Public License as published |
2171 | 15 | # the Free Software Foundation, either version 3 of the License, or | 15 | # by the Free Software Foundation, either version 3 of the License, or |
2172 | 16 | # (at your option) any later version. | 16 | # (at your option) any later version. |
2173 | 17 | # | 17 | # |
2174 | 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, |
2175 | @@ -34,9 +34,6 @@ | |||
2176 | 34 | from tools.translate import _ | 34 | from tools.translate import _ |
2177 | 35 | import pooler | 35 | import pooler |
2178 | 36 | 36 | ||
2179 | 37 | |||
2180 | 38 | |||
2181 | 39 | |||
2182 | 40 | class l10n_es_aeat_mod340(osv.osv): | 37 | class l10n_es_aeat_mod340(osv.osv): |
2183 | 41 | 38 | ||
2184 | 42 | def button_calculate(self, cr, uid, ids, args, context=None): | 39 | def button_calculate(self, cr, uid, ids, args, context=None): |
2185 | @@ -47,7 +44,6 @@ | |||
2186 | 47 | calculate_obj = self.pool.get('l10n.es.aeat.mod340.calculate_records') | 44 | calculate_obj = self.pool.get('l10n.es.aeat.mod340.calculate_records') |
2187 | 48 | calculate_obj._wkf_calculate_records(cr, uid, ids, context) | 45 | calculate_obj._wkf_calculate_records(cr, uid, ids, context) |
2188 | 49 | 46 | ||
2189 | 50 | |||
2190 | 51 | return True | 47 | return True |
2191 | 52 | 48 | ||
2192 | 53 | def button_recalculate(self, cr, uid, ids, context=None): | 49 | def button_recalculate(self, cr, uid, ids, context=None): |
2193 | @@ -60,15 +56,13 @@ | |||
2194 | 60 | return True | 56 | return True |
2195 | 61 | 57 | ||
2196 | 62 | def button_export(self, cr, uid, ids, context=None): | 58 | def button_export(self, cr, uid, ids, context=None): |
2197 | 63 | #FUNCION CALCADA DEL MODELO 347, inoperativa de momento | ||
2198 | 64 | |||
2199 | 65 | #raise osv.except_osv(_('No disponible:'), _('En desarrollo')) | ||
2200 | 66 | 59 | ||
2201 | 67 | if context is None: | 60 | if context is None: |
2202 | 68 | context = {} | 61 | context = {} |
2203 | 69 | 62 | ||
2204 | 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") |
2206 | 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]) |
2207 | 65 | export_obj._export_boe_file(cr, uid, ids, report) | ||
2208 | 72 | 66 | ||
2209 | 73 | return True | 67 | return True |
2210 | 74 | 68 | ||
2211 | @@ -85,91 +79,83 @@ | |||
2212 | 85 | 79 | ||
2213 | 86 | result = {} | 80 | result = {} |
2214 | 87 | for id in ids: | 81 | for id in ids: |
2216 | 88 | result[id] = {}.fromkeys(['number_records','total_taxable','total_sharetax','total'], 0.0) | 82 | result[id] = {}.fromkeys( |
2217 | 83 | ['number_records','total_taxable','total_sharetax','total'], | ||
2218 | 84 | 0.0) | ||
2219 | 89 | 85 | ||
2220 | 90 | for model in self.browse(cr, uid, ids,context): | 86 | for model in self.browse(cr, uid, ids,context): |
2221 | 91 | 87 | ||
2222 | 92 | for issue in model.issued: | 88 | for issue in model.issued: |
2227 | 93 | result[model.id]['number_records'] += len( issue.tax_line_ids ) | 89 | result[model.id]['number_records'] += len( issue.tax_line_ids ) |
2228 | 94 | result[model.id]['total_taxable'] +=issue.base_tax | 90 | result[model.id]['total_taxable'] +=issue.base_tax |
2229 | 95 | result[model.id]['total_sharetax'] +=issue.amount_tax | 91 | result[model.id]['total_sharetax'] +=issue.amount_tax |
2230 | 96 | result[model.id]['total'] +=issue.base_tax + issue.amount_tax | 92 | result[model.id]['total'] +=issue.base_tax + issue.amount_tax |
2231 | 97 | 93 | ||
2232 | 98 | for issue in model.received: | 94 | for issue in model.received: |
2237 | 99 | result[model.id]['number_records'] += len( issue.tax_line_ids ) | 95 | result[model.id]['number_records'] += len( issue.tax_line_ids ) |
2238 | 100 | result[model.id]['total_taxable'] +=issue.base_tax | 96 | result[model.id]['total_taxable'] +=issue.base_tax |
2239 | 101 | result[model.id]['total_sharetax'] +=issue.amount_tax | 97 | result[model.id]['total_sharetax'] +=issue.amount_tax |
2240 | 102 | result[model.id]['total'] +=issue.base_tax + issue.amount_tax | 98 | result[model.id]['total'] +=issue.base_tax + issue.amount_tax |
2241 | 103 | 99 | ||
2242 | 104 | return result | 100 | return result |
2243 | 105 | 101 | ||
2244 | 106 | |||
2245 | 107 | |||
2246 | 108 | _inherit = "l10n.es.aeat.report" | 102 | _inherit = "l10n.es.aeat.report" |
2247 | 109 | _name = 'l10n.es.aeat.mod340' | 103 | _name = 'l10n.es.aeat.mod340' |
2248 | 110 | _description = 'Model 340' | 104 | _description = 'Model 340' |
2249 | 111 | _columns = { | 105 | _columns = { |
2251 | 112 | 'name': fields.function(_name_get, method=True, type="char", size="64", string="Name"), | 106 | 'name': fields.function(_name_get, method=True, type="char", |
2252 | 107 | size="64", string="Name"), | ||
2253 | 113 | 'contact_phone': fields.char("Phone", size=9), | 108 | 'contact_phone': fields.char("Phone", size=9), |
2254 | 114 | 'phone_contact' : fields.char('Phone Contact',size=9), | 109 | 'phone_contact' : fields.char('Phone Contact',size=9), |
2255 | 115 | 'name_contact' : fields.char('Name And Surname Contact',size=40), | 110 | 'name_contact' : fields.char('Name And Surname Contact',size=40), |
2267 | 116 | 'period': fields.selection([ | 111 | 'period_from': fields.many2one('account.period', 'Start period', |
2268 | 117 | ('1T','First quarter'),('2T','Second quarter'),('3T','Third quarter'), | 112 | states={'done': [('readonly', True)]}), |
2269 | 118 | ('4T','Fourth quarter'),('01','January'),('02','February'),('03','March'),('04','April'), | 113 | 'period_to': fields.many2one('account.period', 'End period', |
2270 | 119 | ('05','May'),('06','June'),('07','July'),('08','August'),('09','September'),('10','October'), | 114 | states={'done': [('readonly', True)]}), |
2271 | 120 | ('11','November'),('12','December') | 115 | 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id', |
2272 | 121 | ], 'Period'), | 116 | 'Invoices Issued', |
2273 | 122 | 'issued': fields.one2many('l10n.es.aeat.mod340.issued','mod340_id','Invoices Issued'), | 117 | states={'done': [('readonly', True)]}), |
2274 | 123 | 'received': fields.one2many('l10n.es.aeat.mod340.received','mod340_id','Invoices Received'), | 118 | 'received': fields.one2many('l10n.es.aeat.mod340.received', |
2275 | 124 | 'investment': fields.one2many( | 119 | 'mod340_id','Invoices Received', |
2276 | 125 | 'l10n.es.aeat.mod340.investment','mod340_id','Property Investment'), | 120 | states={'done': [('readonly', True)]}), |
2277 | 126 | 'intracomunitarias': fields.one2many('l10n.es.aeat.mod340.intracomunitarias','mod340_id','Operations Intracomunitarias'), | 121 | 'investment': fields.one2many('l10n.es.aeat.mod340.investment', |
2278 | 122 | 'mod340_id','Property Investment'), | ||
2279 | 123 | 'intracomunitarias': fields.one2many( | ||
2280 | 124 | 'l10n.es.aeat.mod340.intracomunitarias', | ||
2281 | 125 | 'mod340_id','Operations Intracomunitarias'), | ||
2282 | 127 | 126 | ||
2283 | 128 | 'ean13': fields.char('Electronic Code VAT reverse charge', size=16), | 127 | 'ean13': fields.char('Electronic Code VAT reverse charge', size=16), |
2284 | 129 | 128 | ||
2289 | 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, |
2290 | 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', |
2291 | 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 |
2292 | 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"""), |
2293 | 133 | 'total_sharetax': fields.function(_get_number_records, method=True, | ||
2294 | 134 | type='float', string='Total Share Tax', multi='recalc', | ||
2295 | 135 | help="""The declaration will include partners with the total | ||
2296 | 136 | of operations over this limit"""), | ||
2297 | 137 | 'number_records': fields.function(_get_number_records, method=True, | ||
2298 | 138 | type='integer', string='Records', multi='recalc', | ||
2299 | 139 | help="""The declaration will include partners with the total | ||
2300 | 140 | of operations over this limit"""), | ||
2301 | 141 | 'total': fields.function(_get_number_records, method=True, | ||
2302 | 142 | type='float', string="Total", multi='recalc', | ||
2303 | 143 | help="""The declaration will include partners with the total | ||
2304 | 144 | of operations over this limit"""), | ||
2305 | 134 | 'calculation_date': fields.date('Calculation date', readonly=True), | 145 | 'calculation_date': fields.date('Calculation date', readonly=True), |
2306 | 146 | 'attach_id':fields.many2one('ir.attachment', | ||
2307 | 147 | 'BOE file', readonly=True), | ||
2308 | 135 | } | 148 | } |
2309 | 136 | _defaults = { | 149 | _defaults = { |
2310 | 137 | 'support_type' : lambda *a: 'Telemático', | ||
2311 | 138 | 'number' : lambda *a: '340', | 150 | 'number' : lambda *a: '340', |
2312 | 139 | 'type': lambda *a: 'Normal' | ||
2313 | 140 | } | 151 | } |
2314 | 141 | 152 | ||
2315 | 142 | def set_done(self, cr, uid, id, *args): | 153 | def set_done(self, cr, uid, id, *args): |
2317 | 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'), |
2318 | 155 | 'state': 'done',}) | ||
2319 | 144 | wf_service = netsvc.LocalService("workflow") | 156 | wf_service = netsvc.LocalService("workflow") |
2320 | 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) |
2321 | 146 | return True | 158 | return True |
2322 | 147 | |||
2323 | 148 | def _check_report_lines(self, cr, uid, ids, context=None): | ||
2324 | 149 | """checks report lines""" | ||
2325 | 150 | # if context is None: context = {} | ||
2326 | 151 | |||
2327 | 152 | # for item in self.browse(cr, uid, ids, context): | ||
2328 | 153 | # ## Browse partner record lines to check if all are correct (all fields filled) | ||
2329 | 154 | # for partner_record in item.partner_record_ids: | ||
2330 | 155 | # if not partner_record.partner_state_code: | ||
2331 | 156 | # raise osv.except_osv(_('Error!'), _("All partner state code field must be filled.")) | ||
2332 | 157 | # if not partner_record.partner_vat: | ||
2333 | 158 | # raise osv.except_osv(_('Error!'), _("All partner vat number field must be filled.")) | ||
2334 | 159 | # | ||
2335 | 160 | # for real_state_record in item.real_state_record_ids: | ||
2336 | 161 | # if not real_state_record.state_code: | ||
2337 | 162 | # raise osv.except_osv(_('Error!'), _("All real estate records state code field must be filled.")) | ||
2338 | 163 | |||
2339 | 164 | return True | ||
2340 | 165 | |||
2341 | 166 | def check_report(self, cr, uid, ids, context=None): | ||
2342 | 167 | """Different check out in report""" | ||
2343 | 168 | if context is None: context = {} | ||
2344 | 169 | |||
2345 | 170 | self._check_report_lines(cr, uid, ids, context) | ||
2346 | 171 | |||
2347 | 172 | return True | ||
2348 | 173 | 159 | ||
2349 | 174 | def action_confirm(self, cr, uid, ids, context=None): | 160 | def action_confirm(self, cr, uid, ids, context=None): |
2350 | 175 | """set to done the report and check its records""" | 161 | """set to done the report and check its records""" |
2351 | @@ -200,17 +186,25 @@ | |||
2352 | 200 | _name = 'l10n.es.aeat.mod340.issued' | 186 | _name = 'l10n.es.aeat.mod340.issued' |
2353 | 201 | _description = 'Invoices invoice' | 187 | _description = 'Invoices invoice' |
2354 | 202 | _columns = { | 188 | _columns = { |
2357 | 203 | 'mod340_id': fields.many2one('l10n.es.aeat.mod340','Model 340',ondelete="cascade"), | 189 | 'mod340_id': fields.many2one('l10n.es.aeat.mod340','Model 340', |
2358 | 204 | 'partner_id':fields.many2one('res.partner','Partner',ondelete="cascade"), | 190 | ondelete="cascade"), |
2359 | 191 | 'partner_id':fields.many2one('res.partner','Partner', | ||
2360 | 192 | ondelete="cascade"), | ||
2361 | 205 | 'partner_vat':fields.char('Company CIF/NIF',size=12), | 193 | 'partner_vat':fields.char('Company CIF/NIF',size=12), |
2363 | 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, |
2364 | 195 | help="Legal Representative VAT number"), | ||
2365 | 207 | 'partner_country_code': fields.char('Country Code', size=2), | 196 | 'partner_country_code': fields.char('Country Code', size=2), |
2371 | 208 | 'invoice_id':fields.many2one('account.invoice','Invoice',ondelete="cascade"), | 197 | 'invoice_id':fields.many2one('account.invoice','Invoice', |
2372 | 209 | 'base_tax':fields.float('base tax bill',digits=(13,2)), | 198 | ondelete="cascade"), |
2373 | 210 | 'amount_tax':fields.float('amount of the tax',digits=(13,2)), | 199 | 'base_tax':fields.float('Base tax bill',digits=(13,2)), |
2374 | 211 | 'total':fields.float('total',digits=(13,2)), | 200 | 'amount_tax':fields.float('Total tax',digits=(13,2)), |
2375 | 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)), |
2376 | 202 | 'tax_line_ids': fields.one2many('l10n.es.aeat.mod340.tax_line_issued', | ||
2377 | 203 | 'invoice_record_id', 'Tax lines'), | ||
2378 | 204 | 'date_invoice': fields.date('Date Invoice', readonly=True), | ||
2379 | 213 | } | 205 | } |
2380 | 206 | |||
2381 | 207 | _order = 'date_invoice asc, invoice_id asc' | ||
2382 | 214 | l10n_es_aeat_mod340_issued() | 208 | l10n_es_aeat_mod340_issued() |
2383 | 215 | 209 | ||
2384 | 216 | class l10n_es_aeat_mod340_received(osv.osv): | 210 | class l10n_es_aeat_mod340_received(osv.osv): |
2385 | @@ -218,7 +212,8 @@ | |||
2386 | 218 | _description = 'Invoices Received' | 212 | _description = 'Invoices Received' |
2387 | 219 | _inherit = 'l10n.es.aeat.mod340.issued' | 213 | _inherit = 'l10n.es.aeat.mod340.issued' |
2388 | 220 | _columns = { | 214 | _columns = { |
2390 | 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', |
2391 | 216 | 'invoice_record_id', 'Tax lines'), | ||
2392 | 222 | } | 217 | } |
2393 | 223 | l10n_es_aeat_mod340_received() | 218 | l10n_es_aeat_mod340_received() |
2394 | 224 | 219 | ||
2395 | @@ -242,7 +237,8 @@ | |||
2396 | 242 | 'tax_percentage': fields.float('Tax percentage',digits=(0,2)), | 237 | 'tax_percentage': fields.float('Tax percentage',digits=(0,2)), |
2397 | 243 | 'tax_amount': fields.float('Tax amount',digits=(13,2)), | 238 | 'tax_amount': fields.float('Tax amount',digits=(13,2)), |
2398 | 244 | 'base_amount': fields.float('Base tax bill',digits=(13,2)), | 239 | 'base_amount': fields.float('Base tax bill',digits=(13,2)), |
2400 | 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', |
2401 | 241 | 'Invoice issued', required=True, ondelete="cascade", select=1), | ||
2402 | 246 | } | 242 | } |
2403 | 247 | l10n_es_aeat_mod340_tax_line_issued() | 243 | l10n_es_aeat_mod340_tax_line_issued() |
2404 | 248 | 244 | ||
2405 | @@ -251,6 +247,7 @@ | |||
2406 | 251 | _description = 'Mod340 vat lines received' | 247 | _description = 'Mod340 vat lines received' |
2407 | 252 | _inherit = 'l10n.es.aeat.mod340.tax_line_issued' | 248 | _inherit = 'l10n.es.aeat.mod340.tax_line_issued' |
2408 | 253 | _columns = { | 249 | _columns = { |
2410 | 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', |
2411 | 251 | 'Invoice received', required=True, ondelete="cascade", select=1), | ||
2412 | 255 | } | 252 | } |
2413 | 256 | l10n_es_aeat_mod340_tax_line_received() | 253 | l10n_es_aeat_mod340_tax_line_received() |
2414 | 257 | 254 | ||
2415 | === modified file 'l10n_es_aeat_mod340/mod340_view.xml' | |||
2416 | --- l10n_es_aeat_mod340/mod340_view.xml 2011-09-20 06:58:23 +0000 | |||
2417 | +++ l10n_es_aeat_mod340/mod340_view.xml 2014-02-03 11:19:23 +0000 | |||
2418 | @@ -1,217 +1,195 @@ | |||
2419 | 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2420 | 2 | <openerp> | 2 | <openerp> |
2421 | 3 | <data> | 3 | <data> |
2633 | 4 | <!-- Modelo 340 --> | 4 | <!-- Modelo 340 --> |
2634 | 5 | <record model="ir.ui.view" id="view_account_mod340_tree"> | 5 | <record model="ir.ui.view" id="view_l10n_es_aeat_mod340_tree"> |
2635 | 6 | <field name="name">l10n.es.aeat.mod340.tree</field> | 6 | <field name="name">l10n.es.aeat.mod340.tree</field> |
2636 | 7 | <field name="model">l10n.es.aeat.mod340</field> | 7 | <field name="model">l10n.es.aeat.mod340</field> |
2637 | 8 | <field name="type">tree</field> | 8 | <field name="type">tree</field> |
2638 | 9 | <!--<field name="priority" eval="5"/>--> | 9 | <field name="arch" type="xml"> |
2639 | 10 | <field name="arch" type="xml"> | 10 | <tree string="Model 340"> |
2640 | 11 | <tree string="Model 340"> | 11 | <field name="fiscalyear_id"/> |
2641 | 12 | <field name="period"/> | 12 | <field name="period_from"/> |
2642 | 13 | <field name="fiscalyear_id"/> | 13 | <field name="period_to"/> |
2643 | 14 | <field name="number"/> | 14 | <field name="number"/> |
2644 | 15 | <field name="type"/> | 15 | <field name="type"/> |
2645 | 16 | </tree> | 16 | <field name="state" invisible="1"/> |
2646 | 17 | </field> | 17 | </tree> |
2647 | 18 | </record> | 18 | </field> |
2648 | 19 | 19 | </record> | |
2649 | 20 | <record model="ir.ui.view" id="view_account_mod340_form"> | 20 | |
2650 | 21 | <field name="name">l10n.es.aeat.mod340.form</field> | 21 | <record id="view_l10n_es_aeat_mod340_form" model="ir.ui.view"> |
2651 | 22 | <field name="model">l10n.es.aeat.mod340</field> | 22 | <field name="name">l10n_es.aeat.mod340.form</field> |
2652 | 23 | <field name="type">form</field> | 23 | <field name="model">l10n.es.aeat.mod340</field> |
2653 | 24 | <field name="priority" eval="5"/> | 24 | <field name="inherit_id" ref="l10n_es_aeat.view_l10n_es_aeat_report_form"/> |
2654 | 25 | <field name="arch" type="xml"> | 25 | <field name="arch" type="xml"> |
2655 | 26 | <form string="Model 340"> | 26 | <button name="%(l10n_es_aeat.action_wizard_aeat_export)d" position="attributes"> |
2656 | 27 | <group col="6" colspan="4"> | 27 | <attribute name="name">%(action_wizard_aeat_mod340_export)d</attribute> |
2657 | 28 | <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1" readonly="1"/> | 28 | </button> |
2658 | 29 | <newline/> | 29 | <field name="fiscalyear_id" position="after"> |
2659 | 30 | <field name="fiscalyear_id" select="1"/> | 30 | <field name="period_from" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/> |
2660 | 31 | <field name="period" select="1" required="1"/> | 31 | <field name="period_to" select="1" required="1" domain="[('fiscalyear_id','=',fiscalyear_id)]"/> |
2661 | 32 | <newline /> | 32 | </field> |
2662 | 33 | <field name="number"/> | 33 | <field name="calculation_date" position="after"> |
2663 | 34 | <field name="support_type"/> | 34 | <field name="number"/> |
2664 | 35 | </group> | 35 | <field name="support_type"/> |
2665 | 36 | <notebook colspan="4"> | 36 | </field> |
2666 | 37 | <page string="General"> | 37 | <group string="Declaración" position="after"> |
2667 | 38 | <group string="Identification" colspan="4"> | 38 | <notebook colspan="4"> |
2668 | 39 | <field name="company_vat" required="1" /> | 39 | <page string="General"> |
2669 | 40 | <field name="contact_phone"/> | 40 | <group string="Identification" colspan="4"> |
2670 | 41 | <field name="name_contact" colspan="4"/> | 41 | <field name="phone_contact" /> |
2671 | 42 | <field name="representative_vat"/> | 42 | <field name="name_contact" /> |
2672 | 43 | </group> | 43 | <field name="representative_vat" /> |
2673 | 44 | <group string="Susbtitutive/complementary declaration" colspan="4"> | 44 | </group> |
2674 | 45 | <field name="type"/> | 45 | <group string="Susbtitutive/complementary declaration" colspan="4"> |
2675 | 46 | <field name="previous_number"/> | 46 | <field name="type"/> |
2676 | 47 | </group> | 47 | <field name="previous_number"/> |
2677 | 48 | <group string="Electronic Code VAT reverse charge" colspan="4"> | 48 | </group> |
2678 | 49 | <field name="ean13" nolabel="1"/> | 49 | <group string="Electronic Code VAT reverse charge" colspan="4"> |
2679 | 50 | </group> | 50 | <field name="ean13" nolabel="1"/> |
2680 | 51 | <group string="Summary" colspan="4"> | 51 | </group> |
2681 | 52 | <field name="number_records" select ="2" readonly="1"/> | 52 | <group string="Summary" colspan="4"> |
2682 | 53 | <newline/> | 53 | <field name="number_records" select ="2" readonly="1"/> |
2683 | 54 | <field name="total_taxable" select ="2" readonly="1"/> | 54 | <newline/> |
2684 | 55 | <field name="total_sharetax" select ="2" readonly="1"/> | 55 | <field name="total_taxable" select ="2" readonly="1"/> |
2685 | 56 | <field name="total" select="2" readonly="1"/> | 56 | <field name="total_sharetax" select ="2" readonly="1"/> |
2686 | 57 | <newline/> | 57 | <field name="total" select="2" readonly="1"/> |
2687 | 58 | <field name="calculation_date" select ="2" readonly="1"/> | 58 | <newline/> |
2688 | 59 | </group> | 59 | <field name="calculation_date" select ="2" readonly="1"/> |
2689 | 60 | <group colspan="4" col="10"> | 60 | </group> |
2690 | 61 | <field name="state" select="2" readonly="1"/> | 61 | <group colspan="4" col="10"> |
2691 | 62 | </group> | 62 | </group> |
2692 | 63 | <group colspan="4" col="10"> | 63 | </page> |
2693 | 64 | <button name="button_calculate" | 64 | <page string="Issued invoice" > |
2694 | 65 | type="object" | 65 | <field name="issued" nolabel="1" /> |
2695 | 66 | string="Calculate" | 66 | </page> |
2696 | 67 | states="draft" | 67 | <page string="Received invoice" > |
2697 | 68 | icon="terp-stock_format-scientific" | 68 | <field name="received" nolabel="1" /> |
2698 | 69 | /> | 69 | </page> |
2699 | 70 | <button name="button_recalculate" | 70 | </notebook> |
2700 | 71 | type="object" | 71 | </group> |
2701 | 72 | string="Recalculate" | 72 | </field> |
2702 | 73 | states="calculating,calculated" | 73 | </record> |
2703 | 74 | icon="gtk-execute"/> | 74 | <!-- FIN Modelo 340 --> |
2704 | 75 | <button name="button_export" | 75 | |
2705 | 76 | type="object" | 76 | |
2706 | 77 | string="Export to BOE" | 77 | <!--Invoice Issued--> |
2707 | 78 | states="done" | 78 | |
2708 | 79 | icon="gtk-execute"/> | 79 | <record id="view_l10n_es_aeat_mod340_invoice_issued_tree" model="ir.ui.view"> |
2709 | 80 | <button name="confirm" string="Confirm" type="object" states="calculated" icon="gtk-ok"/> | 80 | <field name="name">l10n.es.aeat.mod340.issued.tree</field> |
2710 | 81 | <button name="cancel" string="Cancel" type="object" states="calculated,done" icon="gtk-cancel"/> | 81 | <field name="model">l10n.es.aeat.mod340.issued</field> |
2711 | 82 | <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/> | 82 | <field name="type">tree</field> |
2712 | 83 | 83 | <field name="arch" type="xml"> | |
2713 | 84 | </group> | 84 | <tree string="Issued invoices"> |
2714 | 85 | </page> | 85 | <field name="date_invoice"/> |
2715 | 86 | <page string="Issued invoice" > | 86 | <field name="partner_id"/> |
2716 | 87 | <field name="issued" nolabel="1" /> | 87 | <field name="partner_country_code"/> |
2717 | 88 | </page> | 88 | <field name="partner_vat"/> |
2718 | 89 | <page string="Received invoice" > | 89 | <field name="invoice_id"/> |
2719 | 90 | <field name="received" nolabel="1" /> | 90 | <field name="base_tax" sum="Total Base" /> |
2720 | 91 | </page> | 91 | <field name="amount_tax" sum="Total Tax" /> |
2721 | 92 | 92 | <field name="total" sum="Total"/> | |
2722 | 93 | </notebook> | 93 | </tree> |
2723 | 94 | </form> | 94 | </field> |
2724 | 95 | </field> | 95 | </record> |
2725 | 96 | </record> | 96 | |
2726 | 97 | <!-- FIN Modelo 340 --> | 97 | <record id="view_l10n_es_aeat_mod340_invoice_issued_form" model="ir.ui.view"> |
2727 | 98 | 98 | <field name="name">l10n.es.aeat.mod340.issued.form</field> | |
2728 | 99 | 99 | <field name="model">l10n.es.aeat.mod340.issued</field> | |
2729 | 100 | <!--Invoice Issued--> | 100 | <field name="type">form</field> |
2730 | 101 | 101 | <field name="arch" type="xml"> | |
2731 | 102 | <record id="view_l10n_es_aeat_mod340_invoice_issued_tree" model="ir.ui.view"> | 102 | <form string="Issued invoices"> |
2732 | 103 | <field name="name">l10n.es.aeat.mod340.issued.tree</field> | 103 | <field name="invoice_id"/> |
2733 | 104 | <field name="model">l10n.es.aeat.mod340.issued</field> | 104 | <newline/> |
2734 | 105 | <field name="type">tree</field> | 105 | <field name="partner_id"/> |
2735 | 106 | <field name="arch" type="xml"> | 106 | <field name="partner_vat"/> |
2736 | 107 | <tree string="Issued invoices"> | 107 | <field name="representative_vat"/> |
2737 | 108 | <field name="partner_id"/> | 108 | <field name="partner_country_code"/> |
2738 | 109 | <field name="partner_country_code"/> | 109 | <newline/> |
2739 | 110 | <field name="partner_vat"/> | 110 | <field name="base_tax" /> |
2740 | 111 | <field name="invoice_id"/> | 111 | <field name="amount_tax" /> |
2741 | 112 | <field name="base_tax" sum="Total Base" /> | 112 | <newline/> |
2742 | 113 | <field name="amount_tax" sum="Total Tax" /> | 113 | <field name="total"/> |
2743 | 114 | <field name="total" sum="Total"/> | 114 | <newline /> |
2744 | 115 | </tree> | 115 | <field name="tax_line_ids" /> |
2745 | 116 | </field> | 116 | </form> |
2746 | 117 | </record> | 117 | </field> |
2747 | 118 | 118 | </record> | |
2748 | 119 | <record id="view_l10n_es_aeat_mod340_invoice_issued_form" model="ir.ui.view"> | 119 | |
2749 | 120 | <field name="name">l10n.es.aeat.mod340.issued.form</field> | 120 | <!--Invoice Received--> |
2750 | 121 | <field name="model">l10n.es.aeat.mod340.issued</field> | 121 | |
2751 | 122 | <field name="type">form</field> | 122 | <record id="view_l10n_es_aeat_mod340_invoice_received_tree" model="ir.ui.view"> |
2752 | 123 | <field name="arch" type="xml"> | 123 | <field name="name">l10n.es.aeat.mod340.received.tree</field> |
2753 | 124 | <form string="Issued invoices"> | 124 | <field name="model">l10n.es.aeat.mod340.received</field> |
2754 | 125 | <field name="invoice_id"/> | 125 | <field name="type">tree</field> |
2755 | 126 | <newline/> | 126 | <field name="arch" type="xml"> |
2756 | 127 | <field name="partner_id"/> | 127 | <tree string="Received invoices"> |
2757 | 128 | <field name="partner_vat"/> | 128 | <field name="partner_id"/> |
2758 | 129 | <field name="representative_vat"/> | 129 | <field name="partner_country_code"/> |
2759 | 130 | <field name="partner_country_code"/> | 130 | <field name="partner_vat"/> |
2760 | 131 | <newline/> | 131 | <field name="invoice_id"/> |
2761 | 132 | <field name="base_tax" /> | 132 | <field name="base_tax" sum="Total Base"/> |
2762 | 133 | <field name="amount_tax" /> | 133 | <field name="amount_tax" sum="Total Tax"/> |
2763 | 134 | <newline/> | 134 | <field name="total" sum="Total"/> |
2764 | 135 | <field name="total"/> | 135 | </tree> |
2765 | 136 | <newline /> | 136 | </field> |
2766 | 137 | <field name="tax_line_ids" /> | 137 | </record> |
2767 | 138 | </form> | 138 | |
2768 | 139 | </field> | 139 | <record id="view_l10n_es_aeat_mod340_invoice_received_form" model="ir.ui.view"> |
2769 | 140 | </record> | 140 | <field name="name">l10n.es.aeat.mod340.received.form</field> |
2770 | 141 | 141 | <field name="model">l10n.es.aeat.mod340.received</field> | |
2771 | 142 | <!--Invoice Received--> | 142 | <field name="type">form</field> |
2772 | 143 | 143 | <field name="arch" type="xml"> | |
2773 | 144 | <record id="view_l10n_es_aeat_mod340_invoice_received_tree" model="ir.ui.view"> | 144 | <form string="Received invoices"> |
2774 | 145 | <field name="name">l10n.es.aeat.mod340.received.tree</field> | 145 | <field name="invoice_id"/> |
2775 | 146 | <field name="model">l10n.es.aeat.mod340.received</field> | 146 | <newline/> |
2776 | 147 | <field name="type">tree</field> | 147 | <field name="partner_id"/> |
2777 | 148 | <field name="arch" type="xml"> | 148 | <field name="partner_vat"/> |
2778 | 149 | <tree string="Received invoices"> | 149 | <field name="representative_vat"/> |
2779 | 150 | <field name="partner_id"/> | 150 | <field name="partner_country_code"/> |
2780 | 151 | <field name="partner_country_code"/> | 151 | <newline/> |
2781 | 152 | <field name="partner_vat"/> | 152 | <field name="base_tax"/> |
2782 | 153 | <field name="invoice_id"/> | 153 | <field name="amount_tax"/> |
2783 | 154 | <field name="base_tax" sum="Total Base"/> | 154 | <newline/> |
2784 | 155 | <field name="amount_tax" sum="Total Tax"/> | 155 | <field name="total"/> |
2785 | 156 | <field name="total" sum="Total"/> | 156 | <newline /> |
2786 | 157 | </tree> | 157 | <field name="tax_line_ids" /> |
2787 | 158 | </field> | 158 | </form> |
2788 | 159 | </record> | 159 | </field> |
2789 | 160 | 160 | </record> | |
2790 | 161 | <record id="view_l10n_es_aeat_mod340_invoice_received_form" model="ir.ui.view"> | 161 | |
2791 | 162 | <field name="name">l10n.es.aeat.mod340.received.form</field> | 162 | <!--Vat Lines--> |
2792 | 163 | <field name="model">l10n.es.aeat.mod340.received</field> | 163 | |
2793 | 164 | <field name="type">form</field> | 164 | <record id="view_l10n_es_aeat_mod340_tax_line_issued_form" model="ir.ui.view"> |
2794 | 165 | <field name="arch" type="xml"> | 165 | <field name="name">l10n.es.aeat.mod340.tax_line_issued.form</field> |
2795 | 166 | <form string="Received invoices"> | 166 | <field name="model">l10n.es.aeat.mod340.tax_line_issued</field> |
2796 | 167 | <field name="invoice_id"/> | 167 | <field name="type">form</field> |
2797 | 168 | <newline/> | 168 | <field name="arch" type="xml"> |
2798 | 169 | <field name="partner_id"/> | 169 | <form string="Tax line issued"> |
2799 | 170 | <field name="partner_vat"/> | 170 | <field name="name"/> |
2800 | 171 | <field name="representative_vat"/> | 171 | <field name="tax_percentage"/> |
2801 | 172 | <field name="partner_country_code"/> | 172 | <field name="tax_amount"/> |
2802 | 173 | <newline/> | 173 | <field name="base_amount"/> |
2803 | 174 | <field name="base_tax"/> | 174 | </form> |
2804 | 175 | <field name="amount_tax"/> | 175 | </field> |
2805 | 176 | <newline/> | 176 | </record> |
2806 | 177 | <field name="total"/> | 177 | |
2807 | 178 | <newline /> | 178 | <record id="view_l10n_es_aeat_mod340_tax_line_received_form" model="ir.ui.view"> |
2808 | 179 | <field name="tax_line_ids" /> | 179 | <field name="name">l10n.es.aeat.mod340.tax_line_received.form</field> |
2809 | 180 | </form> | 180 | <field name="model">l10n.es.aeat.mod340.tax_line_received</field> |
2810 | 181 | </field> | 181 | <field name="type">form</field> |
2811 | 182 | </record> | 182 | <field name="arch" type="xml"> |
2812 | 183 | 183 | <form string="Tax line received"> | |
2813 | 184 | <!--Vat Lines--> | 184 | <field name="name"/> |
2814 | 185 | 185 | <field name="tax_percentage"/> | |
2815 | 186 | <record id="view_l10n_es_aeat_mod340_tax_line_issued_form" model="ir.ui.view"> | 186 | <field name="tax_amount"/> |
2816 | 187 | <field name="name">l10n.es.aeat.mod340.tax_line_issued.form</field> | 187 | <field name="base_amount"/> |
2817 | 188 | <field name="model">l10n.es.aeat.mod340.tax_line_issued</field> | 188 | </form> |
2818 | 189 | <field name="type">form</field> | 189 | </field> |
2819 | 190 | <field name="arch" type="xml"> | 190 | </record> |
2820 | 191 | <form string="Tax line issued"> | 191 | |
2821 | 192 | <field name="name"/> | 192 | <record id="view_l10n_es_aeat_mod340_report_search" model="ir.ui.view"> |
2611 | 193 | <field name="tax_percentage"/> | ||
2612 | 194 | <field name="tax_amount"/> | ||
2613 | 195 | <field name="base_amount"/> | ||
2614 | 196 | </form> | ||
2615 | 197 | </field> | ||
2616 | 198 | </record> | ||
2617 | 199 | |||
2618 | 200 | <record id="view_l10n_es_aeat_mod340_tax_line_received_form" model="ir.ui.view"> | ||
2619 | 201 | <field name="name">l10n.es.aeat.mod340.tax_line_received.form</field> | ||
2620 | 202 | <field name="model">l10n.es.aeat.mod340.tax_line_received</field> | ||
2621 | 203 | <field name="type">form</field> | ||
2622 | 204 | <field name="arch" type="xml"> | ||
2623 | 205 | <form string="Tax line received"> | ||
2624 | 206 | <field name="name"/> | ||
2625 | 207 | <field name="tax_percentage"/> | ||
2626 | 208 | <field name="tax_amount"/> | ||
2627 | 209 | <field name="base_amount"/> | ||
2628 | 210 | </form> | ||
2629 | 211 | </field> | ||
2630 | 212 | </record> | ||
2631 | 213 | |||
2632 | 214 | <record id="view_l10n_es_aeat_mod340_report_search" model="ir.ui.view"> | ||
2822 | 215 | <field name="name">AEAT Model 340 (search)</field> | 193 | <field name="name">AEAT Model 340 (search)</field> |
2823 | 216 | <field name="model">l10n.es.aeat.mod340</field> | 194 | <field name="model">l10n.es.aeat.mod340</field> |
2824 | 217 | <field name="type">search</field> | 195 | <field name="type">search</field> |
2825 | @@ -228,7 +206,8 @@ | |||
2826 | 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'}"/> |
2827 | 229 | </group> | 207 | </group> |
2828 | 230 | <newline/> | 208 | <newline/> |
2830 | 231 | <field name="period"/> | 209 | <field name="period_from"/> |
2831 | 210 | <field name="period_to" /> | ||
2832 | 232 | <field name="fiscalyear_id"/> | 211 | <field name="fiscalyear_id"/> |
2833 | 233 | <field name="number"/> | 212 | <field name="number"/> |
2834 | 234 | <field name="type"/> | 213 | <field name="type"/> |
2835 | @@ -238,14 +217,24 @@ | |||
2836 | 238 | 217 | ||
2837 | 239 | <!-- Window action --> | 218 | <!-- Window action --> |
2838 | 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"> |
2840 | 241 | <field name="name">AEAT Model 340</field> | 220 | <field name="name">AEAT model 340</field> |
2841 | 242 | <field name="res_model">l10n.es.aeat.mod340</field> | 221 | <field name="res_model">l10n.es.aeat.mod340</field> |
2842 | 243 | <field name="view_type">form</field> | 222 | <field name="view_type">form</field> |
2843 | 244 | <field name="view_mode">tree,form</field> | 223 | <field name="view_mode">tree,form</field> |
2848 | 245 | <field name="help">Create and query AEAT Model 340 Reports</field> | 224 | <field name="help">Create and query AEAT Model 340 reports</field> |
2849 | 246 | </record> | 225 | </record> |
2850 | 247 | 226 | <record model="ir.actions.act_window.view" id="action_l10n_es_aeat_mod340_report_tree"> | |
2851 | 248 | 227 | <field name="sequence" eval="2"/> | |
2852 | 228 | <field name="view_mode">tree</field> | ||
2853 | 229 | <field name="view_id" ref="view_l10n_es_aeat_mod340_tree"/> | ||
2854 | 230 | <field name="act_window_id" ref="action_l10n_es_aeat_mod340_report"/> | ||
2855 | 231 | </record> | ||
2856 | 232 | <record model="ir.actions.act_window.view" id="action_l10n_es_aeat_mod340_report_form"> | ||
2857 | 233 | <field name="sequence" eval="3"/> | ||
2858 | 234 | <field name="view_mode">form</field> | ||
2859 | 235 | <field name="view_id" ref="view_l10n_es_aeat_mod340_form"/> | ||
2860 | 236 | <field name="act_window_id" ref="action_l10n_es_aeat_mod340_report"/> | ||
2861 | 237 | </record> | ||
2862 | 249 | 238 | ||
2863 | 250 | <!-- | 239 | <!-- |
2864 | 251 | ### MENU ACCESS ### | 240 | ### MENU ACCESS ### |
2865 | 252 | 241 | ||
2866 | === modified file 'l10n_es_aeat_mod340/report/mod340_report.rml' | |||
2867 | --- l10n_es_aeat_mod340/report/mod340_report.rml 2011-05-20 19:05:27 +0000 | |||
2868 | +++ l10n_es_aeat_mod340/report/mod340_report.rml 2014-02-03 11:19:23 +0000 | |||
2869 | @@ -44,15 +44,18 @@ | |||
2870 | 44 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | 44 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> |
2871 | 45 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | 45 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> |
2872 | 46 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | 46 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> |
2873 | 47 | <lineStyle kind="LINEAFTER" colorName="#000000" start="5,0" stop="5,-1"/> | ||
2874 | 48 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | 47 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> |
2875 | 49 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | 48 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> |
2876 | 49 | <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/> | ||
2877 | 50 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
2878 | 51 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
2879 | 50 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> | 52 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> |
2880 | 51 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> | 53 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> |
2881 | 52 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> | 54 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> |
2882 | 53 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> | 55 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> |
2883 | 54 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> | 56 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> |
2884 | 55 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> | 57 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> |
2885 | 58 | <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/> | ||
2886 | 56 | </blockTableStyle> | 59 | </blockTableStyle> |
2887 | 57 | <blockTableStyle id="Taula4"> | 60 | <blockTableStyle id="Taula4"> |
2888 | 58 | <blockAlignment value="LEFT"/> | 61 | <blockAlignment value="LEFT"/> |
2889 | @@ -63,6 +66,7 @@ | |||
2890 | 63 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | 66 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> |
2891 | 64 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | 67 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> |
2892 | 65 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | 68 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> |
2893 | 69 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
2894 | 66 | </blockTableStyle> | 70 | </blockTableStyle> |
2895 | 67 | <blockTableStyle id="Taula5"> | 71 | <blockTableStyle id="Taula5"> |
2896 | 68 | <blockAlignment value="LEFT"/> | 72 | <blockAlignment value="LEFT"/> |
2897 | @@ -78,15 +82,18 @@ | |||
2898 | 78 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | 82 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> |
2899 | 79 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | 83 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> |
2900 | 80 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | 84 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> |
2901 | 81 | <lineStyle kind="LINEAFTER" colorName="#000000" start="5,0" stop="5,-1"/> | ||
2902 | 82 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | 85 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> |
2903 | 83 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | 86 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> |
2904 | 87 | <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/> | ||
2905 | 88 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
2906 | 89 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
2907 | 84 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> | 90 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> |
2908 | 85 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> | 91 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> |
2909 | 86 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> | 92 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> |
2910 | 87 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> | 93 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> |
2911 | 88 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> | 94 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> |
2912 | 89 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> | 95 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> |
2913 | 96 | <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/> | ||
2914 | 90 | </blockTableStyle> | 97 | </blockTableStyle> |
2915 | 91 | <blockTableStyle id="Taula6"> | 98 | <blockTableStyle id="Taula6"> |
2916 | 92 | <blockAlignment value="LEFT"/> | 99 | <blockAlignment value="LEFT"/> |
2917 | @@ -97,6 +104,7 @@ | |||
2918 | 97 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | 104 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> |
2919 | 98 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | 105 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> |
2920 | 99 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | 106 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> |
2921 | 107 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
2922 | 100 | </blockTableStyle> | 108 | </blockTableStyle> |
2923 | 101 | <initialize> | 109 | <initialize> |
2924 | 102 | <paraStyle name="all" alignment="justify"/> | 110 | <paraStyle name="all" alignment="justify"/> |
2925 | @@ -112,6 +120,7 @@ | |||
2926 | 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"/> |
2927 | 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"/> |
2928 | 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"/> |
2929 | 123 | <paraStyle name="P12" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/> | ||
2930 | 115 | <paraStyle name="Standard" fontName="Helvetica"/> | 124 | <paraStyle name="Standard" fontName="Helvetica"/> |
2931 | 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"/> |
2932 | 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"/> |
2933 | @@ -121,10 +130,13 @@ | |||
2934 | 121 | <paraStyle name="Table Contents" fontName="Helvetica"/> | 130 | <paraStyle name="Table Contents" fontName="Helvetica"/> |
2935 | 122 | <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/> | 131 | <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/> |
2936 | 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"/> |
2937 | 133 | <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> | ||
2938 | 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"/> | ||
2939 | 124 | <images/> | 135 | <images/> |
2940 | 125 | </stylesheet> | 136 | </stylesheet> |
2941 | 126 | <story> | 137 | <story> |
2942 | 127 | <para style="Standard">[[repeatIn(objects, 'o')]]</para> | 138 | <para style="Standard">[[repeatIn(objects, 'o')]]</para> |
2943 | 139 | <para style="terp_default_8">[[ setLang(o.company_id.partner_id.lang) ]]</para> | ||
2944 | 128 | <para style="P4">MODELO AEAT 340</para> | 140 | <para style="P4">MODELO AEAT 340</para> |
2945 | 129 | <blockTable colWidths="117.0,219.0" style="Taula2"> | 141 | <blockTable colWidths="117.0,219.0" style="Taula2"> |
2946 | 130 | <tr> | 142 | <tr> |
2947 | @@ -135,7 +147,7 @@ | |||
2948 | 135 | <para style="P3">Tipo de soporte: </para> | 147 | <para style="P3">Tipo de soporte: </para> |
2949 | 136 | </td> | 148 | </td> |
2950 | 137 | <td> | 149 | <td> |
2952 | 138 | <para style="P2">[[o.company_id.partner_id.name or '']] </para> | 150 | <para style="P2">[[ o.company_id.name or '']] </para> |
2953 | 139 | <para style="P2">[[o.fiscalyear_id.name or '']] </para> | 151 | <para style="P2">[[o.fiscalyear_id.name or '']] </para> |
2954 | 140 | <para style="P2">[[o.number or '']] </para> | 152 | <para style="P2">[[o.number or '']] </para> |
2955 | 141 | <para style="P2">[[o.support_type]]</para> | 153 | <para style="P2">[[o.support_type]]</para> |
2956 | @@ -177,9 +189,12 @@ | |||
2957 | 177 | <para style="P7"> | 189 | <para style="P7"> |
2958 | 178 | <font color="white"> </font> | 190 | <font color="white"> </font> |
2959 | 179 | </para> | 191 | </para> |
2961 | 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"> |
2962 | 181 | <tr> | 193 | <tr> |
2963 | 182 | <td> | 194 | <td> |
2964 | 195 | <para style="Table Heading">Fecha</para> | ||
2965 | 196 | </td> | ||
2966 | 197 | <td> | ||
2967 | 183 | <para style="Table Heading">Empresa</para> | 198 | <para style="Table Heading">Empresa</para> |
2968 | 184 | </td> | 199 | </td> |
2969 | 185 | <td> | 200 | <td> |
2970 | @@ -204,9 +219,12 @@ | |||
2971 | 204 | </para> | 219 | </para> |
2972 | 205 | <section> | 220 | <section> |
2973 | 206 | <para style="P6">[[repeatIn(o.issued,'r')]]</para> | 221 | <para style="P6">[[repeatIn(o.issued,'r')]]</para> |
2975 | 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"> |
2976 | 208 | <tr> | 223 | <tr> |
2977 | 209 | <td> | 224 | <td> |
2978 | 225 | <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para> | ||
2979 | 226 | </td> | ||
2980 | 227 | <td> | ||
2981 | 210 | <para style="P9">[[r.partner_id.name]]</para> | 228 | <para style="P9">[[r.partner_id.name]]</para> |
2982 | 211 | </td> | 229 | </td> |
2983 | 212 | <td> | 230 | <td> |
2984 | @@ -237,9 +255,12 @@ | |||
2985 | 237 | <para style="P7"> | 255 | <para style="P7"> |
2986 | 238 | <font color="white"> </font> | 256 | <font color="white"> </font> |
2987 | 239 | </para> | 257 | </para> |
2989 | 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"> |
2990 | 241 | <tr> | 259 | <tr> |
2991 | 242 | <td> | 260 | <td> |
2992 | 261 | <para style="Table Heading">Fecha</para> | ||
2993 | 262 | </td> | ||
2994 | 263 | <td> | ||
2995 | 243 | <para style="Table Heading">Empresa</para> | 264 | <para style="Table Heading">Empresa</para> |
2996 | 244 | </td> | 265 | </td> |
2997 | 245 | <td> | 266 | <td> |
2998 | @@ -264,16 +285,19 @@ | |||
2999 | 264 | </para> | 285 | </para> |
3000 | 265 | <section> | 286 | <section> |
3001 | 266 | <para style="P6">[[repeatIn(o.received,'r')]]</para> | 287 | <para style="P6">[[repeatIn(o.received,'r')]]</para> |
3003 | 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"> |
3004 | 268 | <tr> | 289 | <tr> |
3005 | 269 | <td> | 290 | <td> |
3006 | 291 | <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para> | ||
3007 | 292 | </td> | ||
3008 | 293 | <td> | ||
3009 | 270 | <para style="P9">[[r.partner_id.name]]</para> | 294 | <para style="P9">[[r.partner_id.name]]</para> |
3010 | 271 | </td> | 295 | </td> |
3011 | 272 | <td> | 296 | <td> |
3012 | 273 | <para style="P11">[[r.partner_vat]]</para> | 297 | <para style="P11">[[r.partner_vat]]</para> |
3013 | 274 | </td> | 298 | </td> |
3014 | 275 | <td> | 299 | <td> |
3016 | 276 | <para style="P11">[[r.invoice_id.number or '0']]</para> | 300 | <para style="P11">[[r.invoice_id.reference or '0']]</para> |
3017 | 277 | </td> | 301 | </td> |
3018 | 278 | <td> | 302 | <td> |
3019 | 279 | <para style="P10">[[r.base_tax]]</para> | 303 | <para style="P10">[[r.base_tax]]</para> |
3020 | @@ -295,4 +319,3 @@ | |||
3021 | 295 | </para> | 319 | </para> |
3022 | 296 | </story> | 320 | </story> |
3023 | 297 | </document> | 321 | </document> |
3024 | 298 | |||
3025 | 299 | 322 | ||
3026 | === modified file 'l10n_es_aeat_mod340/report/mod340_report.sxw' | |||
3027 | 300 | Binary 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 | 323 | Binary 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 |
3028 | === modified file 'l10n_es_aeat_mod340/report/report_view.xml' | |||
3029 | --- l10n_es_aeat_mod340/report/report_view.xml 2011-05-07 11:33:47 +0000 | |||
3030 | +++ l10n_es_aeat_mod340/report/report_view.xml 2014-02-03 11:19:23 +0000 | |||
3031 | @@ -21,6 +21,26 @@ | |||
3032 | 21 | rml="l10n_es_aeat_mod340/report/mod340_report.rml" | 21 | rml="l10n_es_aeat_mod340/report/mod340_report.rml" |
3033 | 22 | auto="True" | 22 | auto="True" |
3034 | 23 | header="False" /> | 23 | header="False" /> |
3035 | 24 | |||
3036 | 25 | <record id="report_vat_book_action" model="ir.actions.report.xml"> | ||
3037 | 26 | <field name="name">Vat Book</field> | ||
3038 | 27 | <field name="type">ir.actions.report.xml</field> | ||
3039 | 28 | <field name="model">l10n.es.aeat.mod340</field> | ||
3040 | 29 | <field name="report_name">vat_book</field> | ||
3041 | 30 | <field name="report_type">pdf</field> | ||
3042 | 31 | <field name="report_rml">l10n_es_aeat_mod340/report/vat_book.rml</field> | ||
3043 | 32 | <field name="auto" eval="True"/> | ||
3044 | 33 | <field name="header" eval="False"/> | ||
3045 | 34 | </record> | ||
3046 | 35 | |||
3047 | 36 | <report | ||
3048 | 37 | id="vat_book" | ||
3049 | 38 | string="Vat Book" | ||
3050 | 39 | model="l10n.es.aeat.mod340" | ||
3051 | 40 | name="vat book" | ||
3052 | 41 | rml="l10n_es_aeat_mod340/report/vat_book.rml" | ||
3053 | 42 | auto="True" | ||
3054 | 43 | header="False" /> | ||
3055 | 24 | </data> | 44 | </data> |
3056 | 25 | </openerp> | 45 | </openerp> |
3057 | 26 | 46 | ||
3058 | 27 | 47 | ||
3059 | === added file 'l10n_es_aeat_mod340/report/vat_book.rml' | |||
3060 | --- l10n_es_aeat_mod340/report/vat_book.rml 1970-01-01 00:00:00 +0000 | |||
3061 | +++ l10n_es_aeat_mod340/report/vat_book.rml 2014-02-03 11:19:23 +0000 | |||
3062 | @@ -0,0 +1,310 @@ | |||
3063 | 1 | <?xml version="1.0"?> | ||
3064 | 2 | <document filename="test.pdf"> | ||
3065 | 3 | <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20"> | ||
3066 | 4 | <pageTemplate id="first"> | ||
3067 | 5 | <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/> | ||
3068 | 6 | </pageTemplate> | ||
3069 | 7 | </template> | ||
3070 | 8 | <stylesheet> | ||
3071 | 9 | <blockTableStyle id="Standard_Outline"> | ||
3072 | 10 | <blockAlignment value="LEFT"/> | ||
3073 | 11 | <blockValign value="TOP"/> | ||
3074 | 12 | </blockTableStyle> | ||
3075 | 13 | <blockTableStyle id="Taula2"> | ||
3076 | 14 | <blockAlignment value="LEFT"/> | ||
3077 | 15 | <blockValign value="TOP"/> | ||
3078 | 16 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
3079 | 17 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
3080 | 18 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3081 | 19 | <lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/> | ||
3082 | 20 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
3083 | 21 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3084 | 22 | </blockTableStyle> | ||
3085 | 23 | <blockTableStyle id="Taula1"> | ||
3086 | 24 | <blockAlignment value="LEFT"/> | ||
3087 | 25 | <blockValign value="TOP"/> | ||
3088 | 26 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
3089 | 27 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
3090 | 28 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3091 | 29 | <lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/> | ||
3092 | 30 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
3093 | 31 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3094 | 32 | </blockTableStyle> | ||
3095 | 33 | <blockTableStyle id="Taula3"> | ||
3096 | 34 | <blockAlignment value="LEFT"/> | ||
3097 | 35 | <blockValign value="TOP"/> | ||
3098 | 36 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
3099 | 37 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
3100 | 38 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3101 | 39 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
3102 | 40 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3103 | 41 | <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/> | ||
3104 | 42 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
3105 | 43 | <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/> | ||
3106 | 44 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
3107 | 45 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | ||
3108 | 46 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
3109 | 47 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | ||
3110 | 48 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
3111 | 49 | <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/> | ||
3112 | 50 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
3113 | 51 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
3114 | 52 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> | ||
3115 | 53 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> | ||
3116 | 54 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> | ||
3117 | 55 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> | ||
3118 | 56 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> | ||
3119 | 57 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> | ||
3120 | 58 | <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/> | ||
3121 | 59 | </blockTableStyle> | ||
3122 | 60 | <blockTableStyle id="Taula4"> | ||
3123 | 61 | <blockAlignment value="LEFT"/> | ||
3124 | 62 | <blockValign value="TOP"/> | ||
3125 | 63 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3126 | 64 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3127 | 65 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
3128 | 66 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
3129 | 67 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
3130 | 68 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
3131 | 69 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
3132 | 70 | </blockTableStyle> | ||
3133 | 71 | <blockTableStyle id="Taula5"> | ||
3134 | 72 | <blockAlignment value="LEFT"/> | ||
3135 | 73 | <blockValign value="TOP"/> | ||
3136 | 74 | <lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/> | ||
3137 | 75 | <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/> | ||
3138 | 76 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3139 | 77 | <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/> | ||
3140 | 78 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3141 | 79 | <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/> | ||
3142 | 80 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
3143 | 81 | <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/> | ||
3144 | 82 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
3145 | 83 | <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/> | ||
3146 | 84 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
3147 | 85 | <lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/> | ||
3148 | 86 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
3149 | 87 | <lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/> | ||
3150 | 88 | <lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/> | ||
3151 | 89 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
3152 | 90 | <blockBackground colorName="#cccccc" start="0,0" stop="0,-1"/> | ||
3153 | 91 | <blockBackground colorName="#cccccc" start="1,0" stop="1,-1"/> | ||
3154 | 92 | <blockBackground colorName="#cccccc" start="2,0" stop="2,-1"/> | ||
3155 | 93 | <blockBackground colorName="#cccccc" start="3,0" stop="3,-1"/> | ||
3156 | 94 | <blockBackground colorName="#cccccc" start="4,0" stop="4,-1"/> | ||
3157 | 95 | <blockBackground colorName="#cccccc" start="5,0" stop="5,-1"/> | ||
3158 | 96 | <blockBackground colorName="#cccccc" start="6,0" stop="6,-1"/> | ||
3159 | 97 | </blockTableStyle> | ||
3160 | 98 | <blockTableStyle id="Taula6"> | ||
3161 | 99 | <blockAlignment value="LEFT"/> | ||
3162 | 100 | <blockValign value="TOP"/> | ||
3163 | 101 | <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/> | ||
3164 | 102 | <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/> | ||
3165 | 103 | <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/> | ||
3166 | 104 | <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/> | ||
3167 | 105 | <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/> | ||
3168 | 106 | <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/> | ||
3169 | 107 | <lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/> | ||
3170 | 108 | </blockTableStyle> | ||
3171 | 109 | <initialize> | ||
3172 | 110 | <paraStyle name="all" alignment="justify"/> | ||
3173 | 111 | </initialize> | ||
3174 | 112 | <paraStyle name="P1" fontName="Helvetica" alignment="CENTER"/> | ||
3175 | 113 | <paraStyle name="P2" fontName="Helvetica"/> | ||
3176 | 114 | <paraStyle name="P3" fontName="Helvetica" alignment="RIGHT"/> | ||
3177 | 115 | <paraStyle name="P4" fontName="Helvetica-Bold" fontSize="20.0" leading="25" alignment="CENTER"/> | ||
3178 | 116 | <paraStyle name="P5" fontName="Helvetica" fontSize="6.0" leading="8"/> | ||
3179 | 117 | <paraStyle name="P6" fontName="Helvetica" fontSize="6.0" leading="8"/> | ||
3180 | 118 | <paraStyle name="P7" fontName="Helvetica" alignment="LEFT"/> | ||
3181 | 119 | <paraStyle name="P8" fontName="Helvetica-Bold" fontSize="16.0" leading="20" alignment="LEFT"/> | ||
3182 | 120 | <paraStyle name="P9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/> | ||
3183 | 121 | <paraStyle name="P10" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/> | ||
3184 | 122 | <paraStyle name="P11" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/> | ||
3185 | 123 | <paraStyle name="P12" fontName="Helvetica"/> | ||
3186 | 124 | <paraStyle name="P13" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER"/> | ||
3187 | 125 | <paraStyle name="Standard" fontName="Helvetica"/> | ||
3188 | 126 | <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/> | ||
3189 | 127 | <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> | ||
3190 | 128 | <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/> | ||
3191 | 129 | <paraStyle name="Caption" fontName="Helvetica-Oblique" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/> | ||
3192 | 130 | <paraStyle name="Index" fontName="Helvetica"/> | ||
3193 | 131 | <paraStyle name="Table Contents" fontName="Helvetica"/> | ||
3194 | 132 | <paraStyle name="Table Heading" fontName="Helvetica-BoldOblique" alignment="CENTER"/> | ||
3195 | 133 | <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/> | ||
3196 | 134 | <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/> | ||
3197 | 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"/> | ||
3198 | 136 | <images/> | ||
3199 | 137 | </stylesheet> | ||
3200 | 138 | <story> | ||
3201 | 139 | <para style="Standard">[[repeatIn(objects, 'o')]]</para> | ||
3202 | 140 | <para style="terp_default_8">[[ setLang(o.company_id.partner_id.lang) ]]</para> | ||
3203 | 141 | <para style="P4">LIBRO DE IVA</para> | ||
3204 | 142 | <blockTable colWidths="117.0,219.0" style="Taula2"> | ||
3205 | 143 | <tr> | ||
3206 | 144 | <td> | ||
3207 | 145 | <para style="P3">Compañía: </para> | ||
3208 | 146 | <para style="P3">Ejercicio fiscal: </para> | ||
3209 | 147 | </td> | ||
3210 | 148 | <td> | ||
3211 | 149 | <para style="P2">[[o.company_id.name or '']] </para> | ||
3212 | 150 | <para style="P2">[[o.fiscalyear_id.name or '']] </para> | ||
3213 | 151 | </td> | ||
3214 | 152 | </tr> | ||
3215 | 153 | </blockTable> | ||
3216 | 154 | <para style="P2"> | ||
3217 | 155 | <font color="white"> </font> | ||
3218 | 156 | </para> | ||
3219 | 157 | <para style="P1"> | ||
3220 | 158 | <font color="white"> </font> | ||
3221 | 159 | </para> | ||
3222 | 160 | <blockTable colWidths="237.0,244.0" style="Taula1"> | ||
3223 | 161 | <tr> | ||
3224 | 162 | <td> | ||
3225 | 163 | <para style="P3">CIF/NIF: </para> | ||
3226 | 164 | <para style="P3">Teléfono de contacto: </para> | ||
3227 | 165 | <para style="P3">Apellidos y nombre de contacto: </para> | ||
3228 | 166 | </td> | ||
3229 | 167 | <td> | ||
3230 | 168 | <para style="P2">[[o.company_vat or '']] </para> | ||
3231 | 169 | <para style="P2">[[o.contact_phone or '']] </para> | ||
3232 | 170 | <para style="P2">[[o.name_contact or '']] </para> | ||
3233 | 171 | </td> | ||
3234 | 172 | </tr> | ||
3235 | 173 | </blockTable> | ||
3236 | 174 | <para style="P2"> | ||
3237 | 175 | <font color="white"> </font> | ||
3238 | 176 | </para> | ||
3239 | 177 | <para style="P8">FACTURAS DE SALIDA</para> | ||
3240 | 178 | <para style="P7"> | ||
3241 | 179 | <font color="white"> </font> | ||
3242 | 180 | </para> | ||
3243 | 181 | <blockTable colWidths="73.0,103.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula3"> | ||
3244 | 182 | <tr> | ||
3245 | 183 | <td> | ||
3246 | 184 | <para style="Table Heading">Fecha</para> | ||
3247 | 185 | </td> | ||
3248 | 186 | <td> | ||
3249 | 187 | <para style="Table Heading">Empresa</para> | ||
3250 | 188 | </td> | ||
3251 | 189 | <td> | ||
3252 | 190 | <para style="Table Heading">CIF/NIF</para> | ||
3253 | 191 | </td> | ||
3254 | 192 | <td> | ||
3255 | 193 | <para style="Table Heading">Número de factura</para> | ||
3256 | 194 | </td> | ||
3257 | 195 | <td> | ||
3258 | 196 | <para style="Table Heading">Base imponible</para> | ||
3259 | 197 | </td> | ||
3260 | 198 | <td> | ||
3261 | 199 | <para style="Table Heading">Cuota impuesto</para> | ||
3262 | 200 | </td> | ||
3263 | 201 | <td> | ||
3264 | 202 | <para style="Table Heading">Total factura</para> | ||
3265 | 203 | </td> | ||
3266 | 204 | </tr> | ||
3267 | 205 | </blockTable> | ||
3268 | 206 | <para style="P6"> | ||
3269 | 207 | <font color="white"> </font> | ||
3270 | 208 | </para> | ||
3271 | 209 | <section> | ||
3272 | 210 | <para style="P6">[[repeatIn(o.issued,'r')]]</para> | ||
3273 | 211 | <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula4"> | ||
3274 | 212 | <tr> | ||
3275 | 213 | <td> | ||
3276 | 214 | <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para> | ||
3277 | 215 | </td> | ||
3278 | 216 | <td> | ||
3279 | 217 | <para style="P9">[[r.partner_id.name]]</para> | ||
3280 | 218 | </td> | ||
3281 | 219 | <td> | ||
3282 | 220 | <para style="P11">[[r.partner_vat]]</para> | ||
3283 | 221 | </td> | ||
3284 | 222 | <td> | ||
3285 | 223 | <para style="P11">[[r.invoice_id.number]]</para> | ||
3286 | 224 | </td> | ||
3287 | 225 | <td> | ||
3288 | 226 | <para style="P10">[[r.base_tax]]</para> | ||
3289 | 227 | </td> | ||
3290 | 228 | <td> | ||
3291 | 229 | <para style="P10">[[r.amount_tax or '0']]</para> | ||
3292 | 230 | </td> | ||
3293 | 231 | <td> | ||
3294 | 232 | <para style="P10">[[r.total or '0']]</para> | ||
3295 | 233 | </td> | ||
3296 | 234 | </tr> | ||
3297 | 235 | </blockTable> | ||
3298 | 236 | <para style="P5"> | ||
3299 | 237 | <font color="white"> </font> | ||
3300 | 238 | </para> | ||
3301 | 239 | </section> | ||
3302 | 240 | <para style="P2"> | ||
3303 | 241 | <font color="white"> </font> | ||
3304 | 242 | </para> | ||
3305 | 243 | <para style="P8">FACTURAS DE ENTRADA</para> | ||
3306 | 244 | <para style="P7"> | ||
3307 | 245 | <font color="white"> </font> | ||
3308 | 246 | </para> | ||
3309 | 247 | <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula5"> | ||
3310 | 248 | <tr> | ||
3311 | 249 | <td> | ||
3312 | 250 | <para style="Table Heading">Fecha</para> | ||
3313 | 251 | </td> | ||
3314 | 252 | <td> | ||
3315 | 253 | <para style="Table Heading">Empresa</para> | ||
3316 | 254 | </td> | ||
3317 | 255 | <td> | ||
3318 | 256 | <para style="Table Heading">CIF/NIF</para> | ||
3319 | 257 | </td> | ||
3320 | 258 | <td> | ||
3321 | 259 | <para style="Table Heading">Nº de factura</para> | ||
3322 | 260 | </td> | ||
3323 | 261 | <td> | ||
3324 | 262 | <para style="Table Heading">Base imponible</para> | ||
3325 | 263 | </td> | ||
3326 | 264 | <td> | ||
3327 | 265 | <para style="Table Heading">Cuota impuesto</para> | ||
3328 | 266 | </td> | ||
3329 | 267 | <td> | ||
3330 | 268 | <para style="Table Heading">Total factura</para> | ||
3331 | 269 | </td> | ||
3332 | 270 | </tr> | ||
3333 | 271 | </blockTable> | ||
3334 | 272 | <para style="P6"> | ||
3335 | 273 | <font color="white"> </font> | ||
3336 | 274 | </para> | ||
3337 | 275 | <section> | ||
3338 | 276 | <para style="P6">[[repeatIn(o.received,'r')]]</para> | ||
3339 | 277 | <blockTable colWidths="74.0,102.0,60.0,62.0,61.0,59.0,64.0" repeatRows="1" style="Taula6"> | ||
3340 | 278 | <tr> | ||
3341 | 279 | <td> | ||
3342 | 280 | <para style="P11">[[ formatLang(r.invoice_id.date_invoice,date=True) ]]</para> | ||
3343 | 281 | </td> | ||
3344 | 282 | <td> | ||
3345 | 283 | <para style="P9">[[r.partner_id.name]]</para> | ||
3346 | 284 | </td> | ||
3347 | 285 | <td> | ||
3348 | 286 | <para style="P11">[[r.partner_vat]]</para> | ||
3349 | 287 | </td> | ||
3350 | 288 | <td> | ||
3351 | 289 | <para style="P11">[[r.invoice_id.reference or '0']]</para> | ||
3352 | 290 | </td> | ||
3353 | 291 | <td> | ||
3354 | 292 | <para style="P10">[[r.base_tax]]</para> | ||
3355 | 293 | </td> | ||
3356 | 294 | <td> | ||
3357 | 295 | <para style="P10">[[r.amount_tax or '0']]</para> | ||
3358 | 296 | </td> | ||
3359 | 297 | <td> | ||
3360 | 298 | <para style="P10">[[r.total or '0']]</para> | ||
3361 | 299 | </td> | ||
3362 | 300 | </tr> | ||
3363 | 301 | </blockTable> | ||
3364 | 302 | <para style="P5"> | ||
3365 | 303 | <font color="white"> </font> | ||
3366 | 304 | </para> | ||
3367 | 305 | </section> | ||
3368 | 306 | <para style="P5"> | ||
3369 | 307 | <font color="white"> </font> | ||
3370 | 308 | </para> | ||
3371 | 309 | </story> | ||
3372 | 310 | </document> | ||
3373 | 0 | 311 | ||
3374 | === added file 'l10n_es_aeat_mod340/report/vat_book.sxw' | |||
3375 | 1 | Binary 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 | 312 | Binary 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 |
3376 | === modified file 'l10n_es_aeat_mod340/security/ir.model.access.csv' | |||
3377 | --- l10n_es_aeat_mod340/security/ir.model.access.csv 2012-09-08 15:32:47 +0000 | |||
3378 | +++ l10n_es_aeat_mod340/security/ir.model.access.csv 2014-02-03 11:19:23 +0000 | |||
3379 | @@ -1,15 +1,13 @@ | |||
3395 | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | 1 | id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
3396 | 2 | "access_l10n_es_aeat_mod340","l10n_es_aeat_mod340","model_l10n_es_aeat_mod340","account.group_account_user",1,0,0,0 | 2 | access_l10n_es_aeat_mod340,l10n_es_aeat_mod340,model_l10n_es_aeat_mod340,account.group_account_user,1,0,0,0 |
3397 | 3 | "access_l10n_es_aeat_mod340_manager","l10n_es_aeat_mod340 manager","model_l10n_es_aeat_mod340","account.group_account_manager",1,1,1,1 | 3 | access_l10n_es_aeat_mod340_manager,l10n_es_aeat_mod340 manager,model_l10n_es_aeat_mod340,account.group_account_manager,1,1,1,1 |
3398 | 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,0 | 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,0 |
3399 | 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,1 | 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,1 |
3400 | 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,0 | 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,0 |
3401 | 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,1 | 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,1 |
3402 | 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,0 | 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,0 |
3403 | 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,1 | 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,1 |
3404 | 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,0 | 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,0 |
3405 | 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,1 | 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,1 |
3406 | 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,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,1 |
3407 | 13 | 13 | access_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 | |
3393 | 14 | |||
3394 | 15 | |||
3408 | 16 | 14 | ||
3409 | === added directory 'l10n_es_aeat_mod340/static' | |||
3410 | === added directory 'l10n_es_aeat_mod340/static/src' | |||
3411 | === added directory 'l10n_es_aeat_mod340/static/src/img' | |||
3412 | === added file 'l10n_es_aeat_mod340/static/src/img/icon.png' | |||
3413 | 17 | Binary 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 | 15 | Binary 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 |
3414 | === added file 'l10n_es_aeat_mod340/static/src/img/icon_source.svg' | |||
3415 | --- l10n_es_aeat_mod340/static/src/img/icon_source.svg 1970-01-01 00:00:00 +0000 | |||
3416 | +++ l10n_es_aeat_mod340/static/src/img/icon_source.svg 2014-02-03 11:19:23 +0000 | |||
3417 | @@ -0,0 +1,99 @@ | |||
3418 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
3419 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
3420 | 3 | |||
3421 | 4 | <svg | ||
3422 | 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
3423 | 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
3424 | 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
3425 | 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
3426 | 9 | xmlns="http://www.w3.org/2000/svg" | ||
3427 | 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
3428 | 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
3429 | 12 | id="svg2" | ||
3430 | 13 | version="1.1" | ||
3431 | 14 | inkscape:version="0.48.3.1 r9886" | ||
3432 | 15 | width="128" | ||
3433 | 16 | height="128" | ||
3434 | 17 | sodipodi:docname="icon_source.svg" | ||
3435 | 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" | ||
3436 | 19 | inkscape:export-xdpi="90" | ||
3437 | 20 | inkscape:export-ydpi="90"> | ||
3438 | 21 | <metadata | ||
3439 | 22 | id="metadata8"> | ||
3440 | 23 | <rdf:RDF> | ||
3441 | 24 | <cc:Work | ||
3442 | 25 | rdf:about=""> | ||
3443 | 26 | <dc:format>image/svg+xml</dc:format> | ||
3444 | 27 | <dc:type | ||
3445 | 28 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
3446 | 29 | <dc:title></dc:title> | ||
3447 | 30 | </cc:Work> | ||
3448 | 31 | </rdf:RDF> | ||
3449 | 32 | </metadata> | ||
3450 | 33 | <defs | ||
3451 | 34 | id="defs6" /> | ||
3452 | 35 | <sodipodi:namedview | ||
3453 | 36 | pagecolor="#ffffff" | ||
3454 | 37 | bordercolor="#666666" | ||
3455 | 38 | borderopacity="1" | ||
3456 | 39 | objecttolerance="10" | ||
3457 | 40 | gridtolerance="10" | ||
3458 | 41 | guidetolerance="10" | ||
3459 | 42 | inkscape:pageopacity="0" | ||
3460 | 43 | inkscape:pageshadow="2" | ||
3461 | 44 | inkscape:window-width="1920" | ||
3462 | 45 | inkscape:window-height="1028" | ||
3463 | 46 | id="namedview4" | ||
3464 | 47 | showgrid="false" | ||
3465 | 48 | inkscape:zoom="9.2903224" | ||
3466 | 49 | inkscape:cx="65.663825" | ||
3467 | 50 | inkscape:cy="38.86526" | ||
3468 | 51 | inkscape:window-x="1437" | ||
3469 | 52 | inkscape:window-y="-3" | ||
3470 | 53 | inkscape:window-maximized="1" | ||
3471 | 54 | inkscape:current-layer="svg2" | ||
3472 | 55 | fit-margin-top="0" | ||
3473 | 56 | fit-margin-left="0" | ||
3474 | 57 | fit-margin-right="0" | ||
3475 | 58 | fit-margin-bottom="0" /> | ||
3476 | 59 | <g | ||
3477 | 60 | id="g3003" | ||
3478 | 61 | transform="translate(-0.07356158,0)"> | ||
3479 | 62 | <g | ||
3480 | 63 | transform="translate(0,-3.31149)" | ||
3481 | 64 | id="g2998"> | ||
3482 | 65 | <rect | ||
3483 | 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" | ||
3484 | 67 | id="rect2998" | ||
3485 | 68 | width="51.523285" | ||
3486 | 69 | height="118.80513" | ||
3487 | 70 | x="13.910543" | ||
3488 | 71 | y="3.8516259" | ||
3489 | 72 | ry="0" | ||
3490 | 73 | transform="matrix(1,0,0.51069126,0.85976417,0,0)" /> | ||
3491 | 74 | <path | ||
3492 | 75 | style="fill:#ffd715;fill-opacity:1;stroke:none" | ||
3493 | 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" | ||
3494 | 77 | id="path3000" | ||
3495 | 78 | inkscape:connector-curvature="0" | ||
3496 | 79 | sodipodi:nodetypes="ccccccccc" /> | ||
3497 | 80 | <path | ||
3498 | 81 | style="fill:#db2f34;fill-opacity:1;stroke:none" | ||
3499 | 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" | ||
3500 | 83 | id="path3021" | ||
3501 | 84 | inkscape:connector-curvature="0" | ||
3502 | 85 | sodipodi:nodetypes="ccccc" /> | ||
3503 | 86 | </g> | ||
3504 | 87 | </g> | ||
3505 | 88 | <text | ||
3506 | 89 | sodipodi:linespacing="125%" | ||
3507 | 90 | id="text2988" | ||
3508 | 91 | y="127.48399" | ||
3509 | 92 | x="-1.5893271" | ||
3510 | 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" | ||
3511 | 94 | xml:space="preserve"><tspan | ||
3512 | 95 | y="127.48399" | ||
3513 | 96 | x="-1.5893271" | ||
3514 | 97 | id="tspan2990" | ||
3515 | 98 | sodipodi:role="line">340</tspan></text> | ||
3516 | 99 | </svg> | ||
3517 | 0 | 100 | ||
3518 | === added file 'l10n_es_aeat_mod340/taxes_data.xml' | |||
3519 | --- l10n_es_aeat_mod340/taxes_data.xml 1970-01-01 00:00:00 +0000 | |||
3520 | +++ l10n_es_aeat_mod340/taxes_data.xml 2014-02-03 11:19:23 +0000 | |||
3521 | @@ -0,0 +1,192 @@ | |||
3522 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
3523 | 2 | <openerp> | ||
3524 | 3 | <data noupdate="0"> | ||
3525 | 4 | <!-- Bases incluidas en el Modelo 340 | ||
3526 | 5 | Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13) | ||
3527 | 6 | --> | ||
3528 | 7 | <!--IVA Devengado Base imponible--> | ||
3529 | 8 | <record id="l10n_es.iva_dev_base" model="account.tax.code.template"> | ||
3530 | 9 | <field name="mod340" eval="True"/> | ||
3531 | 10 | </record> | ||
3532 | 11 | <!-- Exentas IVA --> | ||
3533 | 12 | <record id="l10n_es.base_sop_ex" model="account.tax.code.template"> | ||
3534 | 13 | <field name="mod340" eval="True"/> | ||
3535 | 14 | </record> | ||
3536 | 15 | |||
3537 | 16 | <record id="l10n_es.base_rep_ex" model="account.tax.code.template"> | ||
3538 | 17 | <field name="mod340" eval="True"/> | ||
3539 | 18 | </record> | ||
3540 | 19 | <!--Regimen general--> | ||
3541 | 20 | <record id="l10n_es.iva_dev_01" model="account.tax.code.template"> | ||
3542 | 21 | <field name="mod340" eval="True"/> | ||
3543 | 22 | </record> | ||
3544 | 23 | |||
3545 | 24 | <record id="l10n_es.iva_dev_04" model="account.tax.code.template"> | ||
3546 | 25 | <field name="mod340" eval="True"/> | ||
3547 | 26 | </record> | ||
3548 | 27 | |||
3549 | 28 | <record id="l10n_es.iva_dev_04_8" model="account.tax.code.template"> | ||
3550 | 29 | <field name="mod340" eval="True"/> | ||
3551 | 30 | </record> | ||
3552 | 31 | |||
3553 | 32 | <record id="l10n_es.iva_dev_04_10" model="account.tax.code.template"> | ||
3554 | 33 | <field name="mod340" eval="True"/> | ||
3555 | 34 | </record> | ||
3556 | 35 | |||
3557 | 36 | <record id="l10n_es.iva_dev_07" model="account.tax.code.template"> | ||
3558 | 37 | <field name="mod340" eval="True"/> | ||
3559 | 38 | </record> | ||
3560 | 39 | |||
3561 | 40 | <record id="l10n_es.iva_dev_07_18" model="account.tax.code.template"> | ||
3562 | 41 | <field name="mod340" eval="True"/> | ||
3563 | 42 | </record> | ||
3564 | 43 | |||
3565 | 44 | <record id="l10n_es.iva_dev_07_21" model="account.tax.code.template"> | ||
3566 | 45 | <field name="mod340" eval="True"/> | ||
3567 | 46 | </record> | ||
3568 | 47 | <!-- ADQUISICIONES INTRACOMUNITARIAS --> | ||
3569 | 48 | <record id="l10n_es.iva_dev_19" model="account.tax.code.template"> | ||
3570 | 49 | <field name="mod340" eval="True"/> | ||
3571 | 50 | </record> | ||
3572 | 51 | <!--IVA DEDUCIBLE --> | ||
3573 | 52 | <record id="l10n_es.iva_ded_base_total" model="account.tax.code.template"> | ||
3574 | 53 | <field name="mod340" eval="True"/> | ||
3575 | 54 | </record> | ||
3576 | 55 | <!-- Base en OPERACIONES INTERIORES CORRIENTES--> | ||
3577 | 56 | <record id="l10n_es.iva_ded_22" model="account.tax.code.template"> | ||
3578 | 57 | <field name="mod340" eval="True"/> | ||
3579 | 58 | </record> | ||
3580 | 59 | |||
3581 | 60 | <record id="l10n_es.iva_ded_22_4" model="account.tax.code.template"> | ||
3582 | 61 | <field name="mod340" eval="True"/> | ||
3583 | 62 | </record> | ||
3584 | 63 | |||
3585 | 64 | <record id="l10n_es.iva_ded_22_7" model="account.tax.code.template"> | ||
3586 | 65 | <field name="mod340" eval="True"/> | ||
3587 | 66 | </record> | ||
3588 | 67 | |||
3589 | 68 | <record id="l10n_es.iva_ded_22_8" model="account.tax.code.template"> | ||
3590 | 69 | <field name="mod340" eval="True"/> | ||
3591 | 70 | </record> | ||
3592 | 71 | |||
3593 | 72 | <record id="l10n_es.iva_ded_22_10" model="account.tax.code.template"> | ||
3594 | 73 | <field name="mod340" eval="True"/> | ||
3595 | 74 | </record> | ||
3596 | 75 | |||
3597 | 76 | <record id="l10n_es.iva_ded_22_16" model="account.tax.code.template"> | ||
3598 | 77 | <field name="mod340" eval="True"/> | ||
3599 | 78 | </record> | ||
3600 | 79 | |||
3601 | 80 | <record id="l10n_es.iva_ded_22_18" model="account.tax.code.template"> | ||
3602 | 81 | <field name="mod340" eval="True"/> | ||
3603 | 82 | </record> | ||
3604 | 83 | |||
3605 | 84 | <record id="l10n_es.iva_ded_22_21" model="account.tax.code.template"> | ||
3606 | 85 | <field name="mod340" eval="True"/> | ||
3607 | 86 | </record> | ||
3608 | 87 | <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN--> | ||
3609 | 88 | <record id="l10n_es.iva_ded_24" model="account.tax.code.template"> | ||
3610 | 89 | <field name="mod340" eval="True"/> | ||
3611 | 90 | </record> | ||
3612 | 91 | |||
3613 | 92 | <record id="l10n_es.iva_ded_24_4" model="account.tax.code.template"> | ||
3614 | 93 | <field name="mod340" eval="True"/> | ||
3615 | 94 | </record> | ||
3616 | 95 | |||
3617 | 96 | <record id="l10n_es.iva_ded_24_7" model="account.tax.code.template"> | ||
3618 | 97 | <field name="mod340" eval="True"/> | ||
3619 | 98 | </record> | ||
3620 | 99 | |||
3621 | 100 | <record id="l10n_es.iva_ded_24_8" model="account.tax.code.template"> | ||
3622 | 101 | <field name="mod340" eval="True"/> | ||
3623 | 102 | </record> | ||
3624 | 103 | |||
3625 | 104 | <record id="l10n_es.iva_ded_24_10" model="account.tax.code.template"> | ||
3626 | 105 | <field name="mod340" eval="True"/> | ||
3627 | 106 | </record> | ||
3628 | 107 | |||
3629 | 108 | <record id="l10n_es.iva_ded_24_16" model="account.tax.code.template"> | ||
3630 | 109 | <field name="mod340" eval="True"/> | ||
3631 | 110 | </record> | ||
3632 | 111 | |||
3633 | 112 | <record id="l10n_es.iva_ded_24_18" model="account.tax.code.template"> | ||
3634 | 113 | <field name="mod340" eval="True"/> | ||
3635 | 114 | </record> | ||
3636 | 115 | |||
3637 | 116 | <record id="l10n_es.iva_ded_24_21" model="account.tax.code.template"> | ||
3638 | 117 | <field name="mod340" eval="True"/> | ||
3639 | 118 | </record> | ||
3640 | 119 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES--> | ||
3641 | 120 | <record id="l10n_es.iva_ded_30" model="account.tax.code.template"> | ||
3642 | 121 | <field name="mod340" eval="True"/> | ||
3643 | 122 | </record> | ||
3644 | 123 | |||
3645 | 124 | <record id="l10n_es.iva_ded_30_4" model="account.tax.code.template"> | ||
3646 | 125 | <field name="mod340" eval="True"/> | ||
3647 | 126 | </record> | ||
3648 | 127 | |||
3649 | 128 | <record id="l10n_es.iva_ded_30_7" model="account.tax.code.template"> | ||
3650 | 129 | <field name="mod340" eval="True"/> | ||
3651 | 130 | </record> | ||
3652 | 131 | |||
3653 | 132 | <record id="l10n_es.iva_ded_30_8" model="account.tax.code.template"> | ||
3654 | 133 | <field name="mod340" eval="True"/> | ||
3655 | 134 | </record> | ||
3656 | 135 | |||
3657 | 136 | <record id="l10n_es.iva_ded_30_10" model="account.tax.code.template"> | ||
3658 | 137 | <field name="mod340" eval="True"/> | ||
3659 | 138 | </record> | ||
3660 | 139 | |||
3661 | 140 | <record id="l10n_es.iva_ded_30_16" model="account.tax.code.template"> | ||
3662 | 141 | <field name="mod340" eval="True"/> | ||
3663 | 142 | </record> | ||
3664 | 143 | |||
3665 | 144 | <record id="l10n_es.iva_ded_30_18" model="account.tax.code.template"> | ||
3666 | 145 | <field name="mod340" eval="True"/> | ||
3667 | 146 | </record> | ||
3668 | 147 | |||
3669 | 148 | <record id="l10n_es.iva_ded_30_21" model="account.tax.code.template"> | ||
3670 | 149 | <field name="mod340" eval="True"/> | ||
3671 | 150 | </record> | ||
3672 | 151 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN--> | ||
3673 | 152 | <record id="l10n_es.iva_ded_32" model="account.tax.code.template"> | ||
3674 | 153 | <field name="mod340" eval="True"/> | ||
3675 | 154 | </record> | ||
3676 | 155 | |||
3677 | 156 | <record id="l10n_es.iva_ded_32_4" model="account.tax.code.template"> | ||
3678 | 157 | <field name="mod340" eval="True"/> | ||
3679 | 158 | </record> | ||
3680 | 159 | |||
3681 | 160 | <record id="l10n_es.iva_ded_32_7" model="account.tax.code.template"> | ||
3682 | 161 | <field name="mod340" eval="True"/> | ||
3683 | 162 | </record> | ||
3684 | 163 | |||
3685 | 164 | <record id="l10n_es.iva_ded_32_8" model="account.tax.code.template"> | ||
3686 | 165 | <field name="mod340" eval="True"/> | ||
3687 | 166 | </record> | ||
3688 | 167 | |||
3689 | 168 | <record id="l10n_es.iva_ded_32_10" model="account.tax.code.template"> | ||
3690 | 169 | <field name="mod340" eval="True"/> | ||
3691 | 170 | </record> | ||
3692 | 171 | |||
3693 | 172 | <record id="l10n_es.iva_ded_32_16" model="account.tax.code.template"> | ||
3694 | 173 | <field name="mod340" eval="True"/> | ||
3695 | 174 | </record> | ||
3696 | 175 | |||
3697 | 176 | <record id="l10n_es.iva_ded_32_18" model="account.tax.code.template"> | ||
3698 | 177 | <field name="mod340" eval="True"/> | ||
3699 | 178 | </record> | ||
3700 | 179 | |||
3701 | 180 | <record id="l10n_es.iva_ded_32_21" model="account.tax.code.template"> | ||
3702 | 181 | <field name="mod340" eval="True"/> | ||
3703 | 182 | </record> | ||
3704 | 183 | <!--Otros Códigos de Impuestos--> | ||
3705 | 184 | <record id="l10n_es.base_intra_42" model="account.tax.code.template"> | ||
3706 | 185 | <field name="mod340" eval="True"/> | ||
3707 | 186 | </record> | ||
3708 | 187 | |||
3709 | 188 | <record id="l10n_es.base_extra_44" model="account.tax.code.template"> | ||
3710 | 189 | <field name="mod340" eval="True"/> | ||
3711 | 190 | </record> | ||
3712 | 191 | </data> | ||
3713 | 192 | </openerp> | ||
3714 | 0 | \ No newline at end of file | 193 | \ No newline at end of file |
3715 | 1 | 194 | ||
3716 | === added file 'l10n_es_aeat_mod340/taxes_data_assoc.xml' | |||
3717 | --- l10n_es_aeat_mod340/taxes_data_assoc.xml 1970-01-01 00:00:00 +0000 | |||
3718 | +++ l10n_es_aeat_mod340/taxes_data_assoc.xml 2014-02-03 11:19:23 +0000 | |||
3719 | @@ -0,0 +1,192 @@ | |||
3720 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
3721 | 2 | <openerp> | ||
3722 | 3 | <data noupdate="0"> | ||
3723 | 4 | <!-- Bases incluidas en el Modelo 340 | ||
3724 | 5 | Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13) | ||
3725 | 6 | --> | ||
3726 | 7 | <!--IVA Devengado Base imponible--> | ||
3727 | 8 | <record id="l10n_es.iva_assoc_dev_base" model="account.tax.code.template"> | ||
3728 | 9 | <field name="mod340" eval="True"/> | ||
3729 | 10 | </record> | ||
3730 | 11 | <!-- Exentas IVA --> | ||
3731 | 12 | <record id="l10n_es.base_assoc_sop_ex" model="account.tax.code.template"> | ||
3732 | 13 | <field name="mod340" eval="True"/> | ||
3733 | 14 | </record> | ||
3734 | 15 | |||
3735 | 16 | <record id="l10n_es.base_assoc_rep_ex" model="account.tax.code.template"> | ||
3736 | 17 | <field name="mod340" eval="True"/> | ||
3737 | 18 | </record> | ||
3738 | 19 | <!--Regimen general--> | ||
3739 | 20 | <record id="l10n_es.iva_assoc_dev_01" model="account.tax.code.template"> | ||
3740 | 21 | <field name="mod340" eval="True"/> | ||
3741 | 22 | </record> | ||
3742 | 23 | |||
3743 | 24 | <record id="l10n_es.iva_assoc_dev_04" model="account.tax.code.template"> | ||
3744 | 25 | <field name="mod340" eval="True"/> | ||
3745 | 26 | </record> | ||
3746 | 27 | |||
3747 | 28 | <record id="l10n_es.iva_assoc_dev_04_8" model="account.tax.code.template"> | ||
3748 | 29 | <field name="mod340" eval="True"/> | ||
3749 | 30 | </record> | ||
3750 | 31 | |||
3751 | 32 | <record id="l10n_es.iva_assoc_dev_04_10" model="account.tax.code.template"> | ||
3752 | 33 | <field name="mod340" eval="True"/> | ||
3753 | 34 | </record> | ||
3754 | 35 | |||
3755 | 36 | <record id="l10n_es.iva_assoc_dev_07" model="account.tax.code.template"> | ||
3756 | 37 | <field name="mod340" eval="True"/> | ||
3757 | 38 | </record> | ||
3758 | 39 | |||
3759 | 40 | <record id="l10n_es.iva_assoc_dev_07_18" model="account.tax.code.template"> | ||
3760 | 41 | <field name="mod340" eval="True"/> | ||
3761 | 42 | </record> | ||
3762 | 43 | |||
3763 | 44 | <record id="l10n_es.iva_assoc_dev_07_21" model="account.tax.code.template"> | ||
3764 | 45 | <field name="mod340" eval="True"/> | ||
3765 | 46 | </record> | ||
3766 | 47 | <!-- ADQUISICIONES INTRACOMUNITARIAS --> | ||
3767 | 48 | <record id="l10n_es.iva_assoc_dev_19" model="account.tax.code.template"> | ||
3768 | 49 | <field name="mod340" eval="True"/> | ||
3769 | 50 | </record> | ||
3770 | 51 | <!--IVA DEDUCIBLE --> | ||
3771 | 52 | <record id="l10n_es.iva_assoc_ded_base_total" model="account.tax.code.template"> | ||
3772 | 53 | <field name="mod340" eval="True"/> | ||
3773 | 54 | </record> | ||
3774 | 55 | <!-- Base en OPERACIONES INTERIORES CORRIENTES--> | ||
3775 | 56 | <record id="l10n_es.iva_assoc_ded_22" model="account.tax.code.template"> | ||
3776 | 57 | <field name="mod340" eval="True"/> | ||
3777 | 58 | </record> | ||
3778 | 59 | |||
3779 | 60 | <record id="l10n_es.iva_assoc_ded_22_4" model="account.tax.code.template"> | ||
3780 | 61 | <field name="mod340" eval="True"/> | ||
3781 | 62 | </record> | ||
3782 | 63 | |||
3783 | 64 | <record id="l10n_es.iva_assoc_ded_22_7" model="account.tax.code.template"> | ||
3784 | 65 | <field name="mod340" eval="True"/> | ||
3785 | 66 | </record> | ||
3786 | 67 | |||
3787 | 68 | <record id="l10n_es.iva_assoc_ded_22_8" model="account.tax.code.template"> | ||
3788 | 69 | <field name="mod340" eval="True"/> | ||
3789 | 70 | </record> | ||
3790 | 71 | |||
3791 | 72 | <record id="l10n_es.iva_assoc_ded_22_10" model="account.tax.code.template"> | ||
3792 | 73 | <field name="mod340" eval="True"/> | ||
3793 | 74 | </record> | ||
3794 | 75 | |||
3795 | 76 | <record id="l10n_es.iva_assoc_ded_22_16" model="account.tax.code.template"> | ||
3796 | 77 | <field name="mod340" eval="True"/> | ||
3797 | 78 | </record> | ||
3798 | 79 | |||
3799 | 80 | <record id="l10n_es.iva_assoc_ded_22_18" model="account.tax.code.template"> | ||
3800 | 81 | <field name="mod340" eval="True"/> | ||
3801 | 82 | </record> | ||
3802 | 83 | |||
3803 | 84 | <record id="l10n_es.iva_assoc_ded_22_21" model="account.tax.code.template"> | ||
3804 | 85 | <field name="mod340" eval="True"/> | ||
3805 | 86 | </record> | ||
3806 | 87 | <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN--> | ||
3807 | 88 | <record id="l10n_es.iva_assoc_ded_24" model="account.tax.code.template"> | ||
3808 | 89 | <field name="mod340" eval="True"/> | ||
3809 | 90 | </record> | ||
3810 | 91 | |||
3811 | 92 | <record id="l10n_es.iva_assoc_ded_24_4" model="account.tax.code.template"> | ||
3812 | 93 | <field name="mod340" eval="True"/> | ||
3813 | 94 | </record> | ||
3814 | 95 | |||
3815 | 96 | <record id="l10n_es.iva_assoc_ded_24_7" model="account.tax.code.template"> | ||
3816 | 97 | <field name="mod340" eval="True"/> | ||
3817 | 98 | </record> | ||
3818 | 99 | |||
3819 | 100 | <record id="l10n_es.iva_assoc_ded_24_8" model="account.tax.code.template"> | ||
3820 | 101 | <field name="mod340" eval="True"/> | ||
3821 | 102 | </record> | ||
3822 | 103 | |||
3823 | 104 | <record id="l10n_es.iva_assoc_ded_24_10" model="account.tax.code.template"> | ||
3824 | 105 | <field name="mod340" eval="True"/> | ||
3825 | 106 | </record> | ||
3826 | 107 | |||
3827 | 108 | <record id="l10n_es.iva_assoc_ded_24_16" model="account.tax.code.template"> | ||
3828 | 109 | <field name="mod340" eval="True"/> | ||
3829 | 110 | </record> | ||
3830 | 111 | |||
3831 | 112 | <record id="l10n_es.iva_assoc_ded_24_18" model="account.tax.code.template"> | ||
3832 | 113 | <field name="mod340" eval="True"/> | ||
3833 | 114 | </record> | ||
3834 | 115 | |||
3835 | 116 | <record id="l10n_es.iva_assoc_ded_24_21" model="account.tax.code.template"> | ||
3836 | 117 | <field name="mod340" eval="True"/> | ||
3837 | 118 | </record> | ||
3838 | 119 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES--> | ||
3839 | 120 | <record id="l10n_es.iva_assoc_ded_30" model="account.tax.code.template"> | ||
3840 | 121 | <field name="mod340" eval="True"/> | ||
3841 | 122 | </record> | ||
3842 | 123 | |||
3843 | 124 | <record id="l10n_es.iva_assoc_ded_30_4" model="account.tax.code.template"> | ||
3844 | 125 | <field name="mod340" eval="True"/> | ||
3845 | 126 | </record> | ||
3846 | 127 | |||
3847 | 128 | <record id="l10n_es.iva_assoc_ded_30_7" model="account.tax.code.template"> | ||
3848 | 129 | <field name="mod340" eval="True"/> | ||
3849 | 130 | </record> | ||
3850 | 131 | |||
3851 | 132 | <record id="l10n_es.iva_assoc_ded_30_8" model="account.tax.code.template"> | ||
3852 | 133 | <field name="mod340" eval="True"/> | ||
3853 | 134 | </record> | ||
3854 | 135 | |||
3855 | 136 | <record id="l10n_es.iva_assoc_ded_30_10" model="account.tax.code.template"> | ||
3856 | 137 | <field name="mod340" eval="True"/> | ||
3857 | 138 | </record> | ||
3858 | 139 | |||
3859 | 140 | <record id="l10n_es.iva_assoc_ded_30_16" model="account.tax.code.template"> | ||
3860 | 141 | <field name="mod340" eval="True"/> | ||
3861 | 142 | </record> | ||
3862 | 143 | |||
3863 | 144 | <record id="l10n_es.iva_assoc_ded_30_18" model="account.tax.code.template"> | ||
3864 | 145 | <field name="mod340" eval="True"/> | ||
3865 | 146 | </record> | ||
3866 | 147 | |||
3867 | 148 | <record id="l10n_es.iva_assoc_ded_30_21" model="account.tax.code.template"> | ||
3868 | 149 | <field name="mod340" eval="True"/> | ||
3869 | 150 | </record> | ||
3870 | 151 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN--> | ||
3871 | 152 | <record id="l10n_es.iva_assoc_ded_32" model="account.tax.code.template"> | ||
3872 | 153 | <field name="mod340" eval="True"/> | ||
3873 | 154 | </record> | ||
3874 | 155 | |||
3875 | 156 | <record id="l10n_es.iva_assoc_ded_32_4" model="account.tax.code.template"> | ||
3876 | 157 | <field name="mod340" eval="True"/> | ||
3877 | 158 | </record> | ||
3878 | 159 | |||
3879 | 160 | <record id="l10n_es.iva_assoc_ded_32_7" model="account.tax.code.template"> | ||
3880 | 161 | <field name="mod340" eval="True"/> | ||
3881 | 162 | </record> | ||
3882 | 163 | |||
3883 | 164 | <record id="l10n_es.iva_assoc_ded_32_8" model="account.tax.code.template"> | ||
3884 | 165 | <field name="mod340" eval="True"/> | ||
3885 | 166 | </record> | ||
3886 | 167 | |||
3887 | 168 | <record id="l10n_es.iva_assoc_ded_32_10" model="account.tax.code.template"> | ||
3888 | 169 | <field name="mod340" eval="True"/> | ||
3889 | 170 | </record> | ||
3890 | 171 | |||
3891 | 172 | <record id="l10n_es.iva_assoc_ded_32_16" model="account.tax.code.template"> | ||
3892 | 173 | <field name="mod340" eval="True"/> | ||
3893 | 174 | </record> | ||
3894 | 175 | |||
3895 | 176 | <record id="l10n_es.iva_assoc_ded_32_18" model="account.tax.code.template"> | ||
3896 | 177 | <field name="mod340" eval="True"/> | ||
3897 | 178 | </record> | ||
3898 | 179 | |||
3899 | 180 | <record id="l10n_es.iva_assoc_ded_32_21" model="account.tax.code.template"> | ||
3900 | 181 | <field name="mod340" eval="True"/> | ||
3901 | 182 | </record> | ||
3902 | 183 | <!--Otros Códigos de Impuestos--> | ||
3903 | 184 | <record id="l10n_es.base_intra_42" model="account.tax.code.template"> | ||
3904 | 185 | <field name="mod340" eval="True"/> | ||
3905 | 186 | </record> | ||
3906 | 187 | |||
3907 | 188 | <record id="l10n_es.base_extra_44" model="account.tax.code.template"> | ||
3908 | 189 | <field name="mod340" eval="True"/> | ||
3909 | 190 | </record> | ||
3910 | 191 | </data> | ||
3911 | 192 | </openerp> | ||
3912 | 0 | \ No newline at end of file | 193 | \ No newline at end of file |
3913 | 1 | 194 | ||
3914 | === added file 'l10n_es_aeat_mod340/taxes_data_pymes.xml' | |||
3915 | --- l10n_es_aeat_mod340/taxes_data_pymes.xml 1970-01-01 00:00:00 +0000 | |||
3916 | +++ l10n_es_aeat_mod340/taxes_data_pymes.xml 2014-02-03 11:19:23 +0000 | |||
3917 | @@ -0,0 +1,192 @@ | |||
3918 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
3919 | 2 | <openerp> | ||
3920 | 3 | <data noupdate="0"> | ||
3921 | 4 | <!-- Bases incluidas en el Modelo 340 | ||
3922 | 5 | Ignacio Ibeas (Acysos) - ignacio@acysos.com (2013-05-13) | ||
3923 | 6 | --> | ||
3924 | 7 | <!--IVA Devengado Base imponible--> | ||
3925 | 8 | <record id="l10n_es.iva_pymes_dev_base" model="account.tax.code.template"> | ||
3926 | 9 | <field name="mod340" eval="True"/> | ||
3927 | 10 | </record> | ||
3928 | 11 | <!-- Exentas IVA --> | ||
3929 | 12 | <record id="l10n_es.base_pymes_sop_ex" model="account.tax.code.template"> | ||
3930 | 13 | <field name="mod340" eval="True"/> | ||
3931 | 14 | </record> | ||
3932 | 15 | |||
3933 | 16 | <record id="l10n_es.base_pymes_rep_ex" model="account.tax.code.template"> | ||
3934 | 17 | <field name="mod340" eval="True"/> | ||
3935 | 18 | </record> | ||
3936 | 19 | <!--Regimen general--> | ||
3937 | 20 | <record id="l10n_es.iva_pymes_dev_01" model="account.tax.code.template"> | ||
3938 | 21 | <field name="mod340" eval="True"/> | ||
3939 | 22 | </record> | ||
3940 | 23 | |||
3941 | 24 | <record id="l10n_es.iva_pymes_dev_04" model="account.tax.code.template"> | ||
3942 | 25 | <field name="mod340" eval="True"/> | ||
3943 | 26 | </record> | ||
3944 | 27 | |||
3945 | 28 | <record id="l10n_es.iva_pymes_dev_04_8" model="account.tax.code.template"> | ||
3946 | 29 | <field name="mod340" eval="True"/> | ||
3947 | 30 | </record> | ||
3948 | 31 | |||
3949 | 32 | <record id="l10n_es.iva_pymes_dev_04_10" model="account.tax.code.template"> | ||
3950 | 33 | <field name="mod340" eval="True"/> | ||
3951 | 34 | </record> | ||
3952 | 35 | |||
3953 | 36 | <record id="l10n_es.iva_pymes_dev_07" model="account.tax.code.template"> | ||
3954 | 37 | <field name="mod340" eval="True"/> | ||
3955 | 38 | </record> | ||
3956 | 39 | |||
3957 | 40 | <record id="l10n_es.iva_pymes_dev_07_18" model="account.tax.code.template"> | ||
3958 | 41 | <field name="mod340" eval="True"/> | ||
3959 | 42 | </record> | ||
3960 | 43 | |||
3961 | 44 | <record id="l10n_es.iva_pymes_dev_07_21" model="account.tax.code.template"> | ||
3962 | 45 | <field name="mod340" eval="True"/> | ||
3963 | 46 | </record> | ||
3964 | 47 | <!-- ADQUISICIONES INTRACOMUNITARIAS --> | ||
3965 | 48 | <record id="l10n_es.iva_pymes_dev_19" model="account.tax.code.template"> | ||
3966 | 49 | <field name="mod340" eval="True"/> | ||
3967 | 50 | </record> | ||
3968 | 51 | <!--IVA DEDUCIBLE --> | ||
3969 | 52 | <record id="l10n_es.iva_pymes_ded_base_total" model="account.tax.code.template"> | ||
3970 | 53 | <field name="mod340" eval="True"/> | ||
3971 | 54 | </record> | ||
3972 | 55 | <!-- Base en OPERACIONES INTERIORES CORRIENTES--> | ||
3973 | 56 | <record id="l10n_es.iva_pymes_ded_22" model="account.tax.code.template"> | ||
3974 | 57 | <field name="mod340" eval="True"/> | ||
3975 | 58 | </record> | ||
3976 | 59 | |||
3977 | 60 | <record id="l10n_es.iva_pymes_ded_22_4" model="account.tax.code.template"> | ||
3978 | 61 | <field name="mod340" eval="True"/> | ||
3979 | 62 | </record> | ||
3980 | 63 | |||
3981 | 64 | <record id="l10n_es.iva_pymes_ded_22_7" model="account.tax.code.template"> | ||
3982 | 65 | <field name="mod340" eval="True"/> | ||
3983 | 66 | </record> | ||
3984 | 67 | |||
3985 | 68 | <record id="l10n_es.iva_pymes_ded_22_8" model="account.tax.code.template"> | ||
3986 | 69 | <field name="mod340" eval="True"/> | ||
3987 | 70 | </record> | ||
3988 | 71 | |||
3989 | 72 | <record id="l10n_es.iva_pymes_ded_22_10" model="account.tax.code.template"> | ||
3990 | 73 | <field name="mod340" eval="True"/> | ||
3991 | 74 | </record> | ||
3992 | 75 | |||
3993 | 76 | <record id="l10n_es.iva_pymes_ded_22_16" model="account.tax.code.template"> | ||
3994 | 77 | <field name="mod340" eval="True"/> | ||
3995 | 78 | </record> | ||
3996 | 79 | |||
3997 | 80 | <record id="l10n_es.iva_pymes_ded_22_18" model="account.tax.code.template"> | ||
3998 | 81 | <field name="mod340" eval="True"/> | ||
3999 | 82 | </record> | ||
4000 | 83 | |||
4001 | 84 | <record id="l10n_es.iva_pymes_ded_22_21" model="account.tax.code.template"> | ||
4002 | 85 | <field name="mod340" eval="True"/> | ||
4003 | 86 | </record> | ||
4004 | 87 | <!-- Base en OPERACIONES INTERIORES CON BIENES DE INVERSIÓN--> | ||
4005 | 88 | <record id="l10n_es.iva_pymes_ded_24" model="account.tax.code.template"> | ||
4006 | 89 | <field name="mod340" eval="True"/> | ||
4007 | 90 | </record> | ||
4008 | 91 | |||
4009 | 92 | <record id="l10n_es.iva_pymes_ded_24_4" model="account.tax.code.template"> | ||
4010 | 93 | <field name="mod340" eval="True"/> | ||
4011 | 94 | </record> | ||
4012 | 95 | |||
4013 | 96 | <record id="l10n_es.iva_pymes_ded_24_7" model="account.tax.code.template"> | ||
4014 | 97 | <field name="mod340" eval="True"/> | ||
4015 | 98 | </record> | ||
4016 | 99 | |||
4017 | 100 | <record id="l10n_es.iva_pymes_ded_24_8" model="account.tax.code.template"> | ||
4018 | 101 | <field name="mod340" eval="True"/> | ||
4019 | 102 | </record> | ||
4020 | 103 | |||
4021 | 104 | <record id="l10n_es.iva_pymes_ded_24_10" model="account.tax.code.template"> | ||
4022 | 105 | <field name="mod340" eval="True"/> | ||
4023 | 106 | </record> | ||
4024 | 107 | |||
4025 | 108 | <record id="l10n_es.iva_pymes_ded_24_16" model="account.tax.code.template"> | ||
4026 | 109 | <field name="mod340" eval="True"/> | ||
4027 | 110 | </record> | ||
4028 | 111 | |||
4029 | 112 | <record id="l10n_es.iva_pymes_ded_24_18" model="account.tax.code.template"> | ||
4030 | 113 | <field name="mod340" eval="True"/> | ||
4031 | 114 | </record> | ||
4032 | 115 | |||
4033 | 116 | <record id="l10n_es.iva_pymes_ded_24_21" model="account.tax.code.template"> | ||
4034 | 117 | <field name="mod340" eval="True"/> | ||
4035 | 118 | </record> | ||
4036 | 119 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES CORRIENTES--> | ||
4037 | 120 | <record id="l10n_es.iva_pymes_ded_30" model="account.tax.code.template"> | ||
4038 | 121 | <field name="mod340" eval="True"/> | ||
4039 | 122 | </record> | ||
4040 | 123 | |||
4041 | 124 | <record id="l10n_es.iva_pymes_ded_30_4" model="account.tax.code.template"> | ||
4042 | 125 | <field name="mod340" eval="True"/> | ||
4043 | 126 | </record> | ||
4044 | 127 | |||
4045 | 128 | <record id="l10n_es.iva_pymes_ded_30_7" model="account.tax.code.template"> | ||
4046 | 129 | <field name="mod340" eval="True"/> | ||
4047 | 130 | </record> | ||
4048 | 131 | |||
4049 | 132 | <record id="l10n_es.iva_pymes_ded_30_8" model="account.tax.code.template"> | ||
4050 | 133 | <field name="mod340" eval="True"/> | ||
4051 | 134 | </record> | ||
4052 | 135 | |||
4053 | 136 | <record id="l10n_es.iva_pymes_ded_30_10" model="account.tax.code.template"> | ||
4054 | 137 | <field name="mod340" eval="True"/> | ||
4055 | 138 | </record> | ||
4056 | 139 | |||
4057 | 140 | <record id="l10n_es.iva_pymes_ded_30_16" model="account.tax.code.template"> | ||
4058 | 141 | <field name="mod340" eval="True"/> | ||
4059 | 142 | </record> | ||
4060 | 143 | |||
4061 | 144 | <record id="l10n_es.iva_pymes_ded_30_18" model="account.tax.code.template"> | ||
4062 | 145 | <field name="mod340" eval="True"/> | ||
4063 | 146 | </record> | ||
4064 | 147 | |||
4065 | 148 | <record id="l10n_es.iva_pymes_ded_30_21" model="account.tax.code.template"> | ||
4066 | 149 | <field name="mod340" eval="True"/> | ||
4067 | 150 | </record> | ||
4068 | 151 | <!-- ADQUISICIONES INTRACOMUNITARIAS DE BIENES DE INVERSIÓN--> | ||
4069 | 152 | <record id="l10n_es.iva_pymes_ded_32" model="account.tax.code.template"> | ||
4070 | 153 | <field name="mod340" eval="True"/> | ||
4071 | 154 | </record> | ||
4072 | 155 | |||
4073 | 156 | <record id="l10n_es.iva_pymes_ded_32_4" model="account.tax.code.template"> | ||
4074 | 157 | <field name="mod340" eval="True"/> | ||
4075 | 158 | </record> | ||
4076 | 159 | |||
4077 | 160 | <record id="l10n_es.iva_pymes_ded_32_7" model="account.tax.code.template"> | ||
4078 | 161 | <field name="mod340" eval="True"/> | ||
4079 | 162 | </record> | ||
4080 | 163 | |||
4081 | 164 | <record id="l10n_es.iva_pymes_ded_32_8" model="account.tax.code.template"> | ||
4082 | 165 | <field name="mod340" eval="True"/> | ||
4083 | 166 | </record> | ||
4084 | 167 | |||
4085 | 168 | <record id="l10n_es.iva_pymes_ded_32_10" model="account.tax.code.template"> | ||
4086 | 169 | <field name="mod340" eval="True"/> | ||
4087 | 170 | </record> | ||
4088 | 171 | |||
4089 | 172 | <record id="l10n_es.iva_pymes_ded_32_16" model="account.tax.code.template"> | ||
4090 | 173 | <field name="mod340" eval="True"/> | ||
4091 | 174 | </record> | ||
4092 | 175 | |||
4093 | 176 | <record id="l10n_es.iva_pymes_ded_32_18" model="account.tax.code.template"> | ||
4094 | 177 | <field name="mod340" eval="True"/> | ||
4095 | 178 | </record> | ||
4096 | 179 | |||
4097 | 180 | <record id="l10n_es.iva_pymes_ded_32_21" model="account.tax.code.template"> | ||
4098 | 181 | <field name="mod340" eval="True"/> | ||
4099 | 182 | </record> | ||
4100 | 183 | <!--Otros Códigos de Impuestos--> | ||
4101 | 184 | <record id="l10n_es.base_intra_42" model="account.tax.code.template"> | ||
4102 | 185 | <field name="mod340" eval="True"/> | ||
4103 | 186 | </record> | ||
4104 | 187 | |||
4105 | 188 | <record id="l10n_es.base_extra_44" model="account.tax.code.template"> | ||
4106 | 189 | <field name="mod340" eval="True"/> | ||
4107 | 190 | </record> | ||
4108 | 191 | </data> | ||
4109 | 192 | </openerp> | ||
4110 | 0 | \ No newline at end of file | 193 | \ No newline at end of file |
4111 | 1 | 194 | ||
4112 | === modified file 'l10n_es_aeat_mod340/wizard/calculate_mod340_records.py' | |||
4113 | --- l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2012-09-26 18:05:45 +0000 | |||
4114 | +++ l10n_es_aeat_mod340/wizard/calculate_mod340_records.py 2014-02-03 11:19:23 +0000 | |||
4115 | @@ -2,12 +2,12 @@ | |||
4116 | 2 | ############################################################################## | 2 | ############################################################################## |
4117 | 3 | # | 3 | # |
4118 | 4 | # Copyright (C) 2011 Ting. All Rights Reserved | 4 | # Copyright (C) 2011 Ting. All Rights Reserved |
4120 | 5 | # Copyright (c) 2011 Acysos S.L. (http://acysos.com) All Rights Reserved | 5 | # Copyright (c) 2011-2013 Acysos S.L.(http://acysos.com) All Rights Reserved |
4121 | 6 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | 6 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> |
4122 | 7 | # | 7 | # |
4123 | 8 | # This program is free software: you can redistribute it and/or modify | 8 | # This program is free software: you can redistribute it and/or modify |
4126 | 9 | # it under the terms of the GNU Affero General Public License as published by | 9 | # it under the terms of the GNU Affero General Public License as published |
4127 | 10 | # the Free Software Foundation, either version 3 of the License, or | 10 | # by the Free Software Foundation, either version 3 of the License, or |
4128 | 11 | # (at your option) any later version. | 11 | # (at your option) any later version. |
4129 | 12 | # | 12 | # |
4130 | 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, |
4131 | @@ -39,7 +39,8 @@ | |||
4132 | 39 | 39 | ||
4133 | 40 | self._calculate_records(cr, uid, ids, context, recalculate=False) | 40 | self._calculate_records(cr, uid, ids, context, recalculate=False) |
4134 | 41 | wf_service = netsvc.LocalService("workflow") | 41 | wf_service = netsvc.LocalService("workflow") |
4136 | 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], |
4137 | 43 | 'calculate', cr) | ||
4138 | 43 | 44 | ||
4139 | 44 | 45 | ||
4140 | 45 | 46 | ||
4141 | @@ -53,6 +54,7 @@ | |||
4142 | 53 | 54 | ||
4143 | 54 | invoices340 = self.pool.get('l10n.es.aeat.mod340.issued') | 55 | invoices340 = self.pool.get('l10n.es.aeat.mod340.issued') |
4144 | 55 | invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received') | 56 | invoices340_rec = self.pool.get('l10n.es.aeat.mod340.received') |
4145 | 57 | period_obj = self.pool.get('account.period') | ||
4146 | 56 | 58 | ||
4147 | 57 | mod340.write({ | 59 | mod340.write({ |
4148 | 58 | 'state' : 'calculated', | 60 | 'state' : 'calculated', |
4149 | @@ -60,35 +62,23 @@ | |||
4150 | 60 | }) | 62 | }) |
4151 | 61 | 63 | ||
4152 | 62 | if not mod340.company_id.partner_id.vat: | 64 | if not mod340.company_id.partner_id.vat: |
4154 | 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, |
4155 | 66 | _('This company dont have NIF')) | ||
4156 | 64 | 67 | ||
4157 | 65 | wf_service = netsvc.LocalService("workflow") | 68 | wf_service = netsvc.LocalService("workflow") |
4184 | 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', |
4185 | 67 | 70 | ids and ids[0], 'calculate', cr) | |
4186 | 68 | fecha_ini = False | 71 | |
4187 | 69 | fecha_fin = False | 72 | code = '340'+mod340.fiscalyear_id.code+'' |
4188 | 70 | 73 | code += mod340.period_to.date_stop[5:7]+'0001' | |
4189 | 71 | dec_year =mod340.fiscalyear_id.date_start.split('-')[0] | 74 | |
4190 | 72 | 75 | account_period_ids = period_obj.build_ctx_periods(cr, uid, | |
4191 | 73 | mod = mod340.period | 76 | mod340.period_from.id, mod340.period_to.id) |
4192 | 74 | 77 | ||
4193 | 75 | if mod >= '01' and mod <= '12': | 78 | if len(account_period_ids) == 0: |
4194 | 76 | fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, mod), '%Y-%m-%d') | 79 | raise osv.except_osv(_('Error'), |
4195 | 77 | fecha_fin = fecha_ini + relativedelta(months=+1, days=-1) | 80 | _("The periods selected don't belong to the fiscal year %s") |
4196 | 78 | 81 | % (mod340.fiscalyear_id.name)) | |
4171 | 79 | if mod in ('1T', '2T', '3T', '4T'): | ||
4172 | 80 | month = ( ( int(mod[0])-1 ) * 3 ) + 1 | ||
4173 | 81 | fecha_ini = datetime.strptime('%s-%s-01' % (dec_year, month), '%Y-%m-%d') | ||
4174 | 82 | fecha_fin = fecha_ini + relativedelta(months=+3, days=-1) | ||
4175 | 83 | mod = '%02d' % month | ||
4176 | 84 | |||
4177 | 85 | code = '340'+dec_year+''+mod+'0001' | ||
4178 | 86 | |||
4179 | 87 | account_period_id = self.pool.get('account.period').search(cr,uid,[('date_start','=',fecha_ini),('date_stop','=',fecha_fin)]) | ||
4180 | 88 | |||
4181 | 89 | if not account_period_id: | ||
4182 | 90 | raise osv.except_osv(_('El periodo seleccionado no coincide con los periodos del año fiscal:'), dec_year) | ||
4183 | 91 | |||
4197 | 92 | 82 | ||
4198 | 93 | tot_base = 0 | 83 | tot_base = 0 |
4199 | 94 | tot_amount = 0 | 84 | tot_amount = 0 |
4200 | @@ -110,89 +100,103 @@ | |||
4201 | 110 | if del_ids: | 100 | if del_ids: |
4202 | 111 | invoices340_rec.unlink(cr, uid, del_ids, context=context) | 101 | invoices340_rec.unlink(cr, uid, del_ids, context=context) |
4203 | 112 | 102 | ||
4205 | 113 | domain = [('period_id', '=',account_period_id[0]), | 103 | domain = [('period_id', 'in',account_period_ids), |
4206 | 114 | ('state', 'in', ('open', 'paid'))] | 104 | ('state', 'in', ('open', 'paid'))] |
4245 | 115 | 105 | ||
4246 | 116 | invoice_ids = self.pool.get('account.invoice').search(cr, uid, domain, context=context) | 106 | invoice_obj=self.pool.get('account.invoice') |
4247 | 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) |
4248 | 118 | if invoice.partner_id.vat_type == 1: | 108 | for invoice in invoice_obj.browse(cr, uid, invoice_ids, context): |
4249 | 119 | if not invoice.partner_id.vat: | 109 | include = False |
4212 | 120 | raise osv.except_osv(_('La siguiente empresa no tiene asignado nif:'), invoice.partner_id.name) | ||
4213 | 121 | |||
4214 | 122 | nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)", invoice.partner_id.vat).groups()[1] | ||
4215 | 123 | country_code = invoice.address_invoice_id.country_id.code | ||
4216 | 124 | |||
4217 | 125 | values = { | ||
4218 | 126 | 'mod340_id': mod340.id, | ||
4219 | 127 | 'partner_id':invoice.partner_id.id, | ||
4220 | 128 | 'partner_vat':nif, | ||
4221 | 129 | 'representative_vat': '', | ||
4222 | 130 | 'partner_country_code' : country_code, | ||
4223 | 131 | 'invoice_id':invoice.id, | ||
4224 | 132 | 'base_tax':invoice.amount_untaxed, | ||
4225 | 133 | 'amount_tax':invoice.amount_tax, | ||
4226 | 134 | 'total':invoice.amount_total | ||
4227 | 135 | } | ||
4228 | 136 | if invoice.type in ( 'out_refund','in_refund'): | ||
4229 | 137 | values['base_tax'] *=-1 | ||
4230 | 138 | values['amount_tax'] *=-1 | ||
4231 | 139 | values['total'] *=-1 | ||
4232 | 140 | |||
4233 | 141 | |||
4234 | 142 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | ||
4235 | 143 | invoice_created = invoices340.create(cr,uid,values) | ||
4236 | 144 | |||
4237 | 145 | if invoice.type=="in_invoice" or invoice.type=="in_refund": | ||
4238 | 146 | invoice_created = invoices340_rec.create(cr,uid,values) | ||
4239 | 147 | |||
4240 | 148 | tot_tax_invoice = 0 | ||
4241 | 149 | check_tax=0 | ||
4242 | 150 | check_base=0 | ||
4243 | 151 | |||
4244 | 152 | # Add the invoices detail to the partner record | ||
4250 | 153 | for tax_line in invoice.tax_line: | 110 | for tax_line in invoice.tax_line: |
4293 | 154 | if tax_line.name.find('IRPF') == -1: # Remove IRPF from Mod340 | 111 | if tax_line.base_code_id: |
4294 | 155 | tax_description = tax_line.name.split(' - ') | 112 | if tax_line.base_code_id.mod340 == True: |
4295 | 156 | if len(tax_description) == 2: name = tax_description[1] | 113 | include = True |
4296 | 157 | if len(tax_description) == 1: name = tax_description[0] | 114 | if include == True: |
4297 | 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: |
4298 | 159 | if account_tax[0].amount < 0: | 116 | if not invoice.partner_id.vat: |
4299 | 160 | continue | 117 | raise osv.except_osv( |
4300 | 161 | 118 | _('La siguiente empresa no tiene asignado nif:'), | |
4301 | 162 | values = { | 119 | invoice.partner_id.name) |
4302 | 163 | 'name': name, | 120 | |
4303 | 164 | 'tax_percentage': account_tax[0].amount, | 121 | nif = invoice.partner_id.vat and re.match(r"([A-Z]{0,2})(.*)", |
4304 | 165 | 'tax_amount': tax_line.tax_amount, | 122 | invoice.partner_id.vat).groups()[1] |
4305 | 166 | 'base_amount': tax_line.base_amount, | 123 | country_code = invoice.partner_id.country_id.code |
4306 | 167 | 'invoice_record_id': invoice_created, | 124 | |
4307 | 168 | } | 125 | values = { |
4308 | 169 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | 126 | 'mod340_id': mod340.id, |
4309 | 170 | self.pool.get('l10n.es.aeat.mod340.tax_line_issued').create(cr, uid, values) | 127 | 'partner_id':invoice.partner_id.id, |
4310 | 171 | if invoice.type=="in_invoice" or invoice.type=="in_refund": | 128 | 'partner_vat':nif, |
4311 | 172 | self.pool.get('l10n.es.aeat.mod340.tax_line_received').create(cr, uid, values) | 129 | 'representative_vat': '', |
4312 | 173 | tot_tax_invoice += tax_line.tax_amount | 130 | 'partner_country_code' : country_code, |
4313 | 174 | tot_rec += 1 | 131 | 'invoice_id':invoice.id, |
4314 | 175 | check_tax += tax_line.tax_amount | 132 | 'base_tax':invoice.amount_untaxed, |
4315 | 176 | check_base += tax_line.base_amount | 133 | 'amount_tax':invoice.amount_tax, |
4316 | 177 | 134 | 'total':invoice.amount_total, | |
4317 | 178 | tot_base += invoice.amount_untaxed | 135 | 'date_invoice':invoice.date_invoice, |
4318 | 179 | tot_amount += tot_tax_invoice | 136 | } |
4319 | 180 | tot_tot += invoice.amount_untaxed + tot_tax_invoice | 137 | if invoice.type in ( 'out_refund','in_refund'): |
4320 | 181 | 138 | values['base_tax'] *=-1 | |
4321 | 182 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | 139 | values['amount_tax'] *=-1 |
4322 | 183 | invoices340.write(cr,uid,invoice_created,{'amount_tax':tot_tax_invoice}) | 140 | values['total'] *=-1 |
4323 | 184 | if invoice.type=="in_invoice" or invoice.type=="in_refund": | 141 | |
4324 | 185 | invoices340_rec.write(cr,uid,invoice_created,{'amount_tax':tot_tax_invoice}) | 142 | |
4325 | 186 | 143 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | |
4326 | 187 | sign=1 | 144 | invoice_created = invoices340.create(cr,uid,values) |
4327 | 188 | if invoice.type in ( 'out_refund','in_refund' ): | 145 | |
4328 | 189 | sign = -1 | 146 | if invoice.type=="in_invoice" or invoice.type=="in_refund": |
4329 | 190 | 147 | invoice_created = invoices340_rec.create(cr,uid,values) | |
4330 | 191 | if str(invoice.amount_untaxed*sign) != str(check_base): | 148 | |
4331 | 192 | print "id:", invoice.id, "base: %.5f"%invoice.amount_untaxed , "taxlibe base: %.5f"%check_base, "number:",invoice.number | 149 | tot_tax_invoice = 0 |
4332 | 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 |
4333 | 194 | 151 | check_base=0 | |
4334 | 195 | mod340.write({'total_taxable':tot_base,'total_sharetax':tot_amount,'number_records':tot_rec,'total':tot_tot,'number':code}) | 152 | |
4335 | 153 | # Add the invoices detail to the partner record | ||
4336 | 154 | for tax_line in invoice.tax_line: | ||
4337 | 155 | if tax_line.base_code_id: | ||
4338 | 156 | if tax_line.base_code_id.mod340 == True: | ||
4339 | 157 | tax_percentage = tax_line.amount/tax_line.base | ||
4340 | 158 | |||
4341 | 159 | values = { | ||
4342 | 160 | 'name': tax_line.name, | ||
4343 | 161 | 'tax_percentage': tax_percentage, | ||
4344 | 162 | 'tax_amount': tax_line.tax_amount, | ||
4345 | 163 | 'base_amount': tax_line.base_amount, | ||
4346 | 164 | 'invoice_record_id': invoice_created, | ||
4347 | 165 | } | ||
4348 | 166 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | ||
4349 | 167 | issued_obj = self.pool.get('l10n.es.aeat.mod340.tax_line_issued') | ||
4350 | 168 | issued_obj.create(cr, uid, values) | ||
4351 | 169 | if invoice.type=="in_invoice" or invoice.type=="in_refund": | ||
4352 | 170 | received_obj=self.pool.get('l10n.es.aeat.mod340.tax_line_received') | ||
4353 | 171 | received_obj.create(cr, uid, values) | ||
4354 | 172 | tot_tax_invoice += tax_line.tax_amount | ||
4355 | 173 | tot_rec += 1 | ||
4356 | 174 | check_tax += tax_line.tax_amount | ||
4357 | 175 | if tax_percentage >= 0: | ||
4358 | 176 | check_base += tax_line.base_amount | ||
4359 | 177 | |||
4360 | 178 | tot_base += invoice.amount_untaxed | ||
4361 | 179 | tot_amount += tot_tax_invoice | ||
4362 | 180 | tot_tot += invoice.amount_untaxed + tot_tax_invoice | ||
4363 | 181 | |||
4364 | 182 | if invoice.type=="out_invoice" or invoice.type=="out_refund": | ||
4365 | 183 | invoices340.write(cr,uid,invoice_created, | ||
4366 | 184 | {'amount_tax':tot_tax_invoice}) | ||
4367 | 185 | if invoice.type=="in_invoice" or invoice.type=="in_refund": | ||
4368 | 186 | invoices340_rec.write(cr,uid,invoice_created, | ||
4369 | 187 | {'amount_tax':tot_tax_invoice}) | ||
4370 | 188 | |||
4371 | 189 | sign=1 | ||
4372 | 190 | if invoice.type in ( 'out_refund','in_refund' ): | ||
4373 | 191 | sign = -1 | ||
4374 | 192 | |||
4375 | 193 | if str(invoice.amount_untaxed*sign) != str(check_base): | ||
4376 | 194 | raise osv.except_osv( "REVIEW INVOICE", | ||
4377 | 195 | _('Invoice %s, Amount untaxed Lines %.2f do not correspond to AmountUntaxed on Invoice %.2f' ) | ||
4378 | 196 | %(invoice.number, check_base, invoice.amount_untaxed*sign) ) | ||
4379 | 197 | |||
4380 | 198 | mod340.write({'total_taxable':tot_base,'total_sharetax':tot_amount, | ||
4381 | 199 | 'number_records':tot_rec,'total':tot_tot,'number':code}) | ||
4382 | 196 | 200 | ||
4383 | 197 | if recalculate: | 201 | if recalculate: |
4384 | 198 | mod340.write({ | 202 | mod340.write({ |
4385 | @@ -212,10 +216,10 @@ | |||
4386 | 212 | if context is None: | 216 | if context is None: |
4387 | 213 | context = {} | 217 | context = {} |
4388 | 214 | 218 | ||
4390 | 215 | threaded_calculation = threading.Thread(target=self._calculate_records, args=(cr, uid, ids, context)) | 219 | threaded_calculation = threading.Thread(target=self._calculate_records, |
4391 | 220 | args=(cr, uid, ids, context)) | ||
4392 | 216 | threaded_calculation.start() | 221 | threaded_calculation.start() |
4393 | 217 | 222 | ||
4394 | 218 | return {} | 223 | return {} |
4395 | 219 | 224 | ||
4396 | 220 | l10n_es_aeat_mod340_calculate_records() | 225 | l10n_es_aeat_mod340_calculate_records() |
4397 | 221 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
4398 | 222 | 226 | ||
4399 | === modified file 'l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py' (properties changed: -x to +x) | |||
4400 | --- l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py 2013-11-22 23:44:11 +0000 | |||
4401 | +++ l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py 2014-02-03 11:19:23 +0000 | |||
4402 | @@ -1,7 +1,7 @@ | |||
4403 | 1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
4404 | 2 | ############################################################################## | 2 | ############################################################################## |
4405 | 3 | # | 3 | # |
4407 | 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. |
4408 | 5 | # Ignacio Ibeas <ignacio@acysos.com> | 5 | # Ignacio Ibeas <ignacio@acysos.com> |
4409 | 6 | # Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L. | 6 | # Copyright (c) 2011 NaN Projectes de Programari Lliure, S.L. |
4410 | 7 | # http://www.NaN-tic.com | 7 | # http://www.NaN-tic.com |
4411 | @@ -21,15 +21,14 @@ | |||
4412 | 21 | # | 21 | # |
4413 | 22 | ############################################################################## | 22 | ############################################################################## |
4414 | 23 | 23 | ||
4415 | 24 | from datetime import datetime | ||
4416 | 25 | from openerp.tools.translate import _ | ||
4417 | 26 | from openerp.osv import orm | ||
4418 | 24 | import base64 | 27 | import base64 |
4419 | 25 | import time | 28 | import time |
4420 | 26 | 29 | ||
4427 | 27 | from osv import osv | 30 | |
4428 | 28 | from tools.translate import _ | 31 | class l10n_es_aeat_mod340_export_to_boe(orm.TransientModel): |
4423 | 29 | |||
4424 | 30 | |||
4425 | 31 | class l10n_es_aeat_mod340_export_to_boe(osv.osv_memory): | ||
4426 | 32 | |||
4429 | 33 | _inherit = "l10n.es.aeat.report.export_to_boe" | 32 | _inherit = "l10n.es.aeat.report.export_to_boe" |
4430 | 34 | _name = "l10n.es.aeat.mod340.export_to_boe" | 33 | _name = "l10n.es.aeat.mod340.export_to_boe" |
4431 | 35 | _description = "Export AEAT Model 340 to BOE format" | 34 | _description = "Export AEAT Model 340 to BOE format" |
4432 | @@ -63,33 +62,71 @@ | |||
4433 | 63 | 416-500 Blancos | 62 | 416-500 Blancos |
4434 | 64 | """ | 63 | """ |
4435 | 65 | text = '' | 64 | text = '' |
4460 | 66 | 65 | # Tipo de Registro | |
4461 | 67 | text += '1' # Tipo de Registro | 66 | text += '1' |
4462 | 68 | text += '340' # Modelo Declaración | 67 | # Modelo Declaración |
4463 | 69 | text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio | 68 | text += '340' |
4464 | 70 | text += self._formatString(report.company_vat, 9) # NIF del declarante | 69 | # Ejercicio |
4465 | 71 | text += self._formatString(report.company_id.name, 40) # Apellidos y nombre o razón social del declarante | 70 | text += self._formatString(report.fiscalyear_id.code, 4) |
4466 | 72 | text += self._formatString(report.support_type, 1) # Tipo de soporte | 71 | # NIF del declarante |
4467 | 73 | text += self._formatString(report.contact_phone, 9) # Persona de contacto (Teléfono) | 72 | text += self._formatString(report.company_vat, 9) |
4468 | 74 | text += self._formatString(report.name_contact, 40) # Persona de contacto (Apellidos y nombre) | 73 | # Apellidos y nombre o razón social del declarante |
4469 | 75 | text += self._formatNumber(report.number, 13) # Número identificativo de la declaración | 74 | text += self._formatString(report.company_id.name, 40) |
4470 | 76 | if (report.type == 'C'): text += 'C' # Declaración complementaria | 75 | # Tipo de soporte |
4471 | 77 | else: text += ' ' | 76 | text += self._formatString(report.support_type, 1) |
4472 | 78 | if (report.type == 'S'): text += 'S' # Declaración substitutiva | 77 | # Persona de contacto (Teléfono) |
4473 | 79 | else: text += ' ' | 78 | text += self._formatString(report.contact_phone, 9) |
4474 | 80 | text += self._formatNumber(report.previous_number, 13) # Número identificativo de la declaración anterior | 79 | # Persona de contacto (Apellidos y nombre) |
4475 | 81 | text += self._formatString(report.period,2) # Periodo | 80 | text += self._formatString(report.name_contact, 40) |
4476 | 82 | text += self._formatNumber(report.number_records, 9) # Número total de registros | 81 | # Número identificativo de la declaración |
4477 | 83 | text += self._formatNumber(report.total_taxable, 15, 2,True) # Importe total de la base imponible | 82 | text += self._formatNumber(report.number, 13) |
4478 | 84 | text += self._formatNumber(report.total_sharetax, 15, 2,True) # Importe Total de la cuota del impuesto | 83 | # Declaración complementaria |
4479 | 85 | text += self._formatNumber(report.total, 15, 2,True) # Importe total de las facturas | 84 | if (report.type == 'C'): text += 'C' |
4480 | 86 | text += 190*' ' # Blancos | 85 | else: text += ' ' |
4481 | 87 | text += self._formatString(report.representative_vat, 9) # NIF del representante legal | 86 | # Declaración substitutiva |
4482 | 88 | text += self._formatString(report.ean13, 17) # Sello electrónico | 87 | if (report.type == 'S'): text += 'S' |
4483 | 89 | text += 84*' ' # Blancos | 88 | else: text += ' ' |
4484 | 89 | # Número identificativo de la declaración anterior | ||
4485 | 90 | text += self._formatNumber(report.previous_number, 13) | ||
4486 | 91 | period_stop = report.period_to.date_stop[5:7] | ||
4487 | 92 | period_start = report.period_to.date_start[5:7] | ||
4488 | 93 | if period_start == period_stop: | ||
4489 | 94 | period = period_stop | ||
4490 | 95 | else: | ||
4491 | 96 | if period_stop == '03': | ||
4492 | 97 | period = '1T' | ||
4493 | 98 | elif period_stop == '06': | ||
4494 | 99 | period = '2T' | ||
4495 | 100 | elif period_stop == '09': | ||
4496 | 101 | period = '3T' | ||
4497 | 102 | elif period_stop == '12': | ||
4498 | 103 | period = '4T' | ||
4499 | 104 | else: | ||
4500 | 105 | raise orm.except_orm( "ERROR", | ||
4501 | 106 | _("The period hasn't a valid Mod340 period" )) | ||
4502 | 107 | # Periodo | ||
4503 | 108 | text += self._formatString(period,2) | ||
4504 | 109 | # Número total de registros | ||
4505 | 110 | text += self._formatNumber(report.number_records, 9) | ||
4506 | 111 | # Importe total de la base imponible | ||
4507 | 112 | text += self._formatNumber(report.total_taxable, 15, 2,True) | ||
4508 | 113 | # Importe Total de la cuota del impuesto | ||
4509 | 114 | text += self._formatNumber(report.total_sharetax, 15, 2,True) | ||
4510 | 115 | # Importe total de las facturas | ||
4511 | 116 | text += self._formatNumber(report.total, 15, 2,True) | ||
4512 | 117 | # Blancos | ||
4513 | 118 | text += 190*' ' | ||
4514 | 119 | # NIF del representante legal | ||
4515 | 120 | text += self._formatString(report.representative_vat, 9) | ||
4516 | 121 | # Sello electrónico | ||
4517 | 122 | text += self._formatString(report.ean13, 17) | ||
4518 | 123 | # Blancos | ||
4519 | 124 | text += 84*' ' | ||
4520 | 90 | text += '\r\n' | 125 | text += '\r\n' |
4521 | 91 | 126 | ||
4523 | 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") |
4524 | 128 | print 'Declaration' | ||
4525 | 129 | print text | ||
4526 | 93 | return text | 130 | return text |
4527 | 94 | 131 | ||
4528 | 95 | def _get_formated_invoice_issued(self, cr, uid, report, invoice_issued): | 132 | def _get_formated_invoice_issued(self, cr, uid, report, invoice_issued): |
4529 | @@ -105,15 +142,20 @@ | |||
4530 | 105 | 9-17 NIF del declarante | 142 | 9-17 NIF del declarante |
4531 | 106 | 18-26 NIF del declarado | 143 | 18-26 NIF del declarado |
4532 | 107 | 27-35 NIF del representante legal | 144 | 27-35 NIF del representante legal |
4534 | 108 | 36-75 Apellidos y nombre, razón social o denominación del declarado | 145 | 36-75 Apellidos y nombre, razón social o |
4535 | 146 | denominación del declarado | ||
4536 | 109 | 76-77 Código país | 147 | 76-77 Código país |
4537 | 110 | 78 Clave de identificación en el país de residencia | 148 | 78 Clave de identificación en el país de residencia |
4539 | 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 |
4540 | 150 | residencia. TODO de momento blancos. | ||
4541 | 112 | 96-98 Blancos | 151 | 96-98 Blancos |
4542 | 113 | 99 Clave tipo de libro. Constante 'E'. | 152 | 99 Clave tipo de libro. Constante 'E'. |
4544 | 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 |
4545 | 154 | IVA. Constante 'C' para varios tipos de IVA. TODO Resto | ||
4546 | 155 | de operaciones. Varios tipos impositivos. | ||
4547 | 115 | 101-108 Fecha de expedición | 156 | 101-108 Fecha de expedición |
4549 | 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 |
4550 | 158 | expedición. TODO. Fecha del uso del bien. | ||
4551 | 117 | 117-121 Tipo impositivo | 159 | 117-121 Tipo impositivo |
4552 | 118 | 122-135 Base imponible | 160 | 122-135 Base imponible |
4553 | 119 | 136-149 Cuota del impuesto | 161 | 136-149 Cuota del impuesto |
4554 | @@ -121,42 +163,60 @@ | |||
4555 | 121 | 164-177 Base imponible a coste. TODO de momento 0. | 163 | 164-177 Base imponible a coste. TODO de momento 0. |
4556 | 122 | 178-217 Identificación de la factura | 164 | 178-217 Identificación de la factura |
4557 | 123 | 218-235 Número de registro TODO No se exactamente que es | 165 | 218-235 Número de registro TODO No se exactamente que es |
4561 | 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 |
4562 | 125 | 244-245 Número de registro. Siempre 1. TODO Facturas con varios asientos. Clave C. | 167 | facturas o tickets. Clave A o B. |
4563 | 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 |
4564 | 169 | asientos. Clave C. | ||
4565 | 170 | 246-325 Intervalo de acumulación. Vacio. TODO Intervalo de | ||
4566 | 171 | resumenes de facturas o tickets. | ||
4567 | 127 | 326-365 Identificación de la factura rectificativa. TODO. | 172 | 326-365 Identificación de la factura rectificativa. TODO. |
4568 | 128 | 366-370 Tipo recargo de equivalencia. TODO. | 173 | 366-370 Tipo recargo de equivalencia. TODO. |
4569 | 129 | 371-384 Cuota recargo de equivalencia. TODO. | 174 | 371-384 Cuota recargo de equivalencia. TODO. |
4575 | 130 | 385 Situación del Inmueble #TODO 2012 | 175 | 385 Situación del Inmueble #TODO |
4576 | 131 | 386-410 Referencia Catastral #TODO 2012 | 176 | 386-410 Referencia Catastral #TODO |
4577 | 132 | 411-425 Importe Percibido en Metálico #TODO 2012 | 177 | 411-425 Importe Percibido en Metálico #TODO |
4578 | 133 | 426-429 Ejercicio ( cifras del ejercicio en el que se hubieran declarado las operaciones que dan origen al cobro ) #TODO 2012 | 178 | 426-429 Ejercicio (cifras del ejercicio en el que se hubieran |
4579 | 134 | 430-444 Importe percibido por transmisiones de Inmuebles sujetas a IVA. #TODO 2012 | 179 | declarado las operaciones que dan origen al cobro) |
4580 | 180 | #TODO | ||
4581 | 181 | 430-444 Importe percibido por transmisiones de Inmuebles | ||
4582 | 182 | sujetas a IVA. #TODO | ||
4583 | 135 | 445-500 BLANCOS | 183 | 445-500 BLANCOS |
4584 | 136 | 184 | ||
4585 | 137 | 185 | ||
4586 | 138 | """ | 186 | """ |
4587 | 139 | text = '' | 187 | text = '' |
4588 | 140 | for tax_line in invoice_issued.tax_line_ids: | 188 | for tax_line in invoice_issued.tax_line_ids: |
4603 | 141 | 189 | # Tipo de Registro | |
4604 | 142 | text += '2' # Tipo de Registro | 190 | text += '2' |
4605 | 143 | text += '340' # Modelo Declaración | 191 | # Modelo Declaración |
4606 | 144 | text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio | 192 | text += '340' |
4607 | 145 | text += self._formatString(report.company_vat, 9) # NIF del declarante | 193 | # Ejercicio |
4608 | 146 | if invoice_issued.partner_country_code == 'ES': text += self._formatString(invoice_issued.partner_vat, 9) # NIF del declarado | 194 | text += self._formatString(report.fiscalyear_id.code, 4) |
4609 | 147 | else: text += self._formatString(' ', 9) | 195 | # NIF del declarante |
4610 | 148 | text += self._formatString(invoice_issued.representative_vat, 9) # NIF del representante legal | 196 | text += self._formatString(report.company_vat, 9) |
4611 | 149 | text += self._formatString(invoice_issued.partner_id.name, 40) # Apellidos y nombre, razón social o denominación del declarado | 197 | # NIF del declarado |
4612 | 150 | text += self._formatString(invoice_issued.partner_country_code, 2) # Código país | 198 | if invoice_issued.partner_country_code == 'ES': |
4613 | 151 | text += self._formatNumber(invoice_issued.partner_id.vat_type, 1) # Clave de identificación en el país de residencia | 199 | text += self._formatString(invoice_issued.partner_vat, 9) |
4614 | 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) |
4615 | 153 | text += self._formatString(invoice_issued.partner_country_code, 2) | 201 | # NIF del representante legal |
4616 | 154 | text += self._formatString(invoice_issued.partner_vat, 15) | 202 | text += self._formatString(invoice_issued.representative_vat, 9) |
4617 | 203 | # Apellidos y nombre, razón social o denominación del declarado | ||
4618 | 204 | text += self._formatString(invoice_issued.partner_id.name, 40) | ||
4619 | 205 | # Código país | ||
4620 | 206 | text += self._formatString(invoice_issued.partner_country_code, 2) | ||
4621 | 207 | # Clave de identificación en el país de residencia | ||
4622 | 208 | text += self._formatNumber(invoice_issued.partner_id.vat_type, 1) | ||
4623 | 209 | # Número de identificación fiscal en el país de residencia. | ||
4624 | 210 | if invoice_issued.partner_country_code != 'ES': | ||
4625 | 211 | text+=self._formatString(invoice_issued.partner_country_code,2) | ||
4626 | 212 | text+=self._formatString(invoice_issued.partner_vat, 15) | ||
4627 | 155 | else: text += 17*' ' | 213 | else: text += 17*' ' |
4632 | 156 | text += 3*' ' # Blancos | 214 | # Blancos |
4633 | 157 | text += 'E' # Clave tipo de libro. Constante 'E'. | 215 | text += 3*' ' |
4634 | 158 | 216 | # Clave tipo de libro. Constante 'E'. | |
4635 | 159 | if invoice_issued.invoice_id.origin_invoices_ids: # Clave de operación | 217 | text += 'E' |
4636 | 218 | # Clave de operación | ||
4637 | 219 | if invoice_issued.invoice_id.origin_invoices_ids: | ||
4638 | 160 | text +='D' | 220 | text +='D' |
4639 | 161 | elif len(invoice_issued.tax_line_ids) > 1: text += 'C' | 221 | elif len(invoice_issued.tax_line_ids) > 1: text += 'C' |
4640 | 162 | elif invoice_issued.invoice_id.is_ticket_summary == 1: text += 'B' | 222 | elif invoice_issued.invoice_id.is_ticket_summary == 1: text += 'B' |
4641 | @@ -164,27 +224,38 @@ | |||
4642 | 164 | 224 | ||
4643 | 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) |
4644 | 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) |
4646 | 167 | text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) # Fecha de expedición | 227 | text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) |
4647 | 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) |
4648 | 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) |
4659 | 170 | text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) # Fecha de operación | 230 | text += self._formatNumber(invoice_issued.invoice_id.date_invoice.split('-')[2],2) |
4660 | 171 | 231 | #Tipo impositivo | |
4661 | 172 | text += self._formatNumber(tax_line.tax_percentage*100,3,2) #Tipo impositivo | 232 | text += self._formatNumber(tax_line.tax_percentage*100,3,2) |
4662 | 173 | text += self._formatNumber(tax_line.base_amount, 11,2,True) # Base imponible | 233 | # Base imponible |
4663 | 174 | text += self._formatNumber(tax_line.tax_amount, 11,2,True) # Cuota del impuesto | 234 | text += self._formatNumber(tax_line.base_amount, 11,2,True) |
4664 | 175 | text += self._formatNumber(tax_line.tax_amount+tax_line.base_amount, 11,2,True) # Importe total de la factura | 235 | # Cuota del impuesto |
4665 | 176 | text += ' '+self._formatNumber(0, 11,2) # Base imponible a coste. | 236 | text += self._formatNumber(tax_line.tax_amount, 11,2,True) |
4666 | 177 | text += self._formatString(invoice_issued.invoice_id.number, 40) # Identificación de la factura | 237 | # Importe total de la factura |
4667 | 178 | text += self._formatString(self.pool.get('ir.sequence').get(cr, uid, 'mod340'),18) # Número de registro | 238 | text += self._formatNumber(tax_line.tax_amount+ |
4668 | 179 | if invoice_issued.invoice_id.is_ticket_summary == 1: # Número de facturas | 239 | tax_line.base_amount, 11,2,True) |
4669 | 240 | # Base imponible a coste. | ||
4670 | 241 | text += ' '+self._formatNumber(0, 11,2) | ||
4671 | 242 | # Identificación de la factura | ||
4672 | 243 | text += self._formatString(invoice_issued.invoice_id.number, 40) | ||
4673 | 244 | # Número de registro | ||
4674 | 245 | text += self._formatString(self.pool.get('ir.sequence').get(cr, uid, 'mod340'),18) | ||
4675 | 246 | # Número de facturas | ||
4676 | 247 | if invoice_issued.invoice_id.is_ticket_summary == 1: | ||
4677 | 180 | text += self._formatNumber(invoice_issued.invoice_id.number_tickets, 8) | 248 | text += self._formatNumber(invoice_issued.invoice_id.number_tickets, 8) |
4678 | 181 | else: text += self._formatNumber(1, 8) | 249 | else: text += self._formatNumber(1, 8) |
4681 | 182 | text += self._formatNumber(len(invoice_issued.tax_line_ids), 2) # Número de registros (Desglose) | 250 | # Número de registros (Desglose) |
4682 | 183 | if invoice_issued.invoice_id.is_ticket_summary == 1: # Intervalo de identificación de la acumulación | 251 | text += self._formatNumber(len(invoice_issued.tax_line_ids), 2) |
4683 | 252 | # Intervalo de identificación de la acumulación | ||
4684 | 253 | if invoice_issued.invoice_id.is_ticket_summary == 1: | ||
4685 | 184 | text += self._formatString(invoice_issued.invoice_id.first_ticket, 40) | 254 | text += self._formatString(invoice_issued.invoice_id.first_ticket, 40) |
4686 | 185 | text += self._formatString(invoice_issued.invoice_id.last_ticket, 40) | 255 | text += self._formatString(invoice_issued.invoice_id.last_ticket, 40) |
4687 | 186 | else: text += 80*' ' | 256 | else: text += 80*' ' |
4689 | 187 | text += self._formatString( ",".join( [x.number for x in invoice_issued.invoice_id.origin_invoices_ids]) , 40 ) # Identificación factura rectificativa | 257 | # Identificación factura rectificativa |
4690 | 258 | text += self._formatString( ",".join( [x.number for x in invoice_issued.invoice_id.origin_invoices_ids]) , 40 ) | ||
4691 | 188 | text += self._formatNumber(0, 5) # Tipo Recargo de equivalencia | 259 | text += self._formatNumber(0, 5) # Tipo Recargo de equivalencia |
4692 | 189 | text += ' '+self._formatNumber(0, 11,2) # Couta del recargo de equivalencia | 260 | text += ' '+self._formatNumber(0, 11,2) # Couta del recargo de equivalencia |
4693 | 190 | text += '0' #Situación del Inmueble #TODO 2012 | 261 | text += '0' #Situación del Inmueble #TODO 2012 |
4694 | @@ -254,9 +325,7 @@ | |||
4695 | 254 | text += 3*' ' # Blancos | 325 | text += 3*' ' # Blancos |
4696 | 255 | text += 'R' # Clave tipo de libro. Constante 'E'. | 326 | text += 'R' # Clave tipo de libro. Constante 'E'. |
4697 | 256 | 327 | ||
4701 | 257 | if invoice_received.invoice_id.operation_key == 'I': | 328 | if len(invoice_received.tax_line_ids) > 1: text += 'C' # Clave de operación |
4699 | 258 | text +='I' | ||
4700 | 259 | elif len(invoice_received.tax_line_ids) > 1: text += 'C' # Clave de operación | ||
4702 | 260 | else: text += ' ' | 329 | else: text += ' ' |
4703 | 261 | 330 | ||
4704 | 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) |
4705 | @@ -291,38 +360,7 @@ | |||
4706 | 291 | 360 | ||
4707 | 292 | for invoice_received in report.received: | 361 | for invoice_received in report.received: |
4708 | 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) |
4710 | 294 | 363 | print 'Other' | |
4711 | 364 | print file_contents | ||
4712 | 295 | return file_contents | 365 | return file_contents |
4746 | 296 | 366 | ||
4714 | 297 | |||
4715 | 298 | def _export_boe_file(self, cr, uid, ids, report, model=None, context=None): | ||
4716 | 299 | """ | ||
4717 | 300 | Action that exports the data into a BOE formated text file | ||
4718 | 301 | """ | ||
4719 | 302 | if context is None: | ||
4720 | 303 | context = {} | ||
4721 | 304 | |||
4722 | 305 | file_contents = '' | ||
4723 | 306 | |||
4724 | 307 | ## | ||
4725 | 308 | ## Add header record | ||
4726 | 309 | file_contents += self._get_formated_declaration_record(report) | ||
4727 | 310 | |||
4728 | 311 | ## | ||
4729 | 312 | ## Adds other fields | ||
4730 | 313 | file_contents += self._get_formated_other_records(cr,uid,report) | ||
4731 | 314 | |||
4732 | 315 | ## | ||
4733 | 316 | ## Generate the file and save as attachment | ||
4734 | 317 | file = base64.encodestring(file_contents) | ||
4735 | 318 | |||
4736 | 319 | file_name = _("340_report_%s.txt") % (time.strftime(_("%Y-%m-%d"))) | ||
4737 | 320 | self.pool.get("ir.attachment").create(cr, uid, { | ||
4738 | 321 | "name" : file_name, | ||
4739 | 322 | "datas" : file, | ||
4740 | 323 | "datas_fname" : file_name, | ||
4741 | 324 | "res_model" : "l10n.es.aeat.mod340", | ||
4742 | 325 | "res_id" : ids and ids[0] | ||
4743 | 326 | }, context=context) | ||
4744 | 327 | |||
4745 | 328 | l10n_es_aeat_mod340_export_to_boe() | ||
4747 | 329 | 367 | ||
4748 | === added file 'l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml' | |||
4749 | --- l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml 1970-01-01 00:00:00 +0000 | |||
4750 | +++ l10n_es_aeat_mod340/wizard/export_mod340_to_boe.xml 2014-02-03 11:19:23 +0000 | |||
4751 | @@ -0,0 +1,18 @@ | |||
4752 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
4753 | 2 | <openerp> | ||
4754 | 3 | <data> | ||
4755 | 4 | <record model="ir.actions.act_window" id="action_wizard_aeat_mod340_export"> | ||
4756 | 5 | <field name="name">Export AEAT 340 BOE file</field> | ||
4757 | 6 | <field name="type">ir.actions.act_window</field> | ||
4758 | 7 | <field name="res_model">l10n.es.aeat.mod340.export_to_boe</field> | ||
4759 | 8 | <field name="view_type">form</field> | ||
4760 | 9 | <field name="view_mode">form</field> | ||
4761 | 10 | <field name="target">new</field> | ||
4762 | 11 | </record> | ||
4763 | 12 | <record model="ir.actions.act_window.view" id="action_wizard_aeat_mod340_export_form"> | ||
4764 | 13 | <field name="act_window_id" ref="action_wizard_aeat_mod340_export"/> | ||
4765 | 14 | <field name="view_mode">form</field> | ||
4766 | 15 | <field name="view_id" ref="l10n_es_aeat.wizard_aeat_export"/> | ||
4767 | 16 | </record> | ||
4768 | 17 | </data> | ||
4769 | 18 | </openerp> | ||
4770 | 0 | 19 | ||
4771 | === added directory 'l10n_es_aeat_mod340_type0' | |||
4772 | === added file 'l10n_es_aeat_mod340_type0/__init__.py' | |||
4773 | --- l10n_es_aeat_mod340_type0/__init__.py 1970-01-01 00:00:00 +0000 | |||
4774 | +++ l10n_es_aeat_mod340_type0/__init__.py 2014-02-03 11:19:23 +0000 | |||
4775 | @@ -0,0 +1,27 @@ | |||
4776 | 1 | # -*- coding: utf-8 -*- | ||
4777 | 2 | ############################################################################## | ||
4778 | 3 | # | ||
4779 | 4 | # OpenERP, Open Source Management Solution | ||
4780 | 5 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved | ||
4781 | 6 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | ||
4782 | 7 | # | ||
4783 | 8 | # $Id$ | ||
4784 | 9 | # | ||
4785 | 10 | # This program is free software: you can redistribute it and/or modify | ||
4786 | 11 | # it under the terms of the GNU Affero General Public License as published by | ||
4787 | 12 | # the Free Software Foundation, either version 3 of the License, or | ||
4788 | 13 | # (at your option) any later version. | ||
4789 | 14 | # | ||
4790 | 15 | # This program is distributed in the hope that it will be useful, | ||
4791 | 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4792 | 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4793 | 18 | # GNU Affero General Public License for more details. | ||
4794 | 19 | # | ||
4795 | 20 | # You should have received a copy of the GNU Affero General Public License | ||
4796 | 21 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4797 | 22 | # | ||
4798 | 23 | ############################################################################## | ||
4799 | 24 | |||
4800 | 25 | import wizard | ||
4801 | 26 | import mod340 | ||
4802 | 27 | |||
4803 | 0 | 28 | ||
4804 | === added file 'l10n_es_aeat_mod340_type0/__openerp__.py' | |||
4805 | --- l10n_es_aeat_mod340_type0/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
4806 | +++ l10n_es_aeat_mod340_type0/__openerp__.py 2014-02-03 11:19:23 +0000 | |||
4807 | @@ -0,0 +1,45 @@ | |||
4808 | 1 | # -*- coding: utf-8 -*- | ||
4809 | 2 | ############################################################################## | ||
4810 | 3 | # | ||
4811 | 4 | # OpenERP, Open Source Management Solution | ||
4812 | 5 | # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. | ||
4813 | 6 | # Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) All Rights Reserved | ||
4814 | 7 | # Ignacio Ibeas Izquierdo <ignacio@acysos.com> | ||
4815 | 8 | # $Id$ | ||
4816 | 9 | # | ||
4817 | 10 | # This program is free software: you can redistribute it and/or modify | ||
4818 | 11 | # it under the terms of the GNU Affero General Public License as published by | ||
4819 | 12 | # the Free Software Foundation, either version 3 of the License, or | ||
4820 | 13 | # (at your option) any later version. | ||
4821 | 14 | # | ||
4822 | 15 | # This program is distributed in the hope that it will be useful, | ||
4823 | 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4824 | 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
4825 | 18 | # GNU Affero General Public License for more details. | ||
4826 | 19 | # | ||
4827 | 20 | # You should have received a copy of the GNU Affero General Public License | ||
4828 | 21 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
4829 | 22 | # | ||
4830 | 23 | ############################################################################## | ||
4831 | 24 | |||
4832 | 25 | { | ||
4833 | 26 | 'name' : 'Generación de fichero modelo 340. Registro tipo 0', | ||
4834 | 27 | 'version' : '1.0', | ||
4835 | 28 | 'author' : 'Acysos S.L.', | ||
4836 | 29 | 'website' : 'www.acysos.com', | ||
4837 | 30 | 'category' : 'Localisation/Accounting', | ||
4838 | 31 | 'description' : ''' | ||
4839 | 32 | Exporta el registro de tipo 0 del Modelo 340. | ||
4840 | 33 | Actualmente solo obligatorio para la Comunidad Foral de Navarra. | ||
4841 | 34 | ''', | ||
4842 | 35 | 'license' : 'AGPL-3', | ||
4843 | 36 | 'depends' : ['l10n_es_aeat_mod340', | ||
4844 | 37 | 'city', | ||
4845 | 38 | ], | ||
4846 | 39 | 'init_xml' : [], | ||
4847 | 40 | 'demo_xml' : [], | ||
4848 | 41 | 'update_xml' : [ | ||
4849 | 42 | 'mod340_view.xml'], | ||
4850 | 43 | 'installable' : True, | ||
4851 | 44 | 'active' : False, | ||
4852 | 45 | } | ||
4853 | 0 | 46 | ||
4854 | === added directory 'l10n_es_aeat_mod340_type0/i18n' | |||
4855 | === added file 'l10n_es_aeat_mod340_type0/i18n/es.po' | |||
4856 | --- l10n_es_aeat_mod340_type0/i18n/es.po 1970-01-01 00:00:00 +0000 | |||
4857 | +++ l10n_es_aeat_mod340_type0/i18n/es.po 2014-02-03 11:19:23 +0000 | |||
4858 | @@ -0,0 +1,124 @@ | |||
4859 | 1 | # Translation of OpenERP Server. | ||
4860 | 2 | # This file contains the translation of the following modules: | ||
4861 | 3 | # * l10n_es_aeat_mod340_type0 | ||
4862 | 4 | # | ||
4863 | 5 | msgid "" | ||
4864 | 6 | msgstr "" | ||
4865 | 7 | "Project-Id-Version: OpenERP Server 6.0.3\n" | ||
4866 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
4867 | 9 | "POT-Creation-Date: 2013-05-17 16:32+0000\n" | ||
4868 | 10 | "PO-Revision-Date: 2013-05-17 16:32+0000\n" | ||
4869 | 11 | "Last-Translator: <>\n" | ||
4870 | 12 | "Language-Team: \n" | ||
4871 | 13 | "MIME-Version: 1.0\n" | ||
4872 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
4873 | 15 | "Content-Transfer-Encoding: \n" | ||
4874 | 16 | "Plural-Forms: \n" | ||
4875 | 17 | |||
4876 | 18 | #. module: l10n_es_aeat_mod340_type0 | ||
4877 | 19 | #: view:l10n.es.aeat.mod340:0 | ||
4878 | 20 | msgid "Presenter" | ||
4879 | 21 | msgstr "Presentador" | ||
4880 | 22 | |||
4881 | 23 | #. module: l10n_es_aeat_mod340_type0 | ||
4882 | 24 | #: model:ir.model,name:l10n_es_aeat_mod340_type0.model_l10n_es_aeat_mod340_export_to_boe | ||
4883 | 25 | msgid "Export AEAT Model 340 to BOE format" | ||
4884 | 26 | msgstr "Exportar Modelo AEAT 340 al formato del BOE" | ||
4885 | 27 | |||
4886 | 28 | #. module: l10n_es_aeat_mod340_type0 | ||
4887 | 29 | #: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:121 | ||
4888 | 30 | #, python-format | ||
4889 | 31 | msgid "340_report_%s.txt" | ||
4890 | 32 | msgstr "340_report_%s.txt" | ||
4891 | 33 | |||
4892 | 34 | #. module: l10n_es_aeat_mod340_type0 | ||
4893 | 35 | #: model:ir.model,name:l10n_es_aeat_mod340_type0.model_l10n_es_aeat_mod340 | ||
4894 | 36 | msgid "Model 340" | ||
4895 | 37 | msgstr "Modelo 340" | ||
4896 | 38 | |||
4897 | 39 | #. module: l10n_es_aeat_mod340_type0 | ||
4898 | 40 | #: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:121 | ||
4899 | 41 | #, python-format | ||
4900 | 42 | msgid "%Y-%m-%d" | ||
4901 | 43 | msgstr "%Y-%m-%d" | ||
4902 | 44 | |||
4903 | 45 | #. module: l10n_es_aeat_mod340_type0 | ||
4904 | 46 | #: code:addons/l10n_es_aeat_mod340_type0/wizard/export_mod340_to_boe.py:92 | ||
4905 | 47 | #, python-format | ||
4906 | 48 | msgid "The type 0 record must be 500 characters long" | ||
4907 | 49 | msgstr "El registro de tipo 0 debe tener 500 caracteres" | ||
4908 | 50 | |||
4909 | 51 | #. module: l10n_es_aeat_mod340_type0 | ||
4910 | 52 | #: view:l10n.es.aeat.mod340:0 | ||
4911 | 53 | msgid "Address" | ||
4912 | 54 | msgstr "Dirección" | ||
4913 | 55 | |||
4914 | 56 | #. module: l10n_es_aeat_mod340_type0 | ||
4915 | 57 | #: view:l10n.es.aeat.mod340:0 | ||
4916 | 58 | msgid "This information is only for the company that have to present registry type 0. For the moment, only in Comunidad Foral de Navarra" | ||
4917 | 59 | msgstr "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." | ||
4918 | 60 | |||
4919 | 61 | #. module: l10n_es_aeat_mod340 | ||
4920 | 62 | #: field:l10n.es.aeat.mod340,presenter_address_stair:0 | ||
4921 | 63 | msgid "Stair" | ||
4922 | 64 | msgstr "Escalera" | ||
4923 | 65 | |||
4924 | 66 | #. module: l10n_es_aeat_mod340 | ||
4925 | 67 | #: help:l10n.es.aeat.mod340,presenter_city_id:0 | ||
4926 | 68 | msgid "Use the name or the zip to search the location" | ||
4927 | 69 | msgstr "Utilice el nombre o el código postal para buscar la localización" | ||
4928 | 70 | |||
4929 | 71 | #. module: l10n_es_aeat_mod340 | ||
4930 | 72 | #: field:l10n.es.aeat.mod340,presenter_phone_contact:0 | ||
4931 | 73 | msgid "Phone Contact" | ||
4932 | 74 | msgstr "Teléfono de contacto" | ||
4933 | 75 | |||
4934 | 76 | #. module: l10n_es_aeat_mod340 | ||
4935 | 77 | #: field:l10n.es.aeat.mod340,presenter_address_acronym:0 | ||
4936 | 78 | msgid "Address Acronym" | ||
4937 | 79 | msgstr "Siglas" | ||
4938 | 80 | |||
4939 | 81 | #. module: l10n_es_aeat_mod340 | ||
4940 | 82 | #: field:l10n.es.aeat.mod340,presenter_city_id:0 | ||
4941 | 83 | msgid "Location" | ||
4942 | 84 | msgstr "Localización" | ||
4943 | 85 | |||
4944 | 86 | #. module: l10n_es_aeat_mod340 | ||
4945 | 87 | #: field:l10n.es.aeat.mod340,presenter_address_door:0 | ||
4946 | 88 | msgid "Door" | ||
4947 | 89 | msgstr "Puerta" | ||
4948 | 90 | |||
4949 | 91 | #. module: l10n_es_aeat_mod340 | ||
4950 | 92 | #: field:l10n.es.aeat.mod340,presenter_vat:0 | ||
4951 | 93 | msgid "VAT number" | ||
4952 | 94 | msgstr "CIF/NIF" | ||
4953 | 95 | |||
4954 | 96 | #. module: l10n_es_aeat_mod340 | ||
4955 | 97 | #: help:l10n.es.aeat.mod340,presenter_address_acronym:0 | ||
4956 | 98 | msgid "Acronyms of the type of public roadway, example St." | ||
4957 | 99 | msgstr "Siglas de la vía pública, por ejemplo CL." | ||
4958 | 100 | |||
4959 | 101 | #. module: l10n_es_aeat_mod340 | ||
4960 | 102 | #: field:l10n.es.aeat.mod340,presenter_address_number:0 | ||
4961 | 103 | msgid "Number" | ||
4962 | 104 | msgstr "Nº" | ||
4963 | 105 | |||
4964 | 106 | #. module: l10n_es_aeat_mod340 | ||
4965 | 107 | #: field:l10n.es.aeat.mod340,presenter_address_floor:0 | ||
4966 | 108 | msgid "Floor" | ||
4967 | 109 | msgstr "Piso" | ||
4968 | 110 | |||
4969 | 111 | #. module: l10n_es_aeat_mod340 | ||
4970 | 112 | #: field:l10n.es.aeat.mod340,presenter_name_contact:0 | ||
4971 | 113 | msgid "Name And Surname Contact" | ||
4972 | 114 | msgstr "Nombre y apellido de contacto" | ||
4973 | 115 | |||
4974 | 116 | #. module: l10n_es_aeat_mod340 | ||
4975 | 117 | #: field:l10n.es.aeat.mod340,presenter_name:0 | ||
4976 | 118 | msgid "Name And Surname" | ||
4977 | 119 | msgstr "Nombre y apellido" | ||
4978 | 120 | |||
4979 | 121 | #. module: l10n_es_aeat_mod340 | ||
4980 | 122 | #: field:l10n.es.aeat.mod340,presenter_address_name:0 | ||
4981 | 123 | msgid "Street Name" | ||
4982 | 124 | msgstr "Calle" | ||
4983 | 0 | 125 | ||
4984 | === added file 'l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot' | |||
4985 | --- l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot 1970-01-01 00:00:00 +0000 | |||
4986 | +++ l10n_es_aeat_mod340_type0/i18n/l10n_es_aeat_mod340_type0.pot 2014-02-03 11:19:23 +0000 | |||
4987 | @@ -0,0 +1,124 @@ | |||
4988 | 1 | # Translation of OpenERP Server. | ||
4989 | 2 | # This file contains the translation of the following modules: | ||
4990 | 3 | # * l10n_es_aeat_mod340_type0 | ||
4991 | 4 | # | ||
4992 | 5 | msgid "" | ||
4993 | 6 | msgstr "" | ||
4994 | 7 | "Project-Id-Version: OpenERP Server 6.0.3\n" | ||
4995 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
4996 | 9 | "POT-Creation-Date: 2013-05-17 16:31+0000\n" | ||
4997 | 10 | "PO-Revision-Date: 2013-05-17 16:31+0000\n" | ||
4998 | 11 | "Last-Translator: <>\n" | ||
4999 | 12 | "Language-Team: \n" | ||
5000 | 13 | "MIME-Version: 1.0\n" |
The diff has been truncated for viewing.
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.