Merge lp:~joaquing-pedrosa/openerp-spain/7.0-l10n_es_aeat_mod347 into lp:~openerp-spain-team/openerp-spain/7.0
- 7.0-l10n_es_aeat_mod347
- Merge into 7.0
Status: | Merged |
---|---|
Merged at revision: | 419 |
Proposed branch: | lp:~joaquing-pedrosa/openerp-spain/7.0-l10n_es_aeat_mod347 |
Merge into: | lp:~openerp-spain-team/openerp-spain/7.0 |
Diff against target: |
4485 lines (+1447/-1154) 18 files modified
l10n_es_aeat_mod347/__init__.py (+2/-3) l10n_es_aeat_mod347/__openerp__.py (+64/-58) l10n_es_aeat_mod347/account_journal.py (+14/-18) l10n_es_aeat_mod347/account_journal_view.xml (+5/-5) l10n_es_aeat_mod347/i18n/ca.po (+23/-94) l10n_es_aeat_mod347/i18n/es.po (+135/-195) l10n_es_aeat_mod347/i18n/l10n_es_aeat_mod347.pot (+257/-228) l10n_es_aeat_mod347/mod347.py (+285/-167) l10n_es_aeat_mod347/mod347_view.xml (+200/-142) l10n_es_aeat_mod347/mod347_workflow.xml (+2/-2) l10n_es_aeat_mod347/report/mod347_report.rml (+1/-1) l10n_es_aeat_mod347/res_partner.py (+14/-20) l10n_es_aeat_mod347/res_partner_view.xml (+3/-6) l10n_es_aeat_mod347/security/ir.model.access.csv (+4/-0) l10n_es_aeat_mod347/static/src/img/icon_source.svg (+96/-0) l10n_es_aeat_mod347/wizard/__init__.py (+1/-3) l10n_es_aeat_mod347/wizard/calculate_mod347_records.py (+120/-69) l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py (+221/-143) |
To merge this branch: | bzr merge lp:~joaquing-pedrosa/openerp-spain/7.0-l10n_es_aeat_mod347 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pedro Manuel Baeza | Approve | ||
Review via email: mp+200095@code.launchpad.net |
Commit message
Migracion del modelo 347 a OpenERP 7
Description of the change
[FIX]: Update view definitions to version 7.0.
[FIX]: Add security definition for objects l10n_es_
[FIX]: Changed types to orm.Model, orm.TransientModel and orm.AbstractModel.
[FIX]: Contributions have been written in the standard format of the community.
[FIX]: Remove 'init_xml' keys, because it's no longer needed in v7.
[FIX]: Remove __author__ variables in files, because authors are put on manifest file (__openerp__.py).
[FIX]: Increased compatibility with standard PEP8.
[FIX]: Imports in standard format.
[IMP]: Add "state" field in tree view.
[IMP]: Option to generate report suppliers only.
[FIX]: Update address partner search to V7.
[FIX]: Update state in address partner to V7.
[FIX]: Update dependencies, now required the module documents to view generated file in V7.
[FIX]: Translate .pot file to v7.
[FIX]: Translate field "only_supplier" to spanish language.
[FIX]: Format the text that explains the module.
[IMP]: Add icon and screencapture.
Joaquin Gutierrez (joaquing-pedrosa) wrote : | # |
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
Buenas, Joaquín,
Puesto que he actualizado el l10n_es_aeat con algunas mejoras, descargando los módulos "hijos" de la necesidad de ciertas cosas (workflow, botón, interfaz básico, etc), ¿puedes tú revisar este MP para adecuarlo a ello, o directamente me encargo yo?
Un saludo.
Joaquin Gutierrez (joaquing-pedrosa) wrote : | # |
Hola Pedro:
Ok, este fin de semana lo miro y lo adapto. Un saludo
Enviado en movilidad x un cacharro con iOS
> El 31/01/2014, a las 01:07, Pedro Manuel Baeza <email address hidden> escribió:
>
> Review: Needs Fixing
>
> Buenas, Joaquín,
>
> Puesto que he actualizado el l10n_es_aeat con algunas mejoras, descargando los módulos "hijos" de la necesidad de ciertas cosas (workflow, botón, interfaz básico, etc), ¿puedes tú revisar este MP para adecuarlo a ello, o directamente me encargo yo?
>
> Un saludo.
> --
> https:/
> You are the owner of lp:~joaquing-pedrosa/openerp-spain/7.0-l10n_es_aeat_mod347.
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
Lo incluyo para arreglarlo más tarde en una revisión.
Preview Diff
1 | === modified file 'l10n_es_aeat_mod347/__init__.py' (properties changed: -x to +x) | |||
2 | --- l10n_es_aeat_mod347/__init__.py 2013-11-22 23:44:11 +0000 | |||
3 | +++ l10n_es_aeat_mod347/__init__.py 2013-12-27 10:08:05 +0000 | |||
4 | @@ -19,11 +19,10 @@ | |||
5 | 19 | # | 19 | # |
6 | 20 | ############################################################################## | 20 | ############################################################################## |
7 | 21 | 21 | ||
8 | 22 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | ||
9 | 23 | 22 | ||
10 | 24 | import account_journal | 23 | import account_journal |
11 | 25 | import res_partner | 24 | import res_partner |
12 | 26 | import mod347 | 25 | import mod347 |
13 | 27 | |||
14 | 28 | import wizard | 26 | import wizard |
15 | 29 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
16 | 30 | \ No newline at end of file | 27 | \ No newline at end of file |
17 | 28 | |||
18 | 29 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
19 | 31 | 30 | ||
20 | === modified file 'l10n_es_aeat_mod347/__openerp__.py' (properties changed: -x to +x) | |||
21 | --- l10n_es_aeat_mod347/__openerp__.py 2013-11-22 23:44:11 +0000 | |||
22 | +++ l10n_es_aeat_mod347/__openerp__.py 2013-12-27 10:08:05 +0000 | |||
23 | @@ -20,72 +20,78 @@ | |||
24 | 20 | ############################################################################## | 20 | ############################################################################## |
25 | 21 | 21 | ||
26 | 22 | { | 22 | { |
35 | 23 | "name" : "AEAT Model 347", | 23 | 'name': "AEAT Model 347", |
36 | 24 | "version" : "1.0", | 24 | 'version': "1.0", |
37 | 25 | "author" : "Pexego, ASR-OSS, NaN·tic, Acysos", | 25 | 'author': "Pexego, ASR-OSS, NaN·tic, Acysos", |
38 | 26 | "license" : "AGPL-3", | 26 | 'website': "http://www.pexego.es, www.asr-oss.com, www.nan-tic.com, www.acysos.com", |
39 | 27 | "website" : "http://www.pexego.es, www.asr-oss.com, www.nan-tic.com, www.acysos.com", | 27 | 'contributors': ['Pedro M. Baeza', 'Joaquín Gutierrez'], |
40 | 28 | "category" : "Localisation/Accounting", | 28 | 'category': "Localisation/Accounting", |
41 | 29 | "description" : """ | 29 | 'description': """ |
42 | 30 | Módulo para la presentación del Modelo AEAT 347 (Declaración Anual de Operaciones con Terceros) | 30 | Presentación del Modelo AEAT 347 |
43 | 31 | ============================================ | ||
44 | 31 | 32 | ||
45 | 33 | (Declaración Anual de Operaciones con Terceros) | ||
46 | 32 | Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban los diseños físicos y lógicos del 347. | 34 | Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban los diseños físicos y lógicos del 347. |
47 | 33 | 35 | ||
48 | 34 | De acuerdo con la normativa de la Hacienda Española, están obligados a presentar el modelo 347: | 36 | De acuerdo con la normativa de la Hacienda Española, están obligados a presentar el modelo 347: |
64 | 35 | * Todas aquellas personas físicas o jurídicas que no esten acogidas al regimen | 37 | ----------------------------------------------------------------------------------------------- |
65 | 36 | de módulos en el IRPF, de naturaleza pública o privada que desarrollen | 38 | * Todas aquellas personas físicas o jurídicas que no esten acogidas al regimen de módulos en el IRPF, |
66 | 37 | actividades empresariales o profesionales, siempre y cuando hayan | 39 | de naturaleza pública o privada que desarrollen actividades empresariales o profesionales, |
67 | 38 | realizado operaciones que, en su conjunto, respecto de otra persona | 40 | siempre y cuando hayan realizado operaciones que, en su conjunto, respecto de otra persona |
68 | 39 | o Entidad, cualquiera que sea su naturaleza o carácter, hayan superado | 41 | o Entidad, cualquiera que sea su naturaleza o carácter, hayan superado la cifra de 3.005,06€ |
69 | 40 | la cifra de 3.005,06€ durante el año natural al que se refiere la | 42 | durante el año natural al que se refiere la declaración. Para el cálculo de la cifra de 3.005,06 € |
70 | 41 | declaración. Para el cálculo de la cifra de 3.005,06 € se computan de | 43 | se computan de forma separada las entregas de biene y servicios y las adquisiciones de los mismos. |
71 | 42 | forma separada las entregas de biene y servicios y las adquisiciones | 44 | * En el caso de Sociedades Irregulares, Sociedades Civiles y Comunidad de Bienes |
72 | 43 | de los mismos. | 45 | no acogidas el regimen de módulos en el IRPF, deben incluir las facturas sin |
73 | 44 | * En el caso de Sociedades Irregulares, Sociedades Civiles y Comunidad de Bienes | 46 | incluir la cuantía del IRPF. |
74 | 45 | no acogidas el regimen de módulos en el IRPF, deben incluir las facturas sin | 47 | * En el caso de facturas de proveedor con IRPF, no deben ser presentadas en este |
75 | 46 | incluir la cuantía del IRPF. | 48 | modelo. Se presentan en el modelo 190. Desactivar en la ficha del proveedor |
76 | 47 | * En el caso de facturas de proveedor con IRPF, no deben ser presentadas en este | 49 | la opción de "Incluir en el informe 347". |
62 | 48 | modelo. Se presentan en el modelo 190. Desactivar en la ficha del proveedor | ||
63 | 49 | la opción de "Incluir en el informe 347". | ||
77 | 50 | 50 | ||
78 | 51 | De acuerdo con la normativa no están obligados a presentar el modelo 347: | 51 | De acuerdo con la normativa no están obligados a presentar el modelo 347: |
95 | 52 | * Quienes realicen en España actividades empresariales o profesionales sin | 52 | ------------------------------------------------------------------------- |
96 | 53 | tener en territorio español la sede de su actividad, un establecimiento | 53 | * Quienes realicen en España actividades empresariales o profesionales sin |
97 | 54 | permanente o su domicilio fiscal. | 54 | tener en territorio español la sede de su actividad, un establecimiento |
98 | 55 | * Las personas físicas y entidades en régimen de atribución de rentas en | 55 | permanente o su domicilio fiscal. |
99 | 56 | el IRPF, por las actividades que tributen en dicho impuesto por el | 56 | * Las personas físicas y entidades en régimen de atribución de rentas en |
100 | 57 | régimen de estimación objetiva y, simultáneamente, en el IVA por los | 57 | el IRPF, por las actividades que tributen en dicho impuesto por el |
101 | 58 | régimenes especiales simplificados o de la agricultura, ganadería | 58 | régimen de estimación objetiva y, simultáneamente, en el IVA por los |
102 | 59 | y pesca o recargo de equivalencia, salvo las operaciones que estén | 59 | régimenes especiales simplificados o de la agricultura, ganadería |
103 | 60 | excluidas de la aplicación de los expresados regímenes. | 60 | y pesca o recargo de equivalencia, salvo las operaciones que estén |
104 | 61 | * Los obligados tributarios que no hayan realizado operaciones que en su | 61 | excluidas de la aplicación de los expresados regímenes. |
105 | 62 | conjunto superen la cifra de 3.005,06€ | 62 | * Los obligados tributarios que no hayan realizado operaciones que en su |
106 | 63 | * Los obligados tributarios que hayan realizado exclusivamente operaciones | 63 | conjunto superen la cifra de 3.005,06€ |
107 | 64 | no declarables. | 64 | * Los obligados tributarios que hayan realizado exclusivamente operaciones |
108 | 65 | * Los obligados tributarios que deban informar sobre las operaciones | 65 | no declarables. |
109 | 66 | incluidas en los libros registro de IVA (modelo 340) salvo que realicen | 66 | * Los obligados tributarios que deban informar sobre las operaciones |
110 | 67 | operaciones que expresamente deban incluirse en el modelo 347. | 67 | incluidas en los libros registro de IVA (modelo 340) salvo que realicen |
111 | 68 | operaciones que expresamente deban incluirse en el modelo 347. | ||
112 | 68 | 69 | ||
113 | 69 | (http://www.boe.es/boe/dias/2008/10/23/pdfs/A42154-42190.pdf) | 70 | (http://www.boe.es/boe/dias/2008/10/23/pdfs/A42154-42190.pdf) |
114 | 70 | """, | 71 | """, |
134 | 71 | "init_xml" : [], | 72 | 'license': "AGPL-3", |
135 | 72 | "depends" : [ | 73 | 'init_xml': [], |
136 | 73 | "base_vat", | 74 | 'depends': [ |
137 | 74 | "l10n_es_aeat", | 75 | "base_vat", |
138 | 75 | "account_invoice_currency", | 76 | "l10n_es_aeat", |
139 | 76 | ], | 77 | "account_invoice_currency", |
140 | 77 | "update_xml" : [ | 78 | "document", |
141 | 78 | "account_journal_view.xml", | 79 | ], |
142 | 79 | "res_partner_view.xml", | 80 | 'data': [ |
143 | 80 | "mod347_view.xml", | 81 | "account_journal_view.xml", |
144 | 81 | "mod347_workflow.xml", | 82 | "res_partner_view.xml", |
145 | 82 | "mod347_report.xml", | 83 | "mod347_view.xml", |
146 | 83 | "security/ir.model.access.csv", | 84 | "mod347_workflow.xml", |
147 | 84 | "security/mod_347_security.xml" | 85 | "mod347_report.xml", |
148 | 85 | ], | 86 | "security/ir.model.access.csv", |
149 | 86 | "demo_xml" : [], | 87 | "security/mod_347_security.xml" |
150 | 87 | "test" : [], | 88 | ], |
151 | 88 | "installable" : False, | 89 | 'installable': True, |
152 | 89 | "active" : False, | 90 | 'active': False, |
153 | 91 | 'images': [ | ||
154 | 92 | 'images/l10n_es_aeat_mod347.png', | ||
155 | 93 | ], | ||
156 | 94 | |||
157 | 90 | } | 95 | } |
158 | 96 | |||
159 | 91 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 97 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
160 | 92 | 98 | ||
161 | === modified file 'l10n_es_aeat_mod347/account_journal.py' (properties changed: -x to +x) | |||
162 | --- l10n_es_aeat_mod347/account_journal.py 2013-11-22 23:44:11 +0000 | |||
163 | +++ l10n_es_aeat_mod347/account_journal.py 2013-12-27 10:08:05 +0000 | |||
164 | @@ -19,27 +19,23 @@ | |||
165 | 19 | # | 19 | # |
166 | 20 | ############################################################################## | 20 | ############################################################################## |
167 | 21 | 21 | ||
180 | 22 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | 22 | |
181 | 23 | 23 | from openerp.osv import fields | |
182 | 24 | """ | 24 | from openerp.osv import orm |
183 | 25 | Extends the account journals to add fields used by the 347 report. | 25 | |
184 | 26 | """ | 26 | |
185 | 27 | 27 | class account_journal(orm.Model): | |
174 | 28 | from osv import osv, fields | ||
175 | 29 | |||
176 | 30 | class account_journal(osv.osv): | ||
177 | 31 | """ | ||
178 | 32 | Extends the account journals to add the cash_journal field. | ||
179 | 33 | """ | ||
186 | 34 | _inherit = 'account.journal' | 28 | _inherit = 'account.journal' |
187 | 35 | |||
188 | 36 | _columns = { | 29 | _columns = { |
189 | 37 | 'cash_journal': fields.boolean('Cash payments journal', | 30 | 'cash_journal': fields.boolean('Cash payments journal', |
192 | 38 | help="Payments of this journal will be considered as cash (used on the 347 report)"), | 31 | help="Payments of this journal will be considered as cash" \ |
193 | 39 | } | 32 | "(used on the 347 report)"), |
194 | 33 | } | ||
195 | 40 | 34 | ||
196 | 41 | _defaults = { | 35 | _defaults = { |
200 | 42 | 'cash_journal': lambda *a : False | 36 | 'cash_journal': lambda *a: False |
201 | 43 | } | 37 | } |
202 | 44 | 38 | ||
203 | 45 | account_journal() | 39 | account_journal() |
204 | 40 | |||
205 | 41 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
206 | 46 | 42 | ||
207 | === modified file 'l10n_es_aeat_mod347/account_journal_view.xml' (properties changed: -x to +x) | |||
208 | --- l10n_es_aeat_mod347/account_journal_view.xml 2013-11-22 23:44:11 +0000 | |||
209 | +++ l10n_es_aeat_mod347/account_journal_view.xml 2013-12-27 10:08:05 +0000 | |||
210 | @@ -24,8 +24,8 @@ | |||
211 | 24 | <field name="type">form</field> | 24 | <field name="type">form</field> |
212 | 25 | <field name="inherit_id" ref="account.view_account_period_form"/> | 25 | <field name="inherit_id" ref="account.view_account_period_form"/> |
213 | 26 | <field name="arch" type="xml"> | 26 | <field name="arch" type="xml"> |
216 | 27 | <field name="date_stop" position="after"> | 27 | <field name="company_id" position="after"> |
217 | 28 | <field name="quarter"/> | 28 | <field name="quarter"/> |
218 | 29 | </field> | 29 | </field> |
219 | 30 | </field> | 30 | </field> |
220 | 31 | </record> | 31 | </record> |
221 | @@ -36,9 +36,9 @@ | |||
222 | 36 | <field name="type">tree</field> | 36 | <field name="type">tree</field> |
223 | 37 | <field name="inherit_id" ref="account.view_account_period_tree"/> | 37 | <field name="inherit_id" ref="account.view_account_period_tree"/> |
224 | 38 | <field name="arch" type="xml"> | 38 | <field name="arch" type="xml"> |
228 | 39 | <field name="date_stop" position="after"> | 39 | <field name="company_id" position="after"> |
229 | 40 | <field name="quarter" /> | 40 | <field name="quarter" /> |
230 | 41 | </field> | 41 | </field> |
231 | 42 | </field> | 42 | </field> |
232 | 43 | </record> | 43 | </record> |
233 | 44 | 44 | ||
234 | 45 | 45 | ||
235 | === modified file 'l10n_es_aeat_mod347/i18n/ca.po' | |||
236 | --- l10n_es_aeat_mod347/i18n/ca.po 2013-12-19 06:16:40 +0000 | |||
237 | +++ l10n_es_aeat_mod347/i18n/ca.po 2013-12-27 10:08:05 +0000 | |||
238 | @@ -7,15 +7,15 @@ | |||
239 | 7 | "Project-Id-Version: OpenERP Server 6.0.0-rc1\n" | 7 | "Project-Id-Version: OpenERP Server 6.0.0-rc1\n" |
240 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" |
241 | 9 | "POT-Creation-Date: 2012-03-20 17:21+0000\n" | 9 | "POT-Creation-Date: 2012-03-20 17:21+0000\n" |
243 | 10 | "PO-Revision-Date: 2013-12-10 16:44+0000\n" | 10 | "PO-Revision-Date: 2013-10-12 00:00+0000\n" |
244 | 11 | "Last-Translator: Jordi Esteve (www.zikzakmedia.com) " | 11 | "Last-Translator: Jordi Esteve (www.zikzakmedia.com) " |
245 | 12 | "<jesteve@zikzakmedia.com>\n" | 12 | "<jesteve@zikzakmedia.com>\n" |
246 | 13 | "Language-Team: \n" | 13 | "Language-Team: \n" |
247 | 14 | "MIME-Version: 1.0\n" | 14 | "MIME-Version: 1.0\n" |
248 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
249 | 16 | "Content-Transfer-Encoding: 8bit\n" | 16 | "Content-Transfer-Encoding: 8bit\n" |
252 | 17 | "X-Launchpad-Export-Date: 2013-12-19 06:16+0000\n" | 17 | "X-Launchpad-Export-Date: 2013-10-14 05:33+0000\n" |
253 | 18 | "X-Generator: Launchpad (build 16872)\n" | 18 | "X-Generator: Launchpad (build 16799)\n" |
254 | 19 | 19 | ||
255 | 20 | #. module: l10n_es_aeat_mod347 | 20 | #. module: l10n_es_aeat_mod347 |
256 | 21 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:157 | 21 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:157 |
257 | @@ -33,7 +33,7 @@ | |||
258 | 33 | #. module: l10n_es_aeat_mod347 | 33 | #. module: l10n_es_aeat_mod347 |
259 | 34 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 | 34 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 |
260 | 35 | #, python-format | 35 | #, python-format |
262 | 36 | msgid "All real estate records state code field must be filled." | 36 | msgid "All real state records state code field must be filled." |
263 | 37 | msgstr "" | 37 | msgstr "" |
264 | 38 | "El codi de província de tots els registres d'immobles han d'estar introduïts." | 38 | "El codi de província de tots els registres d'immobles han d'estar introduïts." |
265 | 39 | 39 | ||
266 | @@ -61,12 +61,12 @@ | |||
267 | 61 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 | 61 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 |
268 | 62 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 62 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
269 | 63 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 | 63 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 |
271 | 64 | msgid "Real Estate Records" | 64 | msgid "Real State Records" |
272 | 65 | msgstr "Registres d'immobles" | 65 | msgstr "Registres d'immobles" |
273 | 66 | 66 | ||
274 | 67 | #. module: l10n_es_aeat_mod347 | 67 | #. module: l10n_es_aeat_mod347 |
275 | 68 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 | 68 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 |
277 | 69 | msgid "Fourth Quarter Real Estate Transmossion Amount" | 69 | msgid "Fourth Quarter Real State Transmossion Amount" |
278 | 70 | msgstr "Import transmissió immoble (T4)" | 70 | msgstr "Import transmissió immoble (T4)" |
279 | 71 | 71 | ||
280 | 72 | #. module: l10n_es_aeat_mod347 | 72 | #. module: l10n_es_aeat_mod347 |
281 | @@ -89,7 +89,7 @@ | |||
282 | 89 | #. module: l10n_es_aeat_mod347 | 89 | #. module: l10n_es_aeat_mod347 |
283 | 90 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record | 90 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record |
284 | 91 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 91 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
286 | 92 | msgid "Real Estate Record" | 92 | msgid "Real State Record" |
287 | 93 | msgstr "Registre d'immoble" | 93 | msgstr "Registre d'immoble" |
288 | 94 | 94 | ||
289 | 95 | #. module: l10n_es_aeat_mod347 | 95 | #. module: l10n_es_aeat_mod347 |
290 | @@ -123,7 +123,7 @@ | |||
291 | 123 | 123 | ||
292 | 124 | #. module: l10n_es_aeat_mod347 | 124 | #. module: l10n_es_aeat_mod347 |
293 | 125 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 | 125 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 |
295 | 126 | msgid "Real Estate Amount" | 126 | msgid "Real State Amount" |
296 | 127 | msgstr "Import immobles" | 127 | msgstr "Import immobles" |
297 | 128 | 128 | ||
298 | 129 | #. module: l10n_es_aeat_mod347 | 129 | #. module: l10n_es_aeat_mod347 |
299 | @@ -227,7 +227,7 @@ | |||
300 | 227 | #. module: l10n_es_aeat_mod347 | 227 | #. module: l10n_es_aeat_mod347 |
301 | 228 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:232 | 228 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:232 |
302 | 229 | #, python-format | 229 | #, python-format |
304 | 230 | msgid "The type 2-I record (real estate) must be 502 characters long" | 230 | msgid "The type 2-I record (real state) must be 502 characters long" |
305 | 231 | msgstr "" | 231 | msgstr "" |
306 | 232 | "El tipus de registre 2-I (estat real) ha de ser de 502 caràcters de llargada" | 232 | "El tipus de registre 2-I (estat real) ha de ser de 502 caràcters de llargada" |
307 | 233 | 233 | ||
308 | @@ -244,7 +244,7 @@ | |||
309 | 244 | 244 | ||
310 | 245 | #. module: l10n_es_aeat_mod347 | 245 | #. module: l10n_es_aeat_mod347 |
311 | 246 | #: view:l10n.es.aeat.mod347.report:0 | 246 | #: view:l10n.es.aeat.mod347.report:0 |
313 | 247 | msgid "Real Estate records" | 247 | msgid "Real State records" |
314 | 248 | msgstr "Registres d'immobles" | 248 | msgstr "Registres d'immobles" |
315 | 249 | 249 | ||
316 | 250 | #. module: l10n_es_aeat_mod347 | 250 | #. module: l10n_es_aeat_mod347 |
317 | @@ -293,7 +293,7 @@ | |||
318 | 293 | 293 | ||
319 | 294 | #. module: l10n_es_aeat_mod347 | 294 | #. module: l10n_es_aeat_mod347 |
320 | 295 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 295 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
322 | 296 | msgid "Bussiness Real Estate Rent" | 296 | msgid "Bussiness Real State Rent" |
323 | 297 | msgstr "Arrendament local negoci" | 297 | msgstr "Arrendament local negoci" |
324 | 298 | 298 | ||
325 | 299 | #. module: l10n_es_aeat_mod347 | 299 | #. module: l10n_es_aeat_mod347 |
326 | @@ -445,7 +445,7 @@ | |||
327 | 445 | 445 | ||
328 | 446 | #. module: l10n_es_aeat_mod347 | 446 | #. module: l10n_es_aeat_mod347 |
329 | 447 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 | 447 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 |
331 | 448 | msgid "Real estate Situation" | 448 | msgid "Real state Situation" |
332 | 449 | msgstr "Situació d'immobles" | 449 | msgstr "Situació d'immobles" |
333 | 450 | 450 | ||
334 | 451 | #. module: l10n_es_aeat_mod347 | 451 | #. module: l10n_es_aeat_mod347 |
335 | @@ -496,12 +496,12 @@ | |||
336 | 496 | #. module: l10n_es_aeat_mod347 | 496 | #. module: l10n_es_aeat_mod347 |
337 | 497 | #: view:l10n.es.aeat.mod347.partner_record:0 | 497 | #: view:l10n.es.aeat.mod347.partner_record:0 |
338 | 498 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 498 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
340 | 499 | msgid "Real estate info" | 499 | msgid "Real state info" |
341 | 500 | msgstr "Informació Immobles" | 500 | msgstr "Informació Immobles" |
342 | 501 | 501 | ||
343 | 502 | #. module: l10n_es_aeat_mod347 | 502 | #. module: l10n_es_aeat_mod347 |
344 | 503 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 | 503 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 |
346 | 504 | msgid "Real Estate Transmisions amount" | 504 | msgid "Real State Transmisions amount" |
347 | 505 | msgstr "Import transmissió immoble" | 505 | msgstr "Import transmissió immoble" |
348 | 506 | 506 | ||
349 | 507 | #. module: l10n_es_aeat_mod347 | 507 | #. module: l10n_es_aeat_mod347 |
350 | @@ -582,8 +582,8 @@ | |||
351 | 582 | #. module: l10n_es_aeat_mod347 | 582 | #. module: l10n_es_aeat_mod347 |
352 | 583 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 583 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
353 | 584 | msgid "" | 584 | msgid "" |
356 | 585 | "Set to identify real estate rent operations aside from the rest. You'll need " | 585 | "Set to identify real state rent operations aside from the rest. You'll need " |
357 | 586 | "to fill in the real estate info only when you are the one that receives the " | 586 | "to fill in the real state info only when you are the one that receives the " |
358 | 587 | "money." | 587 | "money." |
359 | 588 | msgstr "" | 588 | msgstr "" |
360 | 589 | "(Només arrendadors i arrendataris de Locals de Negoci). Marcaran aquesta " | 589 | "(Només arrendadors i arrendataris de Locals de Negoci). Marcaran aquesta " |
361 | @@ -691,7 +691,7 @@ | |||
362 | 691 | 691 | ||
363 | 692 | #. module: l10n_es_aeat_mod347 | 692 | #. module: l10n_es_aeat_mod347 |
364 | 693 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 | 693 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 |
366 | 694 | msgid "Third Quarter Real Estate Transmission Amount" | 694 | msgid "Third Quarter Real State Transmission Amount" |
367 | 695 | msgstr "Import transmissió immoble (T3)" | 695 | msgstr "Import transmissió immoble (T3)" |
368 | 696 | 696 | ||
369 | 697 | #. module: l10n_es_aeat_mod347 | 697 | #. module: l10n_es_aeat_mod347 |
370 | @@ -747,7 +747,7 @@ | |||
371 | 747 | 747 | ||
372 | 748 | #. module: l10n_es_aeat_mod347 | 748 | #. module: l10n_es_aeat_mod347 |
373 | 749 | #: report:report_l10n_es_aeat_mod347.report:0 | 749 | #: report:report_l10n_es_aeat_mod347.report:0 |
375 | 750 | msgid "Real Estate Transmission (Q1|Q2|Q3|Q4)" | 750 | msgid "Real State Transmission (Q1|Q2|Q3|Q4)" |
376 | 751 | msgstr "Import transmissió immoble (T1|T2|T3|T4)" | 751 | msgstr "Import transmissió immoble (T1|T2|T3|T4)" |
377 | 752 | 752 | ||
378 | 753 | #. module: l10n_es_aeat_mod347 | 753 | #. module: l10n_es_aeat_mod347 |
379 | @@ -830,7 +830,7 @@ | |||
380 | 830 | 830 | ||
381 | 831 | #. module: l10n_es_aeat_mod347 | 831 | #. module: l10n_es_aeat_mod347 |
382 | 832 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 832 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
384 | 833 | msgid "Real estate address" | 833 | msgid "Real state address" |
385 | 834 | msgstr "Adreça de l'immoble" | 834 | msgstr "Adreça de l'immoble" |
386 | 835 | 835 | ||
387 | 836 | #. module: l10n_es_aeat_mod347 | 836 | #. module: l10n_es_aeat_mod347 |
388 | @@ -855,7 +855,7 @@ | |||
389 | 855 | 855 | ||
390 | 856 | #. module: l10n_es_aeat_mod347 | 856 | #. module: l10n_es_aeat_mod347 |
391 | 857 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 | 857 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 |
393 | 858 | msgid "First Quarter Real Estate Transmission Amount" | 858 | msgid "First Quarter Real State Transmission Amount" |
394 | 859 | msgstr "Import transmissió immoble (T1)" | 859 | msgstr "Import transmissió immoble (T1)" |
395 | 860 | 860 | ||
396 | 861 | #. module: l10n_es_aeat_mod347 | 861 | #. module: l10n_es_aeat_mod347 |
397 | @@ -870,7 +870,7 @@ | |||
398 | 870 | 870 | ||
399 | 871 | #. module: l10n_es_aeat_mod347 | 871 | #. module: l10n_es_aeat_mod347 |
400 | 872 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 | 872 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 |
402 | 873 | msgid "Second Quarter Real Estate Transmission Amount" | 873 | msgid "Second Quarter Real State Transmission Amount" |
403 | 874 | msgstr "Import transmissió immoble (T2)" | 874 | msgstr "Import transmissió immoble (T2)" |
404 | 875 | 875 | ||
405 | 876 | #. module: l10n_es_aeat_mod347 | 876 | #. module: l10n_es_aeat_mod347 |
406 | @@ -905,7 +905,7 @@ | |||
407 | 905 | 905 | ||
408 | 906 | #. module: l10n_es_aeat_mod347 | 906 | #. module: l10n_es_aeat_mod347 |
409 | 907 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 | 907 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 |
411 | 908 | msgid "Real Estate Transmissions Amount" | 908 | msgid "Real State Transmissions Amount" |
412 | 909 | msgstr "Import transmissió immoble" | 909 | msgstr "Import transmissió immoble" |
413 | 910 | 910 | ||
414 | 911 | #. module: l10n_es_aeat_mod347 | 911 | #. module: l10n_es_aeat_mod347 |
415 | @@ -932,7 +932,7 @@ | |||
416 | 932 | 932 | ||
417 | 933 | #. module: l10n_es_aeat_mod347 | 933 | #. module: l10n_es_aeat_mod347 |
418 | 934 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 | 934 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 |
420 | 935 | msgid "Real estate records" | 935 | msgid "Real state records" |
421 | 936 | msgstr "Registres d'immobles" | 936 | msgstr "Registres d'immobles" |
422 | 937 | 937 | ||
423 | 938 | #. module: l10n_es_aeat_mod347 | 938 | #. module: l10n_es_aeat_mod347 |
424 | @@ -968,74 +968,3 @@ | |||
425 | 968 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_journal | 968 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_journal |
426 | 969 | msgid "Journal" | 969 | msgid "Journal" |
427 | 970 | msgstr "Diari" | 970 | msgstr "Diari" |
428 | 971 | |||
429 | 972 | #~ msgid "Real State Record" | ||
430 | 973 | #~ msgstr "Registre d'immoble" | ||
431 | 974 | |||
432 | 975 | #~ msgid "Real State Records" | ||
433 | 976 | #~ msgstr "Registres d'immobles" | ||
434 | 977 | |||
435 | 978 | #~ msgid "Real State records" | ||
436 | 979 | #~ msgstr "Registres d'immobles" | ||
437 | 980 | |||
438 | 981 | #~ msgid "Bussiness Real State Rent" | ||
439 | 982 | #~ msgstr "Arrendament local negoci" | ||
440 | 983 | |||
441 | 984 | #~ msgid "Real state info" | ||
442 | 985 | #~ msgstr "Informació Immobles" | ||
443 | 986 | |||
444 | 987 | #~ msgid "Real State Transmisions amount" | ||
445 | 988 | #~ msgstr "Import transmissió immoble" | ||
446 | 989 | |||
447 | 990 | #~ msgid "" | ||
448 | 991 | #~ "Set to identify real state rent operations aside from the rest. You'll need " | ||
449 | 992 | #~ "to fill in the real state info only when you are the one that receives the " | ||
450 | 993 | #~ "money." | ||
451 | 994 | #~ msgstr "" | ||
452 | 995 | #~ "(Només arrendadors i arrendataris de Locals de Negoci). Marcaran aquesta " | ||
453 | 996 | #~ "casella per identificar les operacions d'arrendament de locals de negoci, i " | ||
454 | 997 | #~ "s'han de consignar separadament de la resta. A més a més els arrendadors han " | ||
455 | 998 | #~ "d'emplenar els camps que componen el REGISTRE D'IMMOBLE, consignant l'Import " | ||
456 | 999 | #~ "Total de cada arrendament corresponent a l'any natural al qual es refereix " | ||
457 | 1000 | #~ "la declaració, amb independència que aquest ja hagi estat inclòs en la clau " | ||
458 | 1001 | #~ "'B' (vendes)." | ||
459 | 1002 | |||
460 | 1003 | #~ msgid "Real state address" | ||
461 | 1004 | #~ msgstr "Adreça de l'immoble" | ||
462 | 1005 | |||
463 | 1006 | #~ msgid "Real State Transmissions Amount" | ||
464 | 1007 | #~ msgstr "Import transmissió immoble" | ||
465 | 1008 | |||
466 | 1009 | #~ msgid "Real State Amount" | ||
467 | 1010 | #~ msgstr "Import immobles" | ||
468 | 1011 | |||
469 | 1012 | #~ msgid "Real state records" | ||
470 | 1013 | #~ msgstr "Registres d'immobles" | ||
471 | 1014 | |||
472 | 1015 | #, python-format | ||
473 | 1016 | #~ msgid "All real state records state code field must be filled." | ||
474 | 1017 | #~ msgstr "" | ||
475 | 1018 | #~ "El codi de província de tots els registres d'immobles han d'estar introduïts." | ||
476 | 1019 | |||
477 | 1020 | #~ msgid "Fourth Quarter Real State Transmossion Amount" | ||
478 | 1021 | #~ msgstr "Import transmissió immoble (T4)" | ||
479 | 1022 | |||
480 | 1023 | #, python-format | ||
481 | 1024 | #~ msgid "The type 2-I record (real state) must be 502 characters long" | ||
482 | 1025 | #~ msgstr "" | ||
483 | 1026 | #~ "El tipus de registre 2-I (estat real) ha de ser de 502 caràcters de llargada" | ||
484 | 1027 | |||
485 | 1028 | #~ msgid "Real state Situation" | ||
486 | 1029 | #~ msgstr "Situació d'immobles" | ||
487 | 1030 | |||
488 | 1031 | #~ msgid "Third Quarter Real State Transmission Amount" | ||
489 | 1032 | #~ msgstr "Import transmissió immoble (T3)" | ||
490 | 1033 | |||
491 | 1034 | #~ msgid "Real State Transmission (Q1|Q2|Q3|Q4)" | ||
492 | 1035 | #~ msgstr "Import transmissió immoble (T1|T2|T3|T4)" | ||
493 | 1036 | |||
494 | 1037 | #~ msgid "First Quarter Real State Transmission Amount" | ||
495 | 1038 | #~ msgstr "Import transmissió immoble (T1)" | ||
496 | 1039 | |||
497 | 1040 | #~ msgid "Second Quarter Real State Transmission Amount" | ||
498 | 1041 | #~ msgstr "Import transmissió immoble (T2)" | ||
499 | 1042 | 971 | ||
500 | === modified file 'l10n_es_aeat_mod347/i18n/es.po' | |||
501 | --- l10n_es_aeat_mod347/i18n/es.po 2013-12-19 06:16:40 +0000 | |||
502 | +++ l10n_es_aeat_mod347/i18n/es.po 2013-12-27 10:08:05 +0000 | |||
503 | @@ -5,23 +5,29 @@ | |||
504 | 5 | msgid "" | 5 | msgid "" |
505 | 6 | msgstr "" | 6 | msgstr "" |
506 | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" | 7 | "Project-Id-Version: OpenERP Server 6.0.2\n" |
511 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
512 | 9 | "POT-Creation-Date: 2012-03-20 17:21+0000\n" | 9 | "POT-Creation-Date: 2013-11-18 11:54+0000\n" |
513 | 10 | "PO-Revision-Date: 2013-12-10 16:44+0000\n" | 10 | "PO-Revision-Date: 2013-11-19 18:01+0100\n" |
514 | 11 | "Last-Translator: Alejandro Santana <alejandrosantana@anubia.es>\n" | 11 | "Last-Translator: Joaquin Gutierrez <joaquing.pedrosa@gmail.com>\n" |
515 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
516 | 13 | "Language: \n" | ||
517 | 13 | "MIME-Version: 1.0\n" | 14 | "MIME-Version: 1.0\n" |
518 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
519 | 15 | "Content-Transfer-Encoding: 8bit\n" | 16 | "Content-Transfer-Encoding: 8bit\n" |
525 | 16 | "X-Launchpad-Export-Date: 2013-12-19 06:16+0000\n" | 17 | "X-Launchpad-Export-Date: 2013-10-14 05:33+0000\n" |
526 | 17 | "X-Generator: Launchpad (build 16872)\n" | 18 | "X-Generator: Launchpad (build 16799)\n" |
527 | 18 | 19 | ||
528 | 19 | #. module: l10n_es_aeat_mod347 | 20 | #. module: l10n_es_aeat_mod347 |
529 | 20 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:157 | 21 | #: view:l10n.es.aeat.mod347.report:0 |
530 | 22 | #, fuzzy | ||
531 | 23 | msgid "Confirmed models" | ||
532 | 24 | msgstr "Confirmar" | ||
533 | 25 | |||
534 | 26 | #. module: l10n_es_aeat_mod347 | ||
535 | 27 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:202 | ||
536 | 21 | #, python-format | 28 | #, python-format |
537 | 22 | msgid "The type 2-D record (partner) must be 502 characters long" | 29 | msgid "The type 2-D record (partner) must be 502 characters long" |
540 | 23 | msgstr "" | 30 | msgstr "El tipo de registro 2-D (empresa) debe ser de 502 caracteres de largo" |
539 | 24 | "El tipo de registro 2-D (empresa) debe ser de 502 caracteres de largo" | ||
541 | 25 | 31 | ||
542 | 26 | #. module: l10n_es_aeat_mod347 | 32 | #. module: l10n_es_aeat_mod347 |
543 | 27 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_partner_record | 33 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_partner_record |
544 | @@ -30,12 +36,10 @@ | |||
545 | 30 | msgstr "Registro de empresa" | 36 | msgstr "Registro de empresa" |
546 | 31 | 37 | ||
547 | 32 | #. module: l10n_es_aeat_mod347 | 38 | #. module: l10n_es_aeat_mod347 |
549 | 33 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 | 39 | #: code:addons/l10n_es_aeat_mod347/mod347.py:199 |
550 | 34 | #, python-format | 40 | #, python-format |
555 | 35 | msgid "All real estate records state code field must be filled." | 41 | msgid "All real state records state code field must be filled." |
556 | 36 | msgstr "" | 42 | msgstr "El código de provincia de todos los registros de inmuebles debe estar rellenado." |
553 | 37 | "El código de provincia de todos los registros de inmuebles debe estar " | ||
554 | 38 | "rellenado." | ||
557 | 39 | 43 | ||
558 | 40 | #. module: l10n_es_aeat_mod347 | 44 | #. module: l10n_es_aeat_mod347 |
559 | 41 | #: report:report_l10n_es_aeat_mod347.report:0 | 45 | #: report:report_l10n_es_aeat_mod347.report:0 |
560 | @@ -43,6 +47,12 @@ | |||
561 | 43 | msgstr "Clave oper." | 47 | msgstr "Clave oper." |
562 | 44 | 48 | ||
563 | 45 | #. module: l10n_es_aeat_mod347 | 49 | #. module: l10n_es_aeat_mod347 |
564 | 50 | #: view:l10n.es.aeat.mod347.report:0 | ||
565 | 51 | #, fuzzy | ||
566 | 52 | msgid "Group By..." | ||
567 | 53 | msgstr "Agrupar por CIF" | ||
568 | 54 | |||
569 | 55 | #. module: l10n_es_aeat_mod347 | ||
570 | 46 | #: selection:account.period,quarter:0 | 56 | #: selection:account.period,quarter:0 |
571 | 47 | msgid "Fourth" | 57 | msgid "Fourth" |
572 | 48 | msgstr "Cuarto" | 58 | msgstr "Cuarto" |
573 | @@ -61,12 +71,12 @@ | |||
574 | 61 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 | 71 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 |
575 | 62 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 72 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
576 | 63 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 | 73 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 |
578 | 64 | msgid "Real Estate Records" | 74 | msgid "Real State Records" |
579 | 65 | msgstr "Registros de inmuebles" | 75 | msgstr "Registros de inmuebles" |
580 | 66 | 76 | ||
581 | 67 | #. module: l10n_es_aeat_mod347 | 77 | #. module: l10n_es_aeat_mod347 |
582 | 68 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 | 78 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 |
584 | 69 | msgid "Fourth Quarter Real Estate Transmossion Amount" | 79 | msgid "Fourth Quarter Real State Transmossion Amount" |
585 | 70 | msgstr "Importe transmisión inmueble (T4)" | 80 | msgstr "Importe transmisión inmueble (T4)" |
586 | 71 | 81 | ||
587 | 72 | #. module: l10n_es_aeat_mod347 | 82 | #. module: l10n_es_aeat_mod347 |
588 | @@ -89,17 +99,13 @@ | |||
589 | 89 | #. module: l10n_es_aeat_mod347 | 99 | #. module: l10n_es_aeat_mod347 |
590 | 90 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record | 100 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record |
591 | 91 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 101 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
593 | 92 | msgid "Real Estate Record" | 102 | msgid "Real State Record" |
594 | 93 | msgstr "Registros de inmuebles" | 103 | msgstr "Registros de inmuebles" |
595 | 94 | 104 | ||
596 | 95 | #. module: l10n_es_aeat_mod347 | 105 | #. module: l10n_es_aeat_mod347 |
597 | 96 | #: help:l10n.es.aeat.mod347.report,operations_limit:0 | 106 | #: help:l10n.es.aeat.mod347.report,operations_limit:0 |
604 | 97 | msgid "" | 107 | msgid "The declaration will include partners with the total of operations over this limit" |
605 | 98 | "The declaration will include partners with the total of operations over this " | 108 | msgstr "La declaración incluirá las empresas cuya suma de operaciones supere este límite." |
600 | 99 | "limit" | ||
601 | 100 | msgstr "" | ||
602 | 101 | "La declaración incluirá las empresas cuya suma de operaciones supere este " | ||
603 | 102 | "límite." | ||
606 | 103 | 109 | ||
607 | 104 | #. module: l10n_es_aeat_mod347 | 110 | #. module: l10n_es_aeat_mod347 |
608 | 105 | #: field:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 111 | #: field:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
609 | @@ -117,13 +123,8 @@ | |||
610 | 117 | msgstr "Importe en efectivo" | 123 | msgstr "Importe en efectivo" |
611 | 118 | 124 | ||
612 | 119 | #. module: l10n_es_aeat_mod347 | 125 | #. module: l10n_es_aeat_mod347 |
613 | 120 | #: constraint:account.period:0 | ||
614 | 121 | msgid "Error ! The duration of the Period(s) is/are invalid. " | ||
615 | 122 | msgstr "¡Error! La duración del periodo(s) no es válida. " | ||
616 | 123 | |||
617 | 124 | #. module: l10n_es_aeat_mod347 | ||
618 | 125 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 | 126 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 |
620 | 126 | msgid "Real Estate Amount" | 127 | msgid "Real State Amount" |
621 | 127 | msgstr "Importe inmuebles" | 128 | msgstr "Importe inmuebles" |
622 | 128 | 129 | ||
623 | 129 | #. module: l10n_es_aeat_mod347 | 130 | #. module: l10n_es_aeat_mod347 |
624 | @@ -167,7 +168,7 @@ | |||
625 | 167 | msgstr "Registros de empresas" | 168 | msgstr "Registros de empresas" |
626 | 168 | 169 | ||
627 | 169 | #. module: l10n_es_aeat_mod347 | 170 | #. module: l10n_es_aeat_mod347 |
629 | 170 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:88 | 171 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:106 |
630 | 171 | #, python-format | 172 | #, python-format |
631 | 172 | msgid "The type 1 record must be 502 characters long" | 173 | msgid "The type 1 record must be 502 characters long" |
632 | 173 | msgstr "El tipo de registro 1 debe ser de 502 caracteres de largo" | 174 | msgstr "El tipo de registro 1 debe ser de 502 caracteres de largo" |
633 | @@ -178,9 +179,9 @@ | |||
634 | 178 | msgstr "Tipo de soporte" | 179 | msgstr "Tipo de soporte" |
635 | 179 | 180 | ||
636 | 180 | #. module: l10n_es_aeat_mod347 | 181 | #. module: l10n_es_aeat_mod347 |
640 | 181 | #: code:addons/l10n_es_aeat_mod347/mod347.py:136 | 182 | #: code:addons/l10n_es_aeat_mod347/mod347.py:184 |
641 | 182 | #: code:addons/l10n_es_aeat_mod347/mod347.py:138 | 183 | #: code:addons/l10n_es_aeat_mod347/mod347.py:190 |
642 | 183 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 | 184 | #: code:addons/l10n_es_aeat_mod347/mod347.py:198 |
643 | 184 | #, python-format | 185 | #, python-format |
644 | 185 | msgid "Error!" | 186 | msgid "Error!" |
645 | 186 | msgstr "¡Error!" | 187 | msgstr "¡Error!" |
646 | @@ -220,21 +221,21 @@ | |||
647 | 220 | msgstr "CIF/NIF" | 221 | msgstr "CIF/NIF" |
648 | 221 | 222 | ||
649 | 222 | #. module: l10n_es_aeat_mod347 | 223 | #. module: l10n_es_aeat_mod347 |
650 | 224 | #: help:account.journal,cash_journal:0 | ||
651 | 225 | #, fuzzy | ||
652 | 226 | msgid "Payments of this journal will be considered as cash(used on the 347 report)" | ||
653 | 227 | msgstr "Los pagos realizados con este diario serán considerados como efectivo (utilizado en la declaración 347)." | ||
654 | 228 | |||
655 | 229 | #. module: l10n_es_aeat_mod347 | ||
656 | 223 | #: view:l10n.es.aeat.mod347.report:0 | 230 | #: view:l10n.es.aeat.mod347.report:0 |
657 | 224 | msgid "Calculation" | 231 | msgid "Calculation" |
658 | 225 | msgstr "Cálculo" | 232 | msgstr "Cálculo" |
659 | 226 | 233 | ||
660 | 227 | #. module: l10n_es_aeat_mod347 | 234 | #. module: l10n_es_aeat_mod347 |
662 | 228 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:232 | 235 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:306 |
663 | 229 | #, python-format | 236 | #, python-format |
672 | 230 | msgid "The type 2-I record (real estate) must be 502 characters long" | 237 | msgid "The type 2-I record (real state) must be 502 characters long" |
673 | 231 | msgstr "" | 238 | msgstr "El tipo de registro 2-I (estado real) debe ser de 502 caracteres de largo" |
666 | 232 | "El tipo de registro 2-I (estado real) debe ser de 502 caracteres de largo" | ||
667 | 233 | |||
668 | 234 | #. module: l10n_es_aeat_mod347 | ||
669 | 235 | #: sql_constraint:account.journal:0 | ||
670 | 236 | msgid "The code of the journal must be unique per company !" | ||
671 | 237 | msgstr "¡El código del diario debe ser único por compañía!" | ||
674 | 238 | 239 | ||
675 | 239 | #. module: l10n_es_aeat_mod347 | 240 | #. module: l10n_es_aeat_mod347 |
676 | 240 | #: view:l10n.es.aeat.mod347.report:0 | 241 | #: view:l10n.es.aeat.mod347.report:0 |
677 | @@ -244,7 +245,7 @@ | |||
678 | 244 | 245 | ||
679 | 245 | #. module: l10n_es_aeat_mod347 | 246 | #. module: l10n_es_aeat_mod347 |
680 | 246 | #: view:l10n.es.aeat.mod347.report:0 | 247 | #: view:l10n.es.aeat.mod347.report:0 |
682 | 247 | msgid "Real Estate records" | 248 | msgid "Real State records" |
683 | 248 | msgstr "Registros de inmuebles" | 249 | msgstr "Registros de inmuebles" |
684 | 249 | 250 | ||
685 | 250 | #. module: l10n_es_aeat_mod347 | 251 | #. module: l10n_es_aeat_mod347 |
686 | @@ -258,18 +259,20 @@ | |||
687 | 258 | msgstr "Confirmar" | 259 | msgstr "Confirmar" |
688 | 259 | 260 | ||
689 | 260 | #. module: l10n_es_aeat_mod347 | 261 | #. module: l10n_es_aeat_mod347 |
690 | 262 | #: view:l10n.es.aeat.mod347.report:0 | ||
691 | 263 | #, fuzzy | ||
692 | 264 | msgid "Cancelled models" | ||
693 | 265 | msgstr "Cancelada" | ||
694 | 266 | |||
695 | 267 | #. module: l10n_es_aeat_mod347 | ||
696 | 261 | #: field:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 | 268 | #: field:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 |
697 | 262 | msgid "Origin fiscal year" | 269 | msgid "Origin fiscal year" |
698 | 263 | msgstr "Ejercicio fiscal origen" | 270 | msgstr "Ejercicio fiscal origen" |
699 | 264 | 271 | ||
700 | 265 | #. module: l10n_es_aeat_mod347 | 272 | #. module: l10n_es_aeat_mod347 |
701 | 266 | #: help:l10n.es.aeat.mod347.report,charges_obtp_limit:0 | 273 | #: help:l10n.es.aeat.mod347.report,charges_obtp_limit:0 |
708 | 267 | msgid "" | 274 | msgid "The declaration will include partners from which we received payments, on behalf of third parties, over this limit" |
709 | 268 | "The declaration will include partners from which we received payments, on " | 275 | msgstr "La declaración incluirá las empresas a las que hemos realizado cobros por cuenta de terceros superiores al límite." |
704 | 269 | "behalf of third parties, over this limit" | ||
705 | 270 | msgstr "" | ||
706 | 271 | "La declaración incluirá las empresas a las que hemos realizado cobros por " | ||
707 | 272 | "cuenta de terceros superiores al límite." | ||
710 | 273 | 276 | ||
711 | 274 | #. module: l10n_es_aeat_mod347 | 277 | #. module: l10n_es_aeat_mod347 |
712 | 275 | #: field:l10n.es.aeat.mod347.report,operations_limit:0 | 278 | #: field:l10n.es.aeat.mod347.report,operations_limit:0 |
713 | @@ -282,7 +285,7 @@ | |||
714 | 282 | msgstr "3 - España, sin referencia catastral" | 285 | msgstr "3 - España, sin referencia catastral" |
715 | 283 | 286 | ||
716 | 284 | #. module: l10n_es_aeat_mod347 | 287 | #. module: l10n_es_aeat_mod347 |
718 | 285 | #: code:addons/l10n_es_aeat_mod347/mod347.py:138 | 288 | #: code:addons/l10n_es_aeat_mod347/mod347.py:191 |
719 | 286 | #, python-format | 289 | #, python-format |
720 | 287 | msgid "" | 290 | msgid "" |
721 | 288 | "All partner vat number field must be filled.\n" | 291 | "All partner vat number field must be filled.\n" |
722 | @@ -293,18 +296,17 @@ | |||
723 | 293 | 296 | ||
724 | 294 | #. module: l10n_es_aeat_mod347 | 297 | #. module: l10n_es_aeat_mod347 |
725 | 295 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 298 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
727 | 296 | msgid "Bussiness Real Estate Rent" | 299 | msgid "Bussiness Real State Rent" |
728 | 297 | msgstr "Arrendamiento local negocio" | 300 | msgstr "Arrendamiento local negocio" |
729 | 298 | 301 | ||
730 | 299 | #. module: l10n_es_aeat_mod347 | 302 | #. module: l10n_es_aeat_mod347 |
732 | 300 | #: code:addons/l10n_es_aeat_mod347/mod347.py:136 | 303 | #: code:addons/l10n_es_aeat_mod347/mod347.py:185 |
733 | 301 | #, python-format | 304 | #, python-format |
734 | 302 | msgid "" | 305 | msgid "" |
735 | 303 | "All partner state code field must be filled.\n" | 306 | "All partner state code field must be filled.\n" |
736 | 304 | "Partner: %s (%s)" | 307 | "Partner: %s (%s)" |
737 | 305 | msgstr "" | 308 | msgstr "" |
740 | 306 | "El código de provincia de todos los registros de empresas debe estar " | 309 | "El código de provincia de todos los registros de empresas debe estar rellenado.\n" |
739 | 307 | "rellenado.\n" | ||
741 | 308 | "Empresa: %s (%s)" | 310 | "Empresa: %s (%s)" |
742 | 309 | 311 | ||
743 | 310 | #. module: l10n_es_aeat_mod347 | 312 | #. module: l10n_es_aeat_mod347 |
744 | @@ -401,6 +403,11 @@ | |||
745 | 401 | msgstr "Escalera" | 403 | msgstr "Escalera" |
746 | 402 | 404 | ||
747 | 403 | #. module: l10n_es_aeat_mod347 | 405 | #. module: l10n_es_aeat_mod347 |
748 | 406 | #: field:l10n.es.aeat.mod347.report,only_supplier:0 | ||
749 | 407 | msgid "Only Suppliers" | ||
750 | 408 | msgstr "Solo Proveedores" | ||
751 | 409 | |||
752 | 410 | #. module: l10n_es_aeat_mod347 | ||
753 | 404 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter:0 | 411 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter:0 |
754 | 405 | msgid "Third Quarter" | 412 | msgid "Third Quarter" |
755 | 406 | msgstr "Tercer trimestre" | 413 | msgstr "Tercer trimestre" |
756 | @@ -445,7 +452,7 @@ | |||
757 | 445 | 452 | ||
758 | 446 | #. module: l10n_es_aeat_mod347 | 453 | #. module: l10n_es_aeat_mod347 |
759 | 447 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 | 454 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 |
761 | 448 | msgid "Real estate Situation" | 455 | msgid "Real state Situation" |
762 | 449 | msgstr "Situación de inmuebles" | 456 | msgstr "Situación de inmuebles" |
763 | 450 | 457 | ||
764 | 451 | #. module: l10n_es_aeat_mod347 | 458 | #. module: l10n_es_aeat_mod347 |
765 | @@ -496,12 +503,12 @@ | |||
766 | 496 | #. module: l10n_es_aeat_mod347 | 503 | #. module: l10n_es_aeat_mod347 |
767 | 497 | #: view:l10n.es.aeat.mod347.partner_record:0 | 504 | #: view:l10n.es.aeat.mod347.partner_record:0 |
768 | 498 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 505 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
770 | 499 | msgid "Real estate info" | 506 | msgid "Real state info" |
771 | 500 | msgstr "Información de inmuebles" | 507 | msgstr "Información de inmuebles" |
772 | 501 | 508 | ||
773 | 502 | #. module: l10n_es_aeat_mod347 | 509 | #. module: l10n_es_aeat_mod347 |
774 | 503 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 | 510 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 |
776 | 504 | msgid "Real Estate Transmisions amount" | 511 | msgid "Real State Transmisions amount" |
777 | 505 | msgstr "Importe transmisión inmueble" | 512 | msgstr "Importe transmisión inmueble" |
778 | 506 | 513 | ||
779 | 507 | #. module: l10n_es_aeat_mod347 | 514 | #. module: l10n_es_aeat_mod347 |
780 | @@ -581,18 +588,8 @@ | |||
781 | 581 | 588 | ||
782 | 582 | #. module: l10n_es_aeat_mod347 | 589 | #. module: l10n_es_aeat_mod347 |
783 | 583 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 590 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
796 | 584 | msgid "" | 591 | msgid "Set to identify real state rent operations aside from the rest. You'll need to fill in the real state info only when you are the one that receives the money." |
797 | 585 | "Set to identify real estate rent operations aside from the rest. You'll need " | 592 | msgstr "(Sólo arrendadores y arrendatarios de Locales de Negocio). Marcarán esta casilla para identificar las operaciones de arrendamiento de locales de negocio, debiendo consignarlas separadamente del resto. Además los arrendadores deberán cumplimentar los campos que componen el REGISTRO DE INMUEBLE, consignando el Importe Total de cada arrendamiento correspondiente al año natural al que se refiere la declaración, con independencia de que éste ya haya sido incluido en la clave 'B' (ventas)." |
786 | 586 | "to fill in the real estate info only when you are the one that receives the " | ||
787 | 587 | "money." | ||
788 | 588 | msgstr "" | ||
789 | 589 | "(Sólo arrendadores y arrendatarios de Locales de Negocio). Marcarán esta " | ||
790 | 590 | "casilla para identificar las operaciones de arrendamiento de locales de " | ||
791 | 591 | "negocio, debiendo consignarlas separadamente del resto. Además los " | ||
792 | 592 | "arrendadores deberán cumplimentar los campos que componen el REGISTRO DE " | ||
793 | 593 | "INMUEBLE, consignando el Importe Total de cada arrendamiento correspondiente " | ||
794 | 594 | "al año natural al que se refiere la declaración, con independencia de que " | ||
795 | 595 | "éste ya haya sido incluido en la clave 'B' (ventas)." | ||
798 | 596 | 593 | ||
799 | 597 | #. module: l10n_es_aeat_mod347 | 594 | #. module: l10n_es_aeat_mod347 |
800 | 598 | #: view:l10n.es.aeat.mod347.report:0 | 595 | #: view:l10n.es.aeat.mod347.report:0 |
801 | @@ -611,12 +608,25 @@ | |||
802 | 611 | msgstr "Número:" | 608 | msgstr "Número:" |
803 | 612 | 609 | ||
804 | 613 | #. module: l10n_es_aeat_mod347 | 610 | #. module: l10n_es_aeat_mod347 |
806 | 614 | #: help:l10n.es.aeat.mod347.report,received_cash_limit:0 | 611 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report |
807 | 615 | msgid "" | 612 | msgid "" |
809 | 616 | "The declaration will show the total of cash operations over this limit" | 613 | "<p class=\"oe_view_nocontent_create\">\n" |
810 | 614 | " Click to create a AEAT Model 347 Reports.\n" | ||
811 | 615 | " \n" | ||
812 | 616 | " </p><p>\n" | ||
813 | 617 | " Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban \n" | ||
814 | 618 | " los diseños físicos y lógicos del 347.\n" | ||
815 | 619 | " </p>\n" | ||
816 | 620 | " " | ||
817 | 617 | msgstr "" | 621 | msgstr "" |
820 | 618 | "La declaración muestra el total de las operaciones realizadas en efectivo " | 622 | "<p class=\"oe_view_nocontent_create\">\n" |
821 | 619 | "superiores a este límite." | 623 | " Click to create a AEAT Model 347 Reports.\n" |
822 | 624 | " \n" | ||
823 | 625 | " </p><p>\n" | ||
824 | 626 | " Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban \n" | ||
825 | 627 | " los diseños físicos y lógicos del 347.\n" | ||
826 | 628 | " </p>\n" | ||
827 | 629 | " " | ||
828 | 620 | 630 | ||
829 | 621 | #. module: l10n_es_aeat_mod347 | 631 | #. module: l10n_es_aeat_mod347 |
830 | 622 | #: field:l10n.es.aeat.mod347.partner_record,cash_record_ids:0 | 632 | #: field:l10n.es.aeat.mod347.partner_record,cash_record_ids:0 |
831 | @@ -682,22 +692,19 @@ | |||
832 | 682 | 692 | ||
833 | 683 | #. module: l10n_es_aeat_mod347 | 693 | #. module: l10n_es_aeat_mod347 |
834 | 684 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 694 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
841 | 685 | msgid "" | 695 | msgid "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al límite (1)" |
842 | 686 | "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al " | 696 | msgstr "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al límite (1)" |
837 | 687 | "límite (1)" | ||
838 | 688 | msgstr "" | ||
839 | 689 | "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al " | ||
840 | 690 | "límite (1)" | ||
843 | 691 | 697 | ||
844 | 692 | #. module: l10n_es_aeat_mod347 | 698 | #. module: l10n_es_aeat_mod347 |
845 | 693 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 | 699 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 |
847 | 694 | msgid "Third Quarter Real Estate Transmission Amount" | 700 | msgid "Third Quarter Real State Transmission Amount" |
848 | 695 | msgstr "Importe transmisión inmueble (T3)" | 701 | msgstr "Importe transmisión inmueble (T3)" |
849 | 696 | 702 | ||
850 | 697 | #. module: l10n_es_aeat_mod347 | 703 | #. module: l10n_es_aeat_mod347 |
854 | 698 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report | 704 | #: help:l10n.es.aeat.mod347.report,received_cash_limit:0 |
855 | 699 | msgid "Create and query AEAT Model 347 Reports" | 705 | #, fuzzy |
856 | 700 | msgstr "Permite crear y consultar las declaraciones sobre el modelo AEAT 347" | 706 | msgid "The declaration will showthe total of cash operations over this limit" |
857 | 707 | msgstr "La declaración muestra el total de las operaciones realizadas en efectivo superiores a este límite." | ||
858 | 701 | 708 | ||
859 | 702 | #. module: l10n_es_aeat_mod347 | 709 | #. module: l10n_es_aeat_mod347 |
860 | 703 | #: field:l10n.es.aeat.mod347.report,type:0 | 710 | #: field:l10n.es.aeat.mod347.report,type:0 |
861 | @@ -705,15 +712,6 @@ | |||
862 | 705 | msgstr "Tipo de declaración" | 712 | msgstr "Tipo de declaración" |
863 | 706 | 713 | ||
864 | 707 | #. module: l10n_es_aeat_mod347 | 714 | #. module: l10n_es_aeat_mod347 |
865 | 708 | #: constraint:account.period:0 | ||
866 | 709 | msgid "" | ||
867 | 710 | "Invalid period ! Some periods overlap or the date period is not in the scope " | ||
868 | 711 | "of the fiscal year. " | ||
869 | 712 | msgstr "" | ||
870 | 713 | "¡Periodo no válido! Algunos periodos se sobreponen o las fechas del periodo " | ||
871 | 714 | "no están dentro del ejercicio fiscal. " | ||
872 | 715 | |||
873 | 716 | #. module: l10n_es_aeat_mod347 | ||
874 | 717 | #: field:l10n.es.aeat.mod347.real_state_record,number:0 | 715 | #: field:l10n.es.aeat.mod347.real_state_record,number:0 |
875 | 718 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 | 716 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 |
876 | 719 | msgid "Number" | 717 | msgid "Number" |
877 | @@ -730,6 +728,12 @@ | |||
878 | 730 | msgstr "Ant" | 728 | msgstr "Ant" |
879 | 731 | 729 | ||
880 | 732 | #. module: l10n_es_aeat_mod347 | 730 | #. module: l10n_es_aeat_mod347 |
881 | 731 | #: view:l10n.es.aeat.mod347.report:0 | ||
882 | 732 | #, fuzzy | ||
883 | 733 | msgid "In process models" | ||
884 | 734 | msgstr "En proceso" | ||
885 | 735 | |||
886 | 736 | #. module: l10n_es_aeat_mod347 | ||
887 | 733 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter:0 | 737 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter:0 |
888 | 734 | msgid "First Quarter" | 738 | msgid "First Quarter" |
889 | 735 | msgstr "Primer trimestre" | 739 | msgstr "Primer trimestre" |
890 | @@ -747,7 +751,7 @@ | |||
891 | 747 | 751 | ||
892 | 748 | #. module: l10n_es_aeat_mod347 | 752 | #. module: l10n_es_aeat_mod347 |
893 | 749 | #: report:report_l10n_es_aeat_mod347.report:0 | 753 | #: report:report_l10n_es_aeat_mod347.report:0 |
895 | 750 | msgid "Real Estate Transmission (Q1|Q2|Q3|Q4)" | 754 | msgid "Real State Transmission (Q1|Q2|Q3|Q4)" |
896 | 751 | msgstr "Importe transmisión inmueble (T1|T2|T3|T4)" | 755 | msgstr "Importe transmisión inmueble (T1|T2|T3|T4)" |
897 | 752 | 756 | ||
898 | 753 | #. module: l10n_es_aeat_mod347 | 757 | #. module: l10n_es_aeat_mod347 |
899 | @@ -762,13 +766,8 @@ | |||
900 | 762 | 766 | ||
901 | 763 | #. module: l10n_es_aeat_mod347 | 767 | #. module: l10n_es_aeat_mod347 |
902 | 764 | #: help:l10n.es.aeat.mod347.partner_record,insurance_operation:0 | 768 | #: help:l10n.es.aeat.mod347.partner_record,insurance_operation:0 |
910 | 765 | msgid "" | 769 | msgid "Only for insurance companies. Set to identify insurance operations aside from the rest." |
911 | 766 | "Only for insurance companies. Set to identify insurance operations aside " | 770 | msgstr "Sólo entidades aseguradoras. Las entidades aseguradoras marcarán esta casilla para identificar las operaciones de seguros, debiendo consignarlas separadamente del resto de operaciones." |
905 | 767 | "from the rest." | ||
906 | 768 | msgstr "" | ||
907 | 769 | "Sólo entidades aseguradoras. Las entidades aseguradoras marcarán esta " | ||
908 | 770 | "casilla para identificar las operaciones de seguros, debiendo consignarlas " | ||
909 | 771 | "separadamente del resto de operaciones." | ||
912 | 772 | 771 | ||
913 | 773 | #. module: l10n_es_aeat_mod347 | 772 | #. module: l10n_es_aeat_mod347 |
914 | 774 | #: field:l10n.es.aeat.mod347.real_state_record,city:0 | 773 | #: field:l10n.es.aeat.mod347.real_state_record,city:0 |
915 | @@ -776,14 +775,6 @@ | |||
916 | 776 | msgstr "Población" | 775 | msgstr "Población" |
917 | 777 | 776 | ||
918 | 778 | #. module: l10n_es_aeat_mod347 | 777 | #. module: l10n_es_aeat_mod347 |
919 | 779 | #: help:account.journal,cash_journal:0 | ||
920 | 780 | msgid "" | ||
921 | 781 | "Payments of this journal will be considered as cash (used on the 347 report)" | ||
922 | 782 | msgstr "" | ||
923 | 783 | "Los pagos realizados con este diario serán considerados como efectivo " | ||
924 | 784 | "(utilizado en la declaración 347)." | ||
925 | 785 | |||
926 | 786 | #. module: l10n_es_aeat_mod347 | ||
927 | 787 | #: field:l10n.es.aeat.mod347.real_state_record,floor:0 | 778 | #: field:l10n.es.aeat.mod347.real_state_record,floor:0 |
928 | 788 | msgid "Floor" | 779 | msgid "Floor" |
929 | 789 | msgstr "Planta" | 780 | msgstr "Planta" |
930 | @@ -830,7 +821,7 @@ | |||
931 | 830 | 821 | ||
932 | 831 | #. module: l10n_es_aeat_mod347 | 822 | #. module: l10n_es_aeat_mod347 |
933 | 832 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 823 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
935 | 833 | msgid "Real estate address" | 824 | msgid "Real state address" |
936 | 834 | msgstr "Dirección del inmueble" | 825 | msgstr "Dirección del inmueble" |
937 | 835 | 826 | ||
938 | 836 | #. module: l10n_es_aeat_mod347 | 827 | #. module: l10n_es_aeat_mod347 |
939 | @@ -855,7 +846,7 @@ | |||
940 | 855 | 846 | ||
941 | 856 | #. module: l10n_es_aeat_mod347 | 847 | #. module: l10n_es_aeat_mod347 |
942 | 857 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 | 848 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 |
944 | 858 | msgid "First Quarter Real Estate Transmission Amount" | 849 | msgid "First Quarter Real State Transmission Amount" |
945 | 859 | msgstr "Importe transmisión inmueble (T1)" | 850 | msgstr "Importe transmisión inmueble (T1)" |
946 | 860 | 851 | ||
947 | 861 | #. module: l10n_es_aeat_mod347 | 852 | #. module: l10n_es_aeat_mod347 |
948 | @@ -870,7 +861,7 @@ | |||
949 | 870 | 861 | ||
950 | 871 | #. module: l10n_es_aeat_mod347 | 862 | #. module: l10n_es_aeat_mod347 |
951 | 872 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 | 863 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 |
953 | 873 | msgid "Second Quarter Real Estate Transmission Amount" | 864 | msgid "Second Quarter Real State Transmission Amount" |
954 | 874 | msgstr "Importe transmisión inmueble (T2)" | 865 | msgstr "Importe transmisión inmueble (T2)" |
955 | 875 | 866 | ||
956 | 876 | #. module: l10n_es_aeat_mod347 | 867 | #. module: l10n_es_aeat_mod347 |
957 | @@ -905,7 +896,7 @@ | |||
958 | 905 | 896 | ||
959 | 906 | #. module: l10n_es_aeat_mod347 | 897 | #. module: l10n_es_aeat_mod347 |
960 | 907 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 | 898 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 |
962 | 908 | msgid "Real Estate Transmissions Amount" | 899 | msgid "Real State Transmissions Amount" |
963 | 909 | msgstr "Importe transmisión inmueble" | 900 | msgstr "Importe transmisión inmueble" |
964 | 910 | 901 | ||
965 | 911 | #. module: l10n_es_aeat_mod347 | 902 | #. module: l10n_es_aeat_mod347 |
966 | @@ -920,6 +911,16 @@ | |||
967 | 920 | msgstr "Importe T.I." | 911 | msgstr "Importe T.I." |
968 | 921 | 912 | ||
969 | 922 | #. module: l10n_es_aeat_mod347 | 913 | #. module: l10n_es_aeat_mod347 |
970 | 914 | #: field:l10n.es.aeat.mod347.report,attach_id:0 | ||
971 | 915 | msgid "BOE file" | ||
972 | 916 | msgstr "BOE file" | ||
973 | 917 | |||
974 | 918 | #. module: l10n_es_aeat_mod347 | ||
975 | 919 | #: view:l10n.es.aeat.mod347.report:0 | ||
976 | 920 | msgid "Draft models" | ||
977 | 921 | msgstr "Draft models" | ||
978 | 922 | |||
979 | 923 | #. module: l10n_es_aeat_mod347 | ||
980 | 923 | #: view:l10n.es.aeat.mod347.report:0 | 924 | #: view:l10n.es.aeat.mod347.report:0 |
981 | 924 | #: field:l10n.es.aeat.mod347.report,fiscalyear_id:0 | 925 | #: field:l10n.es.aeat.mod347.report,fiscalyear_id:0 |
982 | 925 | msgid "Fiscal Year" | 926 | msgid "Fiscal Year" |
983 | @@ -932,7 +933,7 @@ | |||
984 | 932 | 933 | ||
985 | 933 | #. module: l10n_es_aeat_mod347 | 934 | #. module: l10n_es_aeat_mod347 |
986 | 934 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 | 935 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 |
988 | 935 | msgid "Real estate records" | 936 | msgid "Real state records" |
989 | 936 | msgstr "Registros de inmuebles" | 937 | msgstr "Registros de inmuebles" |
990 | 937 | 938 | ||
991 | 938 | #. module: l10n_es_aeat_mod347 | 939 | #. module: l10n_es_aeat_mod347 |
992 | @@ -947,17 +948,8 @@ | |||
993 | 947 | 948 | ||
994 | 948 | #. module: l10n_es_aeat_mod347 | 949 | #. module: l10n_es_aeat_mod347 |
995 | 949 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 950 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1007 | 950 | msgid "" | 951 | msgid "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores al límite (1)" |
1008 | 951 | "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores " | 952 | msgstr "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores al límite (1)" |
998 | 952 | "al límite (1)" | ||
999 | 953 | msgstr "" | ||
1000 | 954 | "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores " | ||
1001 | 955 | "al límite (1)" | ||
1002 | 956 | |||
1003 | 957 | #. module: l10n_es_aeat_mod347 | ||
1004 | 958 | #: sql_constraint:account.journal:0 | ||
1005 | 959 | msgid "The name of the journal must be unique per company !" | ||
1006 | 960 | msgstr "¡El nombre del diaro debe ser único por compañía!" | ||
1009 | 961 | 953 | ||
1010 | 962 | #. module: l10n_es_aeat_mod347 | 954 | #. module: l10n_es_aeat_mod347 |
1011 | 963 | #: selection:account.period,quarter:0 | 955 | #: selection:account.period,quarter:0 |
1012 | @@ -969,74 +961,22 @@ | |||
1013 | 969 | msgid "Journal" | 961 | msgid "Journal" |
1014 | 970 | msgstr "Diario" | 962 | msgstr "Diario" |
1015 | 971 | 963 | ||
1033 | 972 | #~ msgid "Real state Situation" | 964 | #~ msgid "Error ! The duration of the Period(s) is/are invalid. " |
1034 | 973 | #~ msgstr "Situación de inmuebles" | 965 | #~ msgstr "¡Error! La duración del periodo(s) no es válida. " |
1035 | 974 | 966 | ||
1036 | 975 | #~ msgid "Real State Record" | 967 | #~ msgid "The code of the journal must be unique per company !" |
1037 | 976 | #~ msgstr "Registros de inmuebles" | 968 | #~ msgstr "¡El código del diario debe ser único por compañía!" |
1038 | 977 | 969 | ||
1039 | 978 | #~ msgid "Real State Records" | 970 | #~ msgid "Create and query AEAT Model 347 Reports" |
1040 | 979 | #~ msgstr "Registros de inmuebles" | 971 | #~ msgstr "" |
1041 | 980 | 972 | #~ "Permite crear y consultar las declaraciones sobre el modelo AEAT 347" | |
1025 | 981 | #~ msgid "Real State records" | ||
1026 | 982 | #~ msgstr "Registros de inmuebles" | ||
1027 | 983 | |||
1028 | 984 | #~ msgid "Bussiness Real State Rent" | ||
1029 | 985 | #~ msgstr "Arrendamiento local negocio" | ||
1030 | 986 | |||
1031 | 987 | #~ msgid "Real State Transmisions amount" | ||
1032 | 988 | #~ msgstr "Importe transmisión inmueble" | ||
1042 | 989 | 973 | ||
1043 | 990 | #~ msgid "" | 974 | #~ msgid "" |
1096 | 991 | #~ "Set to identify real state rent operations aside from the rest. You'll need " | 975 | #~ "Invalid period ! Some periods overlap or the date period is not in the " |
1097 | 992 | #~ "to fill in the real state info only when you are the one that receives the " | 976 | #~ "scope of the fiscal year. " |
1098 | 993 | #~ "money." | 977 | #~ msgstr "" |
1099 | 994 | #~ msgstr "" | 978 | #~ "¡Periodo no válido! Algunos periodos se sobreponen o las fechas del " |
1100 | 995 | #~ "(Sólo arrendadores y arrendatarios de Locales de Negocio). Marcarán esta " | 979 | #~ "periodo no están dentro del ejercicio fiscal. " |
1101 | 996 | #~ "casilla para identificar las operaciones de arrendamiento de locales de " | 980 | |
1102 | 997 | #~ "negocio, debiendo consignarlas separadamente del resto. Además los " | 981 | #~ msgid "The name of the journal must be unique per company !" |
1103 | 998 | #~ "arrendadores deberán cumplimentar los campos que componen el REGISTRO DE " | 982 | #~ msgstr "¡El nombre del diaro debe ser único por compañía!" |
1052 | 999 | #~ "INMUEBLE, consignando el Importe Total de cada arrendamiento correspondiente " | ||
1053 | 1000 | #~ "al año natural al que se refiere la declaración, con independencia de que " | ||
1054 | 1001 | #~ "éste ya haya sido incluido en la clave 'B' (ventas)." | ||
1055 | 1002 | |||
1056 | 1003 | #~ msgid "Real state address" | ||
1057 | 1004 | #~ msgstr "Dirección del inmueble" | ||
1058 | 1005 | |||
1059 | 1006 | #~ msgid "Real State Transmissions Amount" | ||
1060 | 1007 | #~ msgstr "Importe transmisión inmueble" | ||
1061 | 1008 | |||
1062 | 1009 | #~ msgid "Real State Amount" | ||
1063 | 1010 | #~ msgstr "Importe inmuebles" | ||
1064 | 1011 | |||
1065 | 1012 | #~ msgid "Real state records" | ||
1066 | 1013 | #~ msgstr "Registros de inmuebles" | ||
1067 | 1014 | |||
1068 | 1015 | #, python-format | ||
1069 | 1016 | #~ msgid "All real state records state code field must be filled." | ||
1070 | 1017 | #~ msgstr "" | ||
1071 | 1018 | #~ "El código de provincia de todos los registros de inmuebles debe estar " | ||
1072 | 1019 | #~ "rellenado." | ||
1073 | 1020 | |||
1074 | 1021 | #~ msgid "Fourth Quarter Real State Transmossion Amount" | ||
1075 | 1022 | #~ msgstr "Importe transmisión inmueble (T4)" | ||
1076 | 1023 | |||
1077 | 1024 | #~ msgid "Real state info" | ||
1078 | 1025 | #~ msgstr "Información de inmuebles" | ||
1079 | 1026 | |||
1080 | 1027 | #~ msgid "Third Quarter Real State Transmission Amount" | ||
1081 | 1028 | #~ msgstr "Importe transmisión inmueble (T3)" | ||
1082 | 1029 | |||
1083 | 1030 | #~ msgid "Real State Transmission (Q1|Q2|Q3|Q4)" | ||
1084 | 1031 | #~ msgstr "Importe transmisión inmueble (T1|T2|T3|T4)" | ||
1085 | 1032 | |||
1086 | 1033 | #~ msgid "First Quarter Real State Transmission Amount" | ||
1087 | 1034 | #~ msgstr "Importe transmisión inmueble (T1)" | ||
1088 | 1035 | |||
1089 | 1036 | #~ msgid "Second Quarter Real State Transmission Amount" | ||
1090 | 1037 | #~ msgstr "Importe transmisión inmueble (T2)" | ||
1091 | 1038 | |||
1092 | 1039 | #, python-format | ||
1093 | 1040 | #~ msgid "The type 2-I record (real state) must be 502 characters long" | ||
1094 | 1041 | #~ msgstr "" | ||
1095 | 1042 | #~ "El tipo de registro 2-I (inmuebles) debe ser de 502 caracteres de largo" | ||
1104 | 1043 | 983 | ||
1105 | === modified file 'l10n_es_aeat_mod347/i18n/l10n_es_aeat_mod347.pot' | |||
1106 | --- l10n_es_aeat_mod347/i18n/l10n_es_aeat_mod347.pot 2013-11-23 01:47:07 +0000 | |||
1107 | +++ l10n_es_aeat_mod347/i18n/l10n_es_aeat_mod347.pot 2013-12-27 10:08:05 +0000 | |||
1108 | @@ -4,10 +4,10 @@ | |||
1109 | 4 | # | 4 | # |
1110 | 5 | msgid "" | 5 | msgid "" |
1111 | 6 | msgstr "" | 6 | msgstr "" |
1116 | 7 | "Project-Id-Version: OpenERP Server 6.0.3\n" | 7 | "Project-Id-Version: OpenERP Server 7.0-20130927-231103\n" |
1117 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | 8 | "Report-Msgid-Bugs-To: \n" |
1118 | 9 | "POT-Creation-Date: 2012-03-20 17:21+0000\n" | 9 | "POT-Creation-Date: 2013-11-18 11:54+0000\n" |
1119 | 10 | "PO-Revision-Date: 2012-03-20 17:21+0000\n" | 10 | "PO-Revision-Date: 2013-11-18 11:54+0000\n" |
1120 | 11 | "Last-Translator: <>\n" | 11 | "Last-Translator: <>\n" |
1121 | 12 | "Language-Team: \n" | 12 | "Language-Team: \n" |
1122 | 13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
1123 | @@ -16,166 +16,171 @@ | |||
1124 | 16 | "Plural-Forms: \n" | 16 | "Plural-Forms: \n" |
1125 | 17 | 17 | ||
1126 | 18 | #. module: l10n_es_aeat_mod347 | 18 | #. module: l10n_es_aeat_mod347 |
1128 | 19 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:157 | 19 | #: view:l10n.es.aeat.mod347.report:0 |
1129 | 20 | msgid "Confirmed models" | ||
1130 | 21 | msgstr "Confirmed models" | ||
1131 | 22 | |||
1132 | 23 | #. module: l10n_es_aeat_mod347 | ||
1133 | 24 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:202 | ||
1134 | 20 | #, python-format | 25 | #, python-format |
1135 | 21 | msgid "The type 2-D record (partner) must be 502 characters long" | 26 | msgid "The type 2-D record (partner) must be 502 characters long" |
1137 | 22 | msgstr "" | 27 | msgstr "The type 2-D record (partner) must be 502 characters long" |
1138 | 23 | 28 | ||
1139 | 24 | #. module: l10n_es_aeat_mod347 | 29 | #. module: l10n_es_aeat_mod347 |
1140 | 25 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_partner_record | 30 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_partner_record |
1141 | 26 | #: view:l10n.es.aeat.mod347.partner_record:0 | 31 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1142 | 27 | msgid "Partner Record" | 32 | msgid "Partner Record" |
1144 | 28 | msgstr "" | 33 | msgstr "Partner Record" |
1145 | 29 | 34 | ||
1146 | 30 | #. module: l10n_es_aeat_mod347 | 35 | #. module: l10n_es_aeat_mod347 |
1148 | 31 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 | 36 | #: code:addons/l10n_es_aeat_mod347/mod347.py:199 |
1149 | 32 | #, python-format | 37 | #, python-format |
1152 | 33 | msgid "All real estate records state code field must be filled." | 38 | msgid "All real state records state code field must be filled." |
1153 | 34 | msgstr "" | 39 | msgstr "All real state records state code field must be filled." |
1154 | 35 | 40 | ||
1155 | 36 | #. module: l10n_es_aeat_mod347 | 41 | #. module: l10n_es_aeat_mod347 |
1156 | 37 | #: report:report_l10n_es_aeat_mod347.report:0 | 42 | #: report:report_l10n_es_aeat_mod347.report:0 |
1157 | 38 | msgid "Key Oper." | 43 | msgid "Key Oper." |
1159 | 39 | msgstr "" | 44 | msgstr "Key Oper." |
1160 | 45 | |||
1161 | 46 | #. module: l10n_es_aeat_mod347 | ||
1162 | 47 | #: view:l10n.es.aeat.mod347.report:0 | ||
1163 | 48 | msgid "Group By..." | ||
1164 | 49 | msgstr "Group By..." | ||
1165 | 40 | 50 | ||
1166 | 41 | #. module: l10n_es_aeat_mod347 | 51 | #. module: l10n_es_aeat_mod347 |
1167 | 42 | #: selection:account.period,quarter:0 | 52 | #: selection:account.period,quarter:0 |
1168 | 43 | msgid "Fourth" | 53 | msgid "Fourth" |
1170 | 44 | msgstr "" | 54 | msgstr "Fourth" |
1171 | 45 | 55 | ||
1172 | 46 | #. module: l10n_es_aeat_mod347 | 56 | #. module: l10n_es_aeat_mod347 |
1173 | 47 | #: view:l10n.es.aeat.mod347.report:0 | 57 | #: view:l10n.es.aeat.mod347.report:0 |
1174 | 48 | msgid "Calculate" | 58 | msgid "Calculate" |
1176 | 49 | msgstr "" | 59 | msgstr "Calculate" |
1177 | 50 | 60 | ||
1178 | 51 | #. module: l10n_es_aeat_mod347 | 61 | #. module: l10n_es_aeat_mod347 |
1179 | 52 | #: field:res.partner,include_in_mod347:0 | 62 | #: field:res.partner,include_in_mod347:0 |
1180 | 53 | msgid "Include in 347 Report" | 63 | msgid "Include in 347 Report" |
1182 | 54 | msgstr "" | 64 | msgstr "Include in 347 Report" |
1183 | 55 | 65 | ||
1184 | 56 | #. module: l10n_es_aeat_mod347 | 66 | #. module: l10n_es_aeat_mod347 |
1185 | 57 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 | 67 | #: field:l10n.es.aeat.mod347.partner_record,real_state_record_ids:0 |
1186 | 58 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 68 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
1187 | 59 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 | 69 | #: field:l10n.es.aeat.mod347.report,real_state_record_ids:0 |
1190 | 60 | msgid "Real Estate Records" | 70 | msgid "Real State Records" |
1191 | 61 | msgstr "" | 71 | msgstr "Real State Records" |
1192 | 62 | 72 | ||
1193 | 63 | #. module: l10n_es_aeat_mod347 | 73 | #. module: l10n_es_aeat_mod347 |
1194 | 64 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 | 74 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter_real_state_transmission_amount:0 |
1197 | 65 | msgid "Fourth Quarter Real Estate Transmossion Amount" | 75 | msgid "Fourth Quarter Real State Transmossion Amount" |
1198 | 66 | msgstr "" | 76 | msgstr "Fourth Quarter Real State Transmossion Amount" |
1199 | 67 | 77 | ||
1200 | 68 | #. module: l10n_es_aeat_mod347 | 78 | #. module: l10n_es_aeat_mod347 |
1201 | 69 | #: view:l10n.es.aeat.mod347.partner_record:0 | 79 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1202 | 70 | #: field:l10n.es.aeat.mod347.report,partner_record_ids:0 | 80 | #: field:l10n.es.aeat.mod347.report,partner_record_ids:0 |
1203 | 71 | msgid "Partner Records" | 81 | msgid "Partner Records" |
1205 | 72 | msgstr "" | 82 | msgstr "Partner Records" |
1206 | 73 | 83 | ||
1207 | 74 | #. module: l10n_es_aeat_mod347 | 84 | #. module: l10n_es_aeat_mod347 |
1208 | 75 | #: field:l10n.es.aeat.mod347.real_state_record,township_code:0 | 85 | #: field:l10n.es.aeat.mod347.real_state_record,township_code:0 |
1209 | 76 | msgid "Township Code" | 86 | msgid "Township Code" |
1211 | 77 | msgstr "" | 87 | msgstr "Township Code" |
1212 | 78 | 88 | ||
1213 | 79 | #. module: l10n_es_aeat_mod347 | 89 | #. module: l10n_es_aeat_mod347 |
1214 | 80 | #: view:l10n.es.aeat.mod347.report:0 | 90 | #: view:l10n.es.aeat.mod347.report:0 |
1215 | 81 | #: field:l10n.es.aeat.mod347.report,company_id:0 | 91 | #: field:l10n.es.aeat.mod347.report,company_id:0 |
1216 | 82 | msgid "Company" | 92 | msgid "Company" |
1218 | 83 | msgstr "" | 93 | msgstr "Company" |
1219 | 84 | 94 | ||
1220 | 85 | #. module: l10n_es_aeat_mod347 | 95 | #. module: l10n_es_aeat_mod347 |
1221 | 86 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record | 96 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_real_state_record |
1222 | 87 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 97 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
1225 | 88 | msgid "Real Estate Record" | 98 | msgid "Real State Record" |
1226 | 89 | msgstr "" | 99 | msgstr "Real State Record" |
1227 | 90 | 100 | ||
1228 | 91 | #. module: l10n_es_aeat_mod347 | 101 | #. module: l10n_es_aeat_mod347 |
1229 | 92 | #: help:l10n.es.aeat.mod347.report,operations_limit:0 | 102 | #: help:l10n.es.aeat.mod347.report,operations_limit:0 |
1230 | 93 | msgid "The declaration will include partners with the total of operations over this limit" | 103 | msgid "The declaration will include partners with the total of operations over this limit" |
1232 | 94 | msgstr "" | 104 | msgstr "The declaration will include partners with the total of operations over this limit" |
1233 | 95 | 105 | ||
1234 | 96 | #. module: l10n_es_aeat_mod347 | 106 | #. module: l10n_es_aeat_mod347 |
1235 | 97 | #: field:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 107 | #: field:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
1236 | 98 | msgid "Number calification" | 108 | msgid "Number calification" |
1238 | 99 | msgstr "" | 109 | msgstr "Number calification" |
1239 | 100 | 110 | ||
1240 | 101 | #. module: l10n_es_aeat_mod347 | 111 | #. module: l10n_es_aeat_mod347 |
1241 | 102 | #: selection:l10n.es.aeat.mod347.report,type:0 | 112 | #: selection:l10n.es.aeat.mod347.report,type:0 |
1242 | 103 | msgid "Substitutive" | 113 | msgid "Substitutive" |
1244 | 104 | msgstr "" | 114 | msgstr "Substitutive" |
1245 | 105 | 115 | ||
1246 | 106 | #. module: l10n_es_aeat_mod347 | 116 | #. module: l10n_es_aeat_mod347 |
1247 | 107 | #: field:l10n.es.aeat.mod347.report,total_cash_amount:0 | 117 | #: field:l10n.es.aeat.mod347.report,total_cash_amount:0 |
1248 | 108 | msgid "Cash Amount" | 118 | msgid "Cash Amount" |
1255 | 109 | msgstr "" | 119 | msgstr "Cash Amount" |
1250 | 110 | |||
1251 | 111 | #. module: l10n_es_aeat_mod347 | ||
1252 | 112 | #: constraint:account.period:0 | ||
1253 | 113 | msgid "Error ! The duration of the Period(s) is/are invalid. " | ||
1254 | 114 | msgstr "" | ||
1256 | 115 | 120 | ||
1257 | 116 | #. module: l10n_es_aeat_mod347 | 121 | #. module: l10n_es_aeat_mod347 |
1258 | 117 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 | 122 | #: field:l10n.es.aeat.mod347.report,total_real_state_amount:0 |
1261 | 118 | msgid "Real Estate Amount" | 123 | msgid "Real State Amount" |
1262 | 119 | msgstr "" | 124 | msgstr "Real State Amount" |
1263 | 120 | 125 | ||
1264 | 121 | #. module: l10n_es_aeat_mod347 | 126 | #. module: l10n_es_aeat_mod347 |
1265 | 122 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 127 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
1266 | 123 | msgid "Bis" | 128 | msgid "Bis" |
1268 | 124 | msgstr "" | 129 | msgstr "Bis" |
1269 | 125 | 130 | ||
1270 | 126 | #. module: l10n_es_aeat_mod347 | 131 | #. module: l10n_es_aeat_mod347 |
1271 | 127 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 | 132 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 |
1272 | 128 | msgid "4 - Foreign" | 133 | msgid "4 - Foreign" |
1274 | 129 | msgstr "" | 134 | msgstr "4 - Foreign" |
1275 | 130 | 135 | ||
1276 | 131 | #. module: l10n_es_aeat_mod347 | 136 | #. module: l10n_es_aeat_mod347 |
1277 | 132 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 137 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
1278 | 133 | msgid "Mod" | 138 | msgid "Mod" |
1280 | 134 | msgstr "" | 139 | msgstr "Mod" |
1281 | 135 | 140 | ||
1282 | 136 | #. module: l10n_es_aeat_mod347 | 141 | #. module: l10n_es_aeat_mod347 |
1283 | 137 | #: view:l10n.es.aeat.mod347.report:0 | 142 | #: view:l10n.es.aeat.mod347.report:0 |
1284 | 138 | msgid "AEAT 347 Reports" | 143 | msgid "AEAT 347 Reports" |
1286 | 139 | msgstr "" | 144 | msgstr "AEAT 347 Reports" |
1287 | 140 | 145 | ||
1288 | 141 | #. module: l10n_es_aeat_mod347 | 146 | #. module: l10n_es_aeat_mod347 |
1289 | 142 | #: field:l10n.es.aeat.mod347.report,group_by_cif:0 | 147 | #: field:l10n.es.aeat.mod347.report,group_by_cif:0 |
1290 | 143 | msgid "Group by cif" | 148 | msgid "Group by cif" |
1292 | 144 | msgstr "" | 149 | msgstr "Group by cif" |
1293 | 145 | 150 | ||
1294 | 146 | #. module: l10n_es_aeat_mod347 | 151 | #. module: l10n_es_aeat_mod347 |
1295 | 147 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 | 152 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 |
1296 | 148 | msgid "1 - Spain but Basque Country and Navarra" | 153 | msgid "1 - Spain but Basque Country and Navarra" |
1298 | 149 | msgstr "" | 154 | msgstr "1 - Spain but Basque Country and Navarra" |
1299 | 150 | 155 | ||
1300 | 151 | #. module: l10n_es_aeat_mod347 | 156 | #. module: l10n_es_aeat_mod347 |
1301 | 152 | #: view:l10n.es.aeat.mod347.partner_record:0 | 157 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1302 | 153 | msgid "Invoice record" | 158 | msgid "Invoice record" |
1304 | 154 | msgstr "" | 159 | msgstr "Invoice record" |
1305 | 155 | 160 | ||
1306 | 156 | #. module: l10n_es_aeat_mod347 | 161 | #. module: l10n_es_aeat_mod347 |
1307 | 157 | #: view:l10n.es.aeat.mod347.report:0 | 162 | #: view:l10n.es.aeat.mod347.report:0 |
1308 | 158 | msgid "Partner records" | 163 | msgid "Partner records" |
1310 | 159 | msgstr "" | 164 | msgstr "Partner records" |
1311 | 160 | 165 | ||
1312 | 161 | #. module: l10n_es_aeat_mod347 | 166 | #. module: l10n_es_aeat_mod347 |
1314 | 162 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:88 | 167 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:106 |
1315 | 163 | #, python-format | 168 | #, python-format |
1316 | 164 | msgid "The type 1 record must be 502 characters long" | 169 | msgid "The type 1 record must be 502 characters long" |
1318 | 165 | msgstr "" | 170 | msgstr "The type 1 record must be 502 characters long" |
1319 | 166 | 171 | ||
1320 | 167 | #. module: l10n_es_aeat_mod347 | 172 | #. module: l10n_es_aeat_mod347 |
1321 | 168 | #: field:l10n.es.aeat.mod347.report,support_type:0 | 173 | #: field:l10n.es.aeat.mod347.report,support_type:0 |
1322 | 169 | msgid "Support Type" | 174 | msgid "Support Type" |
1324 | 170 | msgstr "" | 175 | msgstr "Support Type" |
1325 | 171 | 176 | ||
1326 | 172 | #. module: l10n_es_aeat_mod347 | 177 | #. module: l10n_es_aeat_mod347 |
1330 | 173 | #: code:addons/l10n_es_aeat_mod347/mod347.py:136 | 178 | #: code:addons/l10n_es_aeat_mod347/mod347.py:184 |
1331 | 174 | #: code:addons/l10n_es_aeat_mod347/mod347.py:138 | 179 | #: code:addons/l10n_es_aeat_mod347/mod347.py:190 |
1332 | 175 | #: code:addons/l10n_es_aeat_mod347/mod347.py:142 | 180 | #: code:addons/l10n_es_aeat_mod347/mod347.py:198 |
1333 | 176 | #, python-format | 181 | #, python-format |
1334 | 177 | msgid "Error!" | 182 | msgid "Error!" |
1336 | 178 | msgstr "" | 183 | msgstr "Error!" |
1337 | 179 | 184 | ||
1338 | 180 | #. module: l10n_es_aeat_mod347 | 185 | #. module: l10n_es_aeat_mod347 |
1339 | 181 | #: field:l10n.es.aeat.mod347.cash_record,amount:0 | 186 | #: field:l10n.es.aeat.mod347.cash_record,amount:0 |
1340 | @@ -183,148 +188,153 @@ | |||
1341 | 183 | #: field:l10n.es.aeat.mod347.real_state_record,amount:0 | 188 | #: field:l10n.es.aeat.mod347.real_state_record,amount:0 |
1342 | 184 | #: field:l10n.es.aeat.mod347.report,total_amount:0 | 189 | #: field:l10n.es.aeat.mod347.report,total_amount:0 |
1343 | 185 | msgid "Amount" | 190 | msgid "Amount" |
1345 | 186 | msgstr "" | 191 | msgstr "Amount" |
1346 | 187 | 192 | ||
1347 | 188 | #. module: l10n_es_aeat_mod347 | 193 | #. module: l10n_es_aeat_mod347 |
1348 | 189 | #: field:l10n.es.aeat.mod347.cash_record,move_line_id:0 | 194 | #: field:l10n.es.aeat.mod347.cash_record,move_line_id:0 |
1349 | 190 | msgid "Account move line" | 195 | msgid "Account move line" |
1351 | 191 | msgstr "" | 196 | msgstr "Account move line" |
1352 | 192 | 197 | ||
1353 | 193 | #. module: l10n_es_aeat_mod347 | 198 | #. module: l10n_es_aeat_mod347 |
1354 | 194 | #: view:l10n.es.aeat.mod347.partner_record:0 | 199 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1355 | 195 | #: field:l10n.es.aeat.mod347.partner_record,invoice_record_ids:0 | 200 | #: field:l10n.es.aeat.mod347.partner_record,invoice_record_ids:0 |
1356 | 196 | msgid "Invoice records" | 201 | msgid "Invoice records" |
1358 | 197 | msgstr "" | 202 | msgstr "Invoice records" |
1359 | 198 | 203 | ||
1360 | 199 | #. module: l10n_es_aeat_mod347 | 204 | #. module: l10n_es_aeat_mod347 |
1361 | 200 | #: view:l10n.es.aeat.mod347.report:0 | 205 | #: view:l10n.es.aeat.mod347.report:0 |
1362 | 201 | msgid "Cancelled" | 206 | msgid "Cancelled" |
1364 | 202 | msgstr "" | 207 | msgstr "Cancelled" |
1365 | 203 | 208 | ||
1366 | 204 | #. module: l10n_es_aeat_mod347 | 209 | #. module: l10n_es_aeat_mod347 |
1367 | 205 | #: field:account.period,quarter:0 | 210 | #: field:account.period,quarter:0 |
1368 | 206 | msgid "Quarter" | 211 | msgid "Quarter" |
1370 | 207 | msgstr "" | 212 | msgstr "Quarter" |
1371 | 208 | 213 | ||
1372 | 209 | #. module: l10n_es_aeat_mod347 | 214 | #. module: l10n_es_aeat_mod347 |
1373 | 210 | #: report:report_l10n_es_aeat_mod347.report:0 | 215 | #: report:report_l10n_es_aeat_mod347.report:0 |
1374 | 211 | msgid "VAT" | 216 | msgid "VAT" |
1376 | 212 | msgstr "" | 217 | msgstr "VAT" |
1377 | 218 | |||
1378 | 219 | #. module: l10n_es_aeat_mod347 | ||
1379 | 220 | #: help:account.journal,cash_journal:0 | ||
1380 | 221 | msgid "Payments of this journal will be considered as cash(used on the 347 report)" | ||
1381 | 222 | msgstr "Payments of this journal will be considered as cash(used on the 347 report)" | ||
1382 | 213 | 223 | ||
1383 | 214 | #. module: l10n_es_aeat_mod347 | 224 | #. module: l10n_es_aeat_mod347 |
1384 | 215 | #: view:l10n.es.aeat.mod347.report:0 | 225 | #: view:l10n.es.aeat.mod347.report:0 |
1385 | 216 | msgid "Calculation" | 226 | msgid "Calculation" |
1387 | 217 | msgstr "" | 227 | msgstr "Calculation" |
1388 | 218 | 228 | ||
1389 | 219 | #. module: l10n_es_aeat_mod347 | 229 | #. module: l10n_es_aeat_mod347 |
1391 | 220 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:232 | 230 | #: code:addons/l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py:306 |
1392 | 221 | #, python-format | 231 | #, python-format |
1400 | 222 | msgid "The type 2-I record (real estate) must be 502 characters long" | 232 | msgid "The type 2-I record (real state) must be 502 characters long" |
1401 | 223 | msgstr "" | 233 | msgstr "The type 2-I record (real state) must be 502 characters long" |
1395 | 224 | |||
1396 | 225 | #. module: l10n_es_aeat_mod347 | ||
1397 | 226 | #: sql_constraint:account.journal:0 | ||
1398 | 227 | msgid "The code of the journal must be unique per company !" | ||
1399 | 228 | msgstr "" | ||
1402 | 229 | 234 | ||
1403 | 230 | #. module: l10n_es_aeat_mod347 | 235 | #. module: l10n_es_aeat_mod347 |
1404 | 231 | #: view:l10n.es.aeat.mod347.report:0 | 236 | #: view:l10n.es.aeat.mod347.report:0 |
1405 | 232 | #: selection:l10n.es.aeat.mod347.report,state:0 | 237 | #: selection:l10n.es.aeat.mod347.report,state:0 |
1406 | 233 | msgid "Draft" | 238 | msgid "Draft" |
1408 | 234 | msgstr "" | 239 | msgstr "Draft" |
1409 | 235 | 240 | ||
1410 | 236 | #. module: l10n_es_aeat_mod347 | 241 | #. module: l10n_es_aeat_mod347 |
1411 | 237 | #: view:l10n.es.aeat.mod347.report:0 | 242 | #: view:l10n.es.aeat.mod347.report:0 |
1414 | 238 | msgid "Real Estate records" | 243 | msgid "Real State records" |
1415 | 239 | msgstr "" | 244 | msgstr "Real State records" |
1416 | 240 | 245 | ||
1417 | 241 | #. module: l10n_es_aeat_mod347 | 246 | #. module: l10n_es_aeat_mod347 |
1418 | 242 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_invoice_record | 247 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_invoice_record |
1419 | 243 | msgid "Invoice Record" | 248 | msgid "Invoice Record" |
1421 | 244 | msgstr "" | 249 | msgstr "Invoice Record" |
1422 | 245 | 250 | ||
1423 | 246 | #. module: l10n_es_aeat_mod347 | 251 | #. module: l10n_es_aeat_mod347 |
1424 | 247 | #: view:l10n.es.aeat.mod347.report:0 | 252 | #: view:l10n.es.aeat.mod347.report:0 |
1425 | 248 | msgid "Confirm" | 253 | msgid "Confirm" |
1427 | 249 | msgstr "" | 254 | msgstr "Confirm" |
1428 | 255 | |||
1429 | 256 | #. module: l10n_es_aeat_mod347 | ||
1430 | 257 | #: view:l10n.es.aeat.mod347.report:0 | ||
1431 | 258 | msgid "Cancelled models" | ||
1432 | 259 | msgstr "Cancelled models" | ||
1433 | 250 | 260 | ||
1434 | 251 | #. module: l10n_es_aeat_mod347 | 261 | #. module: l10n_es_aeat_mod347 |
1435 | 252 | #: field:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 | 262 | #: field:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 |
1436 | 253 | msgid "Origin fiscal year" | 263 | msgid "Origin fiscal year" |
1438 | 254 | msgstr "" | 264 | msgstr "Origin fiscal year" |
1439 | 255 | 265 | ||
1440 | 256 | #. module: l10n_es_aeat_mod347 | 266 | #. module: l10n_es_aeat_mod347 |
1441 | 257 | #: help:l10n.es.aeat.mod347.report,charges_obtp_limit:0 | 267 | #: help:l10n.es.aeat.mod347.report,charges_obtp_limit:0 |
1442 | 258 | msgid "The declaration will include partners from which we received payments, on behalf of third parties, over this limit" | 268 | msgid "The declaration will include partners from which we received payments, on behalf of third parties, over this limit" |
1444 | 259 | msgstr "" | 269 | msgstr "The declaration will include partners from which we received payments, on behalf of third parties, over this limit" |
1445 | 260 | 270 | ||
1446 | 261 | #. module: l10n_es_aeat_mod347 | 271 | #. module: l10n_es_aeat_mod347 |
1447 | 262 | #: field:l10n.es.aeat.mod347.report,operations_limit:0 | 272 | #: field:l10n.es.aeat.mod347.report,operations_limit:0 |
1448 | 263 | msgid "Invoiced Limit (1)" | 273 | msgid "Invoiced Limit (1)" |
1450 | 264 | msgstr "" | 274 | msgstr "Invoiced Limit (1)" |
1451 | 265 | 275 | ||
1452 | 266 | #. module: l10n_es_aeat_mod347 | 276 | #. module: l10n_es_aeat_mod347 |
1453 | 267 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 | 277 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 |
1454 | 268 | msgid "3 - Spain, without catastral reference" | 278 | msgid "3 - Spain, without catastral reference" |
1456 | 269 | msgstr "" | 279 | msgstr "3 - Spain, without catastral reference" |
1457 | 270 | 280 | ||
1458 | 271 | #. module: l10n_es_aeat_mod347 | 281 | #. module: l10n_es_aeat_mod347 |
1460 | 272 | #: code:addons/l10n_es_aeat_mod347/mod347.py:138 | 282 | #: code:addons/l10n_es_aeat_mod347/mod347.py:191 |
1461 | 273 | #, python-format | 283 | #, python-format |
1462 | 274 | msgid "All partner vat number field must be filled.\n" | 284 | msgid "All partner vat number field must be filled.\n" |
1463 | 275 | "Partner: %s (%s)" | 285 | "Partner: %s (%s)" |
1465 | 276 | msgstr "" | 286 | msgstr "All partner vat number field must be filled.\n" |
1466 | 277 | "Partner: %s (%s)" | 287 | "Partner: %s (%s)" |
1467 | 278 | 288 | ||
1468 | 279 | #. module: l10n_es_aeat_mod347 | 289 | #. module: l10n_es_aeat_mod347 |
1469 | 280 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 290 | #: field:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
1472 | 281 | msgid "Bussiness Real Estate Rent" | 291 | msgid "Bussiness Real State Rent" |
1473 | 282 | msgstr "" | 292 | msgstr "Bussiness Real State Rent" |
1474 | 283 | 293 | ||
1475 | 284 | #. module: l10n_es_aeat_mod347 | 294 | #. module: l10n_es_aeat_mod347 |
1477 | 285 | #: code:addons/l10n_es_aeat_mod347/mod347.py:136 | 295 | #: code:addons/l10n_es_aeat_mod347/mod347.py:185 |
1478 | 286 | #, python-format | 296 | #, python-format |
1479 | 287 | msgid "All partner state code field must be filled.\n" | 297 | msgid "All partner state code field must be filled.\n" |
1480 | 288 | "Partner: %s (%s)" | 298 | "Partner: %s (%s)" |
1482 | 289 | msgstr "" | 299 | msgstr "All partner state code field must be filled.\n" |
1483 | 290 | "Partner: %s (%s)" | 300 | "Partner: %s (%s)" |
1484 | 291 | 301 | ||
1485 | 292 | #. module: l10n_es_aeat_mod347 | 302 | #. module: l10n_es_aeat_mod347 |
1486 | 293 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 303 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1487 | 294 | msgid "F - Ventas agencia viaje" | 304 | msgid "F - Ventas agencia viaje" |
1489 | 295 | msgstr "" | 305 | msgstr "F - Ventas agencia viaje" |
1490 | 296 | 306 | ||
1491 | 297 | #. module: l10n_es_aeat_mod347 | 307 | #. module: l10n_es_aeat_mod347 |
1492 | 298 | #: help:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 | 308 | #: help:l10n.es.aeat.mod347.partner_record,origin_fiscalyear_id:0 |
1493 | 299 | msgid "Origin cash operation fiscal year" | 309 | msgid "Origin cash operation fiscal year" |
1495 | 300 | msgstr "" | 310 | msgstr "Origin cash operation fiscal year" |
1496 | 301 | 311 | ||
1497 | 302 | #. module: l10n_es_aeat_mod347 | 312 | #. module: l10n_es_aeat_mod347 |
1498 | 303 | #: help:l10n.es.aeat.mod347.partner_record,representative_vat:0 | 313 | #: help:l10n.es.aeat.mod347.partner_record,representative_vat:0 |
1499 | 304 | #: help:l10n.es.aeat.mod347.real_state_record,representative_vat:0 | 314 | #: help:l10n.es.aeat.mod347.real_state_record,representative_vat:0 |
1500 | 305 | msgid "Legal Representative VAT number" | 315 | msgid "Legal Representative VAT number" |
1502 | 306 | msgstr "" | 316 | msgstr "Legal Representative VAT number" |
1503 | 307 | 317 | ||
1504 | 308 | #. module: l10n_es_aeat_mod347 | 318 | #. module: l10n_es_aeat_mod347 |
1505 | 309 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter:0 | 319 | #: field:l10n.es.aeat.mod347.partner_record,fourth_quarter:0 |
1506 | 310 | msgid "Fourth Quarter" | 320 | msgid "Fourth Quarter" |
1508 | 311 | msgstr "" | 321 | msgstr "Fourth Quarter" |
1509 | 312 | 322 | ||
1510 | 313 | #. module: l10n_es_aeat_mod347 | 323 | #. module: l10n_es_aeat_mod347 |
1511 | 314 | #: field:l10n.es.aeat.mod347.real_state_record,door:0 | 324 | #: field:l10n.es.aeat.mod347.real_state_record,door:0 |
1512 | 315 | msgid "Door" | 325 | msgid "Door" |
1514 | 316 | msgstr "" | 326 | msgstr "Door" |
1515 | 317 | 327 | ||
1516 | 318 | #. module: l10n_es_aeat_mod347 | 328 | #. module: l10n_es_aeat_mod347 |
1517 | 319 | #: selection:account.period,quarter:0 | 329 | #: selection:account.period,quarter:0 |
1518 | 320 | msgid "Third" | 330 | msgid "Third" |
1520 | 321 | msgstr "" | 331 | msgstr "Third" |
1521 | 322 | 332 | ||
1522 | 323 | #. module: l10n_es_aeat_mod347 | 333 | #. module: l10n_es_aeat_mod347 |
1523 | 324 | #: field:l10n.es.aeat.mod347.cash_record,partner_record_id:0 | 334 | #: field:l10n.es.aeat.mod347.cash_record,partner_record_id:0 |
1524 | 325 | #: field:l10n.es.aeat.mod347.invoice_record,partner_record_id:0 | 335 | #: field:l10n.es.aeat.mod347.invoice_record,partner_record_id:0 |
1525 | 326 | msgid "Partner record" | 336 | msgid "Partner record" |
1527 | 327 | msgstr "" | 337 | msgstr "Partner record" |
1528 | 328 | 338 | ||
1529 | 329 | #. module: l10n_es_aeat_mod347 | 339 | #. module: l10n_es_aeat_mod347 |
1530 | 330 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_report | 340 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_report |
1531 | @@ -332,75 +342,80 @@ | |||
1532 | 332 | #: field:l10n.es.aeat.mod347.real_state_record,report_id:0 | 342 | #: field:l10n.es.aeat.mod347.real_state_record,report_id:0 |
1533 | 333 | #: view:l10n.es.aeat.mod347.report:0 | 343 | #: view:l10n.es.aeat.mod347.report:0 |
1534 | 334 | msgid "AEAT 347 Report" | 344 | msgid "AEAT 347 Report" |
1536 | 335 | msgstr "" | 345 | msgstr "AEAT 347 Report" |
1537 | 336 | 346 | ||
1538 | 337 | #. module: l10n_es_aeat_mod347 | 347 | #. module: l10n_es_aeat_mod347 |
1539 | 338 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 348 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1540 | 339 | msgid "C - Cobros por cuenta de terceros superiores al límite (3)" | 349 | msgid "C - Cobros por cuenta de terceros superiores al límite (3)" |
1542 | 340 | msgstr "" | 350 | msgstr "C - Cobros por cuenta de terceros superiores al límite (3)" |
1543 | 341 | 351 | ||
1544 | 342 | #. module: l10n_es_aeat_mod347 | 352 | #. module: l10n_es_aeat_mod347 |
1545 | 343 | #: view:l10n.es.aeat.mod347.report:0 | 353 | #: view:l10n.es.aeat.mod347.report:0 |
1546 | 344 | msgid "Export to BOE" | 354 | msgid "Export to BOE" |
1548 | 345 | msgstr "" | 355 | msgstr "Export to BOE" |
1549 | 346 | 356 | ||
1550 | 347 | #. module: l10n_es_aeat_mod347 | 357 | #. module: l10n_es_aeat_mod347 |
1551 | 348 | #: report:report_l10n_es_aeat_mod347.report:0 | 358 | #: report:report_l10n_es_aeat_mod347.report:0 |
1552 | 349 | msgid "AEAT 347 MODEL" | 359 | msgid "AEAT 347 MODEL" |
1554 | 350 | msgstr "" | 360 | msgstr "AEAT 347 MODEL" |
1555 | 351 | 361 | ||
1556 | 352 | #. module: l10n_es_aeat_mod347 | 362 | #. module: l10n_es_aeat_mod347 |
1557 | 353 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod347.report_l10n_es_aeat_mod347 | 363 | #: model:ir.actions.report.xml,name:l10n_es_aeat_mod347.report_l10n_es_aeat_mod347 |
1558 | 354 | msgid "AEAT 347 Model report" | 364 | msgid "AEAT 347 Model report" |
1560 | 355 | msgstr "" | 365 | msgstr "AEAT 347 Model report" |
1561 | 356 | 366 | ||
1562 | 357 | #. module: l10n_es_aeat_mod347 | 367 | #. module: l10n_es_aeat_mod347 |
1563 | 358 | #: field:l10n.es.aeat.mod347.partner_record,partner_vat:0 | 368 | #: field:l10n.es.aeat.mod347.partner_record,partner_vat:0 |
1564 | 359 | #: field:l10n.es.aeat.mod347.real_state_record,partner_vat:0 | 369 | #: field:l10n.es.aeat.mod347.real_state_record,partner_vat:0 |
1565 | 360 | #: field:l10n.es.aeat.mod347.report,company_vat:0 | 370 | #: field:l10n.es.aeat.mod347.report,company_vat:0 |
1566 | 361 | msgid "VAT number" | 371 | msgid "VAT number" |
1568 | 362 | msgstr "" | 372 | msgstr "VAT number" |
1569 | 363 | 373 | ||
1570 | 364 | #. module: l10n_es_aeat_mod347 | 374 | #. module: l10n_es_aeat_mod347 |
1571 | 365 | #: field:l10n.es.aeat.mod347.partner_record,insurance_operation:0 | 375 | #: field:l10n.es.aeat.mod347.partner_record,insurance_operation:0 |
1572 | 366 | msgid "Insurance Operation" | 376 | msgid "Insurance Operation" |
1574 | 367 | msgstr "" | 377 | msgstr "Insurance Operation" |
1575 | 368 | 378 | ||
1576 | 369 | #. module: l10n_es_aeat_mod347 | 379 | #. module: l10n_es_aeat_mod347 |
1577 | 370 | #: field:l10n.es.aeat.mod347.report,state:0 | 380 | #: field:l10n.es.aeat.mod347.report,state:0 |
1578 | 371 | msgid "State" | 381 | msgid "State" |
1580 | 372 | msgstr "" | 382 | msgstr "State" |
1581 | 373 | 383 | ||
1582 | 374 | #. module: l10n_es_aeat_mod347 | 384 | #. module: l10n_es_aeat_mod347 |
1583 | 375 | #: field:l10n.es.aeat.mod347.partner_record,partner_state_code:0 | 385 | #: field:l10n.es.aeat.mod347.partner_record,partner_state_code:0 |
1584 | 376 | #: field:l10n.es.aeat.mod347.real_state_record,state_code:0 | 386 | #: field:l10n.es.aeat.mod347.real_state_record,state_code:0 |
1585 | 377 | msgid "State Code" | 387 | msgid "State Code" |
1587 | 378 | msgstr "" | 388 | msgstr "State Code" |
1588 | 379 | 389 | ||
1589 | 380 | #. module: l10n_es_aeat_mod347 | 390 | #. module: l10n_es_aeat_mod347 |
1590 | 381 | #: field:l10n.es.aeat.mod347.real_state_record,stairway:0 | 391 | #: field:l10n.es.aeat.mod347.real_state_record,stairway:0 |
1591 | 382 | msgid "Stairway" | 392 | msgid "Stairway" |
1593 | 383 | msgstr "" | 393 | msgstr "Stairway" |
1594 | 394 | |||
1595 | 395 | #. module: l10n_es_aeat_mod347 | ||
1596 | 396 | #: field:l10n.es.aeat.mod347.report,only_supplier:0 | ||
1597 | 397 | msgid "Only Suppliers" | ||
1598 | 398 | msgstr "Only Suppliers" | ||
1599 | 384 | 399 | ||
1600 | 385 | #. module: l10n_es_aeat_mod347 | 400 | #. module: l10n_es_aeat_mod347 |
1601 | 386 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter:0 | 401 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter:0 |
1602 | 387 | msgid "Third Quarter" | 402 | msgid "Third Quarter" |
1604 | 388 | msgstr "" | 403 | msgstr "Third Quarter" |
1605 | 389 | 404 | ||
1606 | 390 | #. module: l10n_es_aeat_mod347 | 405 | #. module: l10n_es_aeat_mod347 |
1607 | 391 | #: model:ir.ui.menu,name:l10n_es_aeat_mod347.menu_aeat_mod347_report | 406 | #: model:ir.ui.menu,name:l10n_es_aeat_mod347.menu_aeat_mod347_report |
1608 | 392 | msgid "AEAT 347 Model" | 407 | msgid "AEAT 347 Model" |
1610 | 393 | msgstr "" | 408 | msgstr "AEAT 347 Model" |
1611 | 394 | 409 | ||
1612 | 395 | #. module: l10n_es_aeat_mod347 | 410 | #. module: l10n_es_aeat_mod347 |
1613 | 396 | #: field:l10n.es.aeat.mod347.report,total_partner_records:0 | 411 | #: field:l10n.es.aeat.mod347.report,total_partner_records:0 |
1614 | 397 | msgid "Partners records" | 412 | msgid "Partners records" |
1616 | 398 | msgstr "" | 413 | msgstr "Partners records" |
1617 | 399 | 414 | ||
1618 | 400 | #. module: l10n_es_aeat_mod347 | 415 | #. module: l10n_es_aeat_mod347 |
1619 | 401 | #: field:l10n.es.aeat.mod347.report,calculation_date:0 | 416 | #: field:l10n.es.aeat.mod347.report,calculation_date:0 |
1620 | 402 | msgid "Calculation date" | 417 | msgid "Calculation date" |
1622 | 403 | msgstr "" | 418 | msgstr "Calculation date" |
1623 | 404 | 419 | ||
1624 | 405 | #. module: l10n_es_aeat_mod347 | 420 | #. module: l10n_es_aeat_mod347 |
1625 | 406 | #: model:ir.model,name:l10n_es_aeat_mod347.model_res_partner | 421 | #: model:ir.model,name:l10n_es_aeat_mod347.model_res_partner |
1626 | @@ -408,513 +423,527 @@ | |||
1627 | 408 | #: field:l10n.es.aeat.mod347.real_state_record,partner_id:0 | 423 | #: field:l10n.es.aeat.mod347.real_state_record,partner_id:0 |
1628 | 409 | #: report:report_l10n_es_aeat_mod347.report:0 | 424 | #: report:report_l10n_es_aeat_mod347.report:0 |
1629 | 410 | msgid "Partner" | 425 | msgid "Partner" |
1631 | 411 | msgstr "" | 426 | msgstr "Partner" |
1632 | 412 | 427 | ||
1633 | 413 | #. module: l10n_es_aeat_mod347 | 428 | #. module: l10n_es_aeat_mod347 |
1634 | 414 | #: report:report_l10n_es_aeat_mod347.report:0 | 429 | #: report:report_l10n_es_aeat_mod347.report:0 |
1635 | 415 | msgid "Amount (Q1|Q2|Q3|Q4)" | 430 | msgid "Amount (Q1|Q2|Q3|Q4)" |
1637 | 416 | msgstr "" | 431 | msgstr "Amount (Q1|Q2|Q3|Q4)" |
1638 | 417 | 432 | ||
1639 | 418 | #. module: l10n_es_aeat_mod347 | 433 | #. module: l10n_es_aeat_mod347 |
1640 | 419 | #: field:l10n.es.aeat.mod347.real_state_record,block:0 | 434 | #: field:l10n.es.aeat.mod347.real_state_record,block:0 |
1641 | 420 | msgid "Block" | 435 | msgid "Block" |
1643 | 421 | msgstr "" | 436 | msgstr "Block" |
1644 | 422 | 437 | ||
1645 | 423 | #. module: l10n_es_aeat_mod347 | 438 | #. module: l10n_es_aeat_mod347 |
1646 | 424 | #: selection:account.period,quarter:0 | 439 | #: selection:account.period,quarter:0 |
1647 | 425 | msgid "First" | 440 | msgid "First" |
1649 | 426 | msgstr "" | 441 | msgstr "First" |
1650 | 427 | 442 | ||
1651 | 428 | #. module: l10n_es_aeat_mod347 | 443 | #. module: l10n_es_aeat_mod347 |
1652 | 429 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 | 444 | #: field:l10n.es.aeat.mod347.real_state_record,situation:0 |
1655 | 430 | msgid "Real estate Situation" | 445 | msgid "Real state Situation" |
1656 | 431 | msgstr "" | 446 | msgstr "Real state Situation" |
1657 | 432 | 447 | ||
1658 | 433 | #. module: l10n_es_aeat_mod347 | 448 | #. module: l10n_es_aeat_mod347 |
1659 | 434 | #: report:report_l10n_es_aeat_mod347.report:0 | 449 | #: report:report_l10n_es_aeat_mod347.report:0 |
1660 | 435 | msgid "Ins. Oper" | 450 | msgid "Ins. Oper" |
1662 | 436 | msgstr "" | 451 | msgstr "Ins. Oper" |
1663 | 437 | 452 | ||
1664 | 438 | #. module: l10n_es_aeat_mod347 | 453 | #. module: l10n_es_aeat_mod347 |
1665 | 439 | #: report:report_l10n_es_aeat_mod347.report:0 | 454 | #: report:report_l10n_es_aeat_mod347.report:0 |
1666 | 440 | msgid "Invoiced amount" | 455 | msgid "Invoiced amount" |
1668 | 441 | msgstr "" | 456 | msgstr "Invoiced amount" |
1669 | 442 | 457 | ||
1670 | 443 | #. module: l10n_es_aeat_mod347 | 458 | #. module: l10n_es_aeat_mod347 |
1671 | 444 | #: field:l10n.es.aeat.mod347.real_state_record,reference:0 | 459 | #: field:l10n.es.aeat.mod347.real_state_record,reference:0 |
1672 | 445 | msgid "Catastral Reference" | 460 | msgid "Catastral Reference" |
1674 | 446 | msgstr "" | 461 | msgstr "Catastral Reference" |
1675 | 447 | 462 | ||
1676 | 448 | #. module: l10n_es_aeat_mod347 | 463 | #. module: l10n_es_aeat_mod347 |
1677 | 449 | #: report:report_l10n_es_aeat_mod347.report:0 | 464 | #: report:report_l10n_es_aeat_mod347.report:0 |
1678 | 450 | msgid "Support type:" | 465 | msgid "Support type:" |
1680 | 451 | msgstr "" | 466 | msgstr "Support type:" |
1681 | 452 | 467 | ||
1682 | 453 | #. module: l10n_es_aeat_mod347 | 468 | #. module: l10n_es_aeat_mod347 |
1683 | 454 | #: field:l10n.es.aeat.mod347.report,number:0 | 469 | #: field:l10n.es.aeat.mod347.report,number:0 |
1684 | 455 | msgid "Declaration Number" | 470 | msgid "Declaration Number" |
1686 | 456 | msgstr "" | 471 | msgstr "Declaration Number" |
1687 | 457 | 472 | ||
1688 | 458 | #. module: l10n_es_aeat_mod347 | 473 | #. module: l10n_es_aeat_mod347 |
1689 | 459 | #: selection:l10n.es.aeat.mod347.report,state:0 | 474 | #: selection:l10n.es.aeat.mod347.report,state:0 |
1690 | 460 | msgid "Canceled" | 475 | msgid "Canceled" |
1692 | 461 | msgstr "" | 476 | msgstr "Canceled" |
1693 | 462 | 477 | ||
1694 | 463 | #. module: l10n_es_aeat_mod347 | 478 | #. module: l10n_es_aeat_mod347 |
1695 | 464 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 | 479 | #: selection:l10n.es.aeat.mod347.real_state_record,situation:0 |
1696 | 465 | msgid "2 - Basque Country and Navarra" | 480 | msgid "2 - Basque Country and Navarra" |
1698 | 466 | msgstr "" | 481 | msgstr "2 - Basque Country and Navarra" |
1699 | 467 | 482 | ||
1700 | 468 | #. module: l10n_es_aeat_mod347 | 483 | #. module: l10n_es_aeat_mod347 |
1701 | 469 | #: field:l10n.es.aeat.mod347.real_state_record,postal_code:0 | 484 | #: field:l10n.es.aeat.mod347.real_state_record,postal_code:0 |
1702 | 470 | msgid "Postal code" | 485 | msgid "Postal code" |
1704 | 471 | msgstr "" | 486 | msgstr "Postal code" |
1705 | 472 | 487 | ||
1706 | 473 | #. module: l10n_es_aeat_mod347 | 488 | #. module: l10n_es_aeat_mod347 |
1707 | 474 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_cash_record | 489 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_cash_record |
1708 | 475 | msgid "Cash Record" | 490 | msgid "Cash Record" |
1710 | 476 | msgstr "" | 491 | msgstr "Cash Record" |
1711 | 477 | 492 | ||
1712 | 478 | #. module: l10n_es_aeat_mod347 | 493 | #. module: l10n_es_aeat_mod347 |
1713 | 479 | #: view:l10n.es.aeat.mod347.partner_record:0 | 494 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1714 | 480 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 495 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
1717 | 481 | msgid "Real estate info" | 496 | msgid "Real state info" |
1718 | 482 | msgstr "" | 497 | msgstr "Real state info" |
1719 | 483 | 498 | ||
1720 | 484 | #. module: l10n_es_aeat_mod347 | 499 | #. module: l10n_es_aeat_mod347 |
1721 | 485 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 | 500 | #: field:l10n.es.aeat.mod347.partner_record,real_state_transmissions_amount:0 |
1724 | 486 | msgid "Real Estate Transmisions amount" | 501 | msgid "Real State Transmisions amount" |
1725 | 487 | msgstr "" | 502 | msgstr "Real State Transmisions amount" |
1726 | 488 | 503 | ||
1727 | 489 | #. module: l10n_es_aeat_mod347 | 504 | #. module: l10n_es_aeat_mod347 |
1728 | 490 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 505 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1729 | 491 | msgid "A - Adquisiciones de bienes y servicios superiores al límite (1)" | 506 | msgid "A - Adquisiciones de bienes y servicios superiores al límite (1)" |
1731 | 492 | msgstr "" | 507 | msgstr "A - Adquisiciones de bienes y servicios superiores al límite (1)" |
1732 | 493 | 508 | ||
1733 | 494 | #. module: l10n_es_aeat_mod347 | 509 | #. module: l10n_es_aeat_mod347 |
1734 | 495 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_calculate_records | 510 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_calculate_records |
1735 | 496 | msgid "AEAT Model 347 Wizard - Calculate Records" | 511 | msgid "AEAT Model 347 Wizard - Calculate Records" |
1737 | 497 | msgstr "" | 512 | msgstr "AEAT Model 347 Wizard - Calculate Records" |
1738 | 498 | 513 | ||
1739 | 499 | #. module: l10n_es_aeat_mod347 | 514 | #. module: l10n_es_aeat_mod347 |
1740 | 500 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter:0 | 515 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter:0 |
1741 | 501 | msgid "Second Quarter" | 516 | msgid "Second Quarter" |
1743 | 502 | msgstr "" | 517 | msgstr "Second Quarter" |
1744 | 503 | 518 | ||
1745 | 504 | #. module: l10n_es_aeat_mod347 | 519 | #. module: l10n_es_aeat_mod347 |
1746 | 505 | #: report:report_l10n_es_aeat_mod347.report:0 | 520 | #: report:report_l10n_es_aeat_mod347.report:0 |
1747 | 506 | msgid "RS Rent" | 521 | msgid "RS Rent" |
1749 | 507 | msgstr "" | 522 | msgstr "RS Rent" |
1750 | 508 | 523 | ||
1751 | 509 | #. module: l10n_es_aeat_mod347 | 524 | #. module: l10n_es_aeat_mod347 |
1752 | 510 | #: selection:l10n.es.aeat.mod347.report,support_type:0 | 525 | #: selection:l10n.es.aeat.mod347.report,support_type:0 |
1753 | 511 | msgid "DVD" | 526 | msgid "DVD" |
1755 | 512 | msgstr "" | 527 | msgstr "DVD" |
1756 | 513 | 528 | ||
1757 | 514 | #. module: l10n_es_aeat_mod347 | 529 | #. module: l10n_es_aeat_mod347 |
1758 | 515 | #: view:l10n.es.aeat.mod347.report:0 | 530 | #: view:l10n.es.aeat.mod347.report:0 |
1759 | 516 | msgid "In process" | 531 | msgid "In process" |
1761 | 517 | msgstr "" | 532 | msgstr "In process" |
1762 | 518 | 533 | ||
1763 | 519 | #. module: l10n_es_aeat_mod347 | 534 | #. module: l10n_es_aeat_mod347 |
1764 | 520 | #: view:l10n.es.aeat.mod347.report:0 | 535 | #: view:l10n.es.aeat.mod347.report:0 |
1765 | 521 | msgid "Identification" | 536 | msgid "Identification" |
1767 | 522 | msgstr "" | 537 | msgstr "Identification" |
1768 | 523 | 538 | ||
1769 | 524 | #. module: l10n_es_aeat_mod347 | 539 | #. module: l10n_es_aeat_mod347 |
1770 | 525 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 540 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
1771 | 526 | msgid "Dup" | 541 | msgid "Dup" |
1773 | 527 | msgstr "" | 542 | msgstr "Dup" |
1774 | 528 | 543 | ||
1775 | 529 | #. module: l10n_es_aeat_mod347 | 544 | #. module: l10n_es_aeat_mod347 |
1776 | 530 | #: field:l10n.es.aeat.mod347.real_state_record,number_type:0 | 545 | #: field:l10n.es.aeat.mod347.real_state_record,number_type:0 |
1777 | 531 | msgid "Number type" | 546 | msgid "Number type" |
1779 | 532 | msgstr "" | 547 | msgstr "Number type" |
1780 | 533 | 548 | ||
1781 | 534 | #. module: l10n_es_aeat_mod347 | 549 | #. module: l10n_es_aeat_mod347 |
1782 | 535 | #: selection:l10n.es.aeat.mod347.report,type:0 | 550 | #: selection:l10n.es.aeat.mod347.report,type:0 |
1783 | 536 | msgid "Normal" | 551 | msgid "Normal" |
1785 | 537 | msgstr "" | 552 | msgstr "Normal" |
1786 | 538 | 553 | ||
1787 | 539 | #. module: l10n_es_aeat_mod347 | 554 | #. module: l10n_es_aeat_mod347 |
1788 | 540 | #: field:l10n.es.aeat.mod347.real_state_record,complement:0 | 555 | #: field:l10n.es.aeat.mod347.real_state_record,complement:0 |
1789 | 541 | msgid "Complement" | 556 | msgid "Complement" |
1791 | 542 | msgstr "" | 557 | msgstr "Complement" |
1792 | 543 | 558 | ||
1793 | 544 | #. module: l10n_es_aeat_mod347 | 559 | #. module: l10n_es_aeat_mod347 |
1794 | 545 | #: selection:l10n.es.aeat.mod347.report,state:0 | 560 | #: selection:l10n.es.aeat.mod347.report,state:0 |
1795 | 546 | msgid "Processing" | 561 | msgid "Processing" |
1797 | 547 | msgstr "" | 562 | msgstr "Processing" |
1798 | 548 | 563 | ||
1799 | 549 | #. module: l10n_es_aeat_mod347 | 564 | #. module: l10n_es_aeat_mod347 |
1800 | 550 | #: field:l10n.es.aeat.mod347.report,contact_name:0 | 565 | #: field:l10n.es.aeat.mod347.report,contact_name:0 |
1801 | 551 | msgid "Full Name" | 566 | msgid "Full Name" |
1803 | 552 | msgstr "" | 567 | msgstr "Full Name" |
1804 | 553 | 568 | ||
1805 | 554 | #. module: l10n_es_aeat_mod347 | 569 | #. module: l10n_es_aeat_mod347 |
1806 | 555 | #: field:l10n.es.aeat.mod347.report,contact_phone:0 | 570 | #: field:l10n.es.aeat.mod347.report,contact_phone:0 |
1807 | 556 | msgid "Phone" | 571 | msgid "Phone" |
1809 | 557 | msgstr "" | 572 | msgstr "Phone" |
1810 | 558 | 573 | ||
1811 | 559 | #. module: l10n_es_aeat_mod347 | 574 | #. module: l10n_es_aeat_mod347 |
1812 | 560 | #: field:l10n.es.aeat.mod347.real_state_record,portal:0 | 575 | #: field:l10n.es.aeat.mod347.real_state_record,portal:0 |
1813 | 561 | msgid "Portal" | 576 | msgid "Portal" |
1815 | 562 | msgstr "" | 577 | msgstr "Portal" |
1816 | 563 | 578 | ||
1817 | 564 | #. module: l10n_es_aeat_mod347 | 579 | #. module: l10n_es_aeat_mod347 |
1818 | 565 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 | 580 | #: help:l10n.es.aeat.mod347.partner_record,bussiness_real_state_rent:0 |
1821 | 566 | msgid "Set to identify real estate rent operations aside from the rest. You'll need to fill in the real estate info only when you are the one that receives the money." | 581 | msgid "Set to identify real state rent operations aside from the rest. You'll need to fill in the real state info only when you are the one that receives the money." |
1822 | 567 | msgstr "" | 582 | msgstr "Set to identify real state rent operations aside from the rest. You'll need to fill in the real state info only when you are the one that receives the money." |
1823 | 568 | 583 | ||
1824 | 569 | #. module: l10n_es_aeat_mod347 | 584 | #. module: l10n_es_aeat_mod347 |
1825 | 570 | #: view:l10n.es.aeat.mod347.report:0 | 585 | #: view:l10n.es.aeat.mod347.report:0 |
1826 | 571 | msgid "Declaration" | 586 | msgid "Declaration" |
1828 | 572 | msgstr "" | 587 | msgstr "Declaration" |
1829 | 573 | 588 | ||
1830 | 574 | #. module: l10n_es_aeat_mod347 | 589 | #. module: l10n_es_aeat_mod347 |
1831 | 575 | #: field:l10n.es.aeat.mod347.cash_record,date:0 | 590 | #: field:l10n.es.aeat.mod347.cash_record,date:0 |
1832 | 576 | #: field:l10n.es.aeat.mod347.invoice_record,date:0 | 591 | #: field:l10n.es.aeat.mod347.invoice_record,date:0 |
1833 | 577 | msgid "Date" | 592 | msgid "Date" |
1835 | 578 | msgstr "" | 593 | msgstr "Date" |
1836 | 579 | 594 | ||
1837 | 580 | #. module: l10n_es_aeat_mod347 | 595 | #. module: l10n_es_aeat_mod347 |
1838 | 581 | #: report:report_l10n_es_aeat_mod347.report:0 | 596 | #: report:report_l10n_es_aeat_mod347.report:0 |
1839 | 582 | msgid "Number:" | 597 | msgid "Number:" |
1841 | 583 | msgstr "" | 598 | msgstr "Number:" |
1842 | 584 | 599 | ||
1843 | 585 | #. module: l10n_es_aeat_mod347 | 600 | #. module: l10n_es_aeat_mod347 |
1847 | 586 | #: help:l10n.es.aeat.mod347.report,received_cash_limit:0 | 601 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report |
1848 | 587 | msgid "The declaration will show the total of cash operations over this limit" | 602 | msgid "<p class=\"oe_view_nocontent_create\">\n" |
1849 | 588 | msgstr "" | 603 | " Click to create a AEAT Model 347 Reports.\n" |
1850 | 604 | " \n" | ||
1851 | 605 | " </p><p>\n" | ||
1852 | 606 | " Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban \n" | ||
1853 | 607 | " los diseños físicos y lógicos del 347.\n" | ||
1854 | 608 | " </p>\n" | ||
1855 | 609 | " " | ||
1856 | 610 | msgstr "<p class=\"oe_view_nocontent_create\">\n" | ||
1857 | 611 | " Click to create a AEAT Model 347 Reports.\n" | ||
1858 | 612 | " \n" | ||
1859 | 613 | " </p><p>\n" | ||
1860 | 614 | " Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban \n" | ||
1861 | 615 | " los diseños físicos y lógicos del 347.\n" | ||
1862 | 616 | " </p>\n" | ||
1863 | 617 | " " | ||
1864 | 589 | 618 | ||
1865 | 590 | #. module: l10n_es_aeat_mod347 | 619 | #. module: l10n_es_aeat_mod347 |
1866 | 591 | #: field:l10n.es.aeat.mod347.partner_record,cash_record_ids:0 | 620 | #: field:l10n.es.aeat.mod347.partner_record,cash_record_ids:0 |
1867 | 592 | msgid "Payment records" | 621 | msgid "Payment records" |
1869 | 593 | msgstr "" | 622 | msgstr "Payment records" |
1870 | 594 | 623 | ||
1871 | 595 | #. module: l10n_es_aeat_mod347 | 624 | #. module: l10n_es_aeat_mod347 |
1872 | 596 | #: field:l10n.es.aeat.mod347.real_state_record,address_type:0 | 625 | #: field:l10n.es.aeat.mod347.real_state_record,address_type:0 |
1873 | 597 | msgid "Address type" | 626 | msgid "Address type" |
1875 | 598 | msgstr "" | 627 | msgstr "Address type" |
1876 | 599 | 628 | ||
1877 | 600 | #. module: l10n_es_aeat_mod347 | 629 | #. module: l10n_es_aeat_mod347 |
1878 | 601 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 | 630 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 |
1879 | 602 | msgid "Without number" | 631 | msgid "Without number" |
1881 | 603 | msgstr "" | 632 | msgstr "Without number" |
1882 | 604 | 633 | ||
1883 | 605 | #. module: l10n_es_aeat_mod347 | 634 | #. module: l10n_es_aeat_mod347 |
1884 | 606 | #: field:l10n.es.aeat.mod347.report,charges_obtp_limit:0 | 635 | #: field:l10n.es.aeat.mod347.report,charges_obtp_limit:0 |
1885 | 607 | msgid "Charges on behalf of third parties Limit (3)" | 636 | msgid "Charges on behalf of third parties Limit (3)" |
1887 | 608 | msgstr "" | 637 | msgstr "Charges on behalf of third parties Limit (3)" |
1888 | 609 | 638 | ||
1889 | 610 | #. module: l10n_es_aeat_mod347 | 639 | #. module: l10n_es_aeat_mod347 |
1890 | 611 | #: field:l10n.es.aeat.mod347.partner_record,partner_country_code:0 | 640 | #: field:l10n.es.aeat.mod347.partner_record,partner_country_code:0 |
1891 | 612 | msgid "Country Code" | 641 | msgid "Country Code" |
1893 | 613 | msgstr "" | 642 | msgstr "Country Code" |
1894 | 614 | 643 | ||
1895 | 615 | #. module: l10n_es_aeat_mod347 | 644 | #. module: l10n_es_aeat_mod347 |
1896 | 616 | #: field:account.journal,cash_journal:0 | 645 | #: field:account.journal,cash_journal:0 |
1897 | 617 | msgid "Cash payments journal" | 646 | msgid "Cash payments journal" |
1899 | 618 | msgstr "" | 647 | msgstr "Cash payments journal" |
1900 | 619 | 648 | ||
1901 | 620 | #. module: l10n_es_aeat_mod347 | 649 | #. module: l10n_es_aeat_mod347 |
1902 | 621 | #: help:l10n.es.aeat.mod347.real_state_record,complement:0 | 650 | #: help:l10n.es.aeat.mod347.real_state_record,complement:0 |
1903 | 622 | msgid "Complement (urbanization, industrial park...)" | 651 | msgid "Complement (urbanization, industrial park...)" |
1905 | 623 | msgstr "" | 652 | msgstr "Complement (urbanization, industrial park...)" |
1906 | 624 | 653 | ||
1907 | 625 | #. module: l10n_es_aeat_mod347 | 654 | #. module: l10n_es_aeat_mod347 |
1908 | 626 | #: selection:l10n.es.aeat.mod347.report,state:0 | 655 | #: selection:l10n.es.aeat.mod347.report,state:0 |
1909 | 627 | msgid "Processed" | 656 | msgid "Processed" |
1911 | 628 | msgstr "" | 657 | msgstr "Processed" |
1912 | 629 | 658 | ||
1913 | 630 | #. module: l10n_es_aeat_mod347 | 659 | #. module: l10n_es_aeat_mod347 |
1914 | 631 | #: field:l10n.es.aeat.mod347.partner_record,representative_vat:0 | 660 | #: field:l10n.es.aeat.mod347.partner_record,representative_vat:0 |
1915 | 632 | #: field:l10n.es.aeat.mod347.real_state_record,representative_vat:0 | 661 | #: field:l10n.es.aeat.mod347.real_state_record,representative_vat:0 |
1916 | 633 | #: field:l10n.es.aeat.mod347.report,representative_vat:0 | 662 | #: field:l10n.es.aeat.mod347.report,representative_vat:0 |
1917 | 634 | msgid "L.R. VAT number" | 663 | msgid "L.R. VAT number" |
1919 | 635 | msgstr "" | 664 | msgstr "L.R. VAT number" |
1920 | 636 | 665 | ||
1921 | 637 | #. module: l10n_es_aeat_mod347 | 666 | #. module: l10n_es_aeat_mod347 |
1922 | 638 | #: view:l10n.es.aeat.mod347.partner_record:0 | 667 | #: view:l10n.es.aeat.mod347.partner_record:0 |
1923 | 639 | msgid "Cash record" | 668 | msgid "Cash record" |
1925 | 640 | msgstr "" | 669 | msgstr "Cash record" |
1926 | 641 | 670 | ||
1927 | 642 | #. module: l10n_es_aeat_mod347 | 671 | #. module: l10n_es_aeat_mod347 |
1928 | 643 | #: view:l10n.es.aeat.mod347.report:0 | 672 | #: view:l10n.es.aeat.mod347.report:0 |
1929 | 644 | msgid "Susbtitutive/complementary declaration" | 673 | msgid "Susbtitutive/complementary declaration" |
1931 | 645 | msgstr "" | 674 | msgstr "Susbtitutive/complementary declaration" |
1932 | 646 | 675 | ||
1933 | 647 | #. module: l10n_es_aeat_mod347 | 676 | #. module: l10n_es_aeat_mod347 |
1934 | 648 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 677 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1935 | 649 | msgid "G - Compras agencia viaje" | 678 | msgid "G - Compras agencia viaje" |
1937 | 650 | msgstr "" | 679 | msgstr "G - Compras agencia viaje" |
1938 | 651 | 680 | ||
1939 | 652 | #. module: l10n_es_aeat_mod347 | 681 | #. module: l10n_es_aeat_mod347 |
1940 | 653 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 682 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
1941 | 654 | msgid "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al límite (1)" | 683 | msgid "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al límite (1)" |
1943 | 655 | msgstr "" | 684 | msgstr "D - Adquisiciones efectuadas por Entidades Públicas (...) superiores al límite (1)" |
1944 | 656 | 685 | ||
1945 | 657 | #. module: l10n_es_aeat_mod347 | 686 | #. module: l10n_es_aeat_mod347 |
1946 | 658 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 | 687 | #: field:l10n.es.aeat.mod347.partner_record,third_quarter_real_state_transmission_amount:0 |
1949 | 659 | msgid "Third Quarter Real Estate Transmission Amount" | 688 | msgid "Third Quarter Real State Transmission Amount" |
1950 | 660 | msgstr "" | 689 | msgstr "Third Quarter Real State Transmission Amount" |
1951 | 661 | 690 | ||
1952 | 662 | #. module: l10n_es_aeat_mod347 | 691 | #. module: l10n_es_aeat_mod347 |
1956 | 663 | #: model:ir.actions.act_window,help:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report | 692 | #: help:l10n.es.aeat.mod347.report,received_cash_limit:0 |
1957 | 664 | msgid "Create and query AEAT Model 347 Reports" | 693 | msgid "The declaration will showthe total of cash operations over this limit" |
1958 | 665 | msgstr "" | 694 | msgstr "The declaration will showthe total of cash operations over this limit" |
1959 | 666 | 695 | ||
1960 | 667 | #. module: l10n_es_aeat_mod347 | 696 | #. module: l10n_es_aeat_mod347 |
1961 | 668 | #: field:l10n.es.aeat.mod347.report,type:0 | 697 | #: field:l10n.es.aeat.mod347.report,type:0 |
1962 | 669 | msgid "Statement Type" | 698 | msgid "Statement Type" |
1969 | 670 | msgstr "" | 699 | msgstr "Statement Type" |
1964 | 671 | |||
1965 | 672 | #. module: l10n_es_aeat_mod347 | ||
1966 | 673 | #: constraint:account.period:0 | ||
1967 | 674 | msgid "Invalid period ! Some periods overlap or the date period is not in the scope of the fiscal year. " | ||
1968 | 675 | msgstr "" | ||
1970 | 676 | 700 | ||
1971 | 677 | #. module: l10n_es_aeat_mod347 | 701 | #. module: l10n_es_aeat_mod347 |
1972 | 678 | #: field:l10n.es.aeat.mod347.real_state_record,number:0 | 702 | #: field:l10n.es.aeat.mod347.real_state_record,number:0 |
1973 | 679 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 | 703 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 |
1974 | 680 | msgid "Number" | 704 | msgid "Number" |
1976 | 681 | msgstr "" | 705 | msgstr "Number" |
1977 | 682 | 706 | ||
1978 | 683 | #. module: l10n_es_aeat_mod347 | 707 | #. module: l10n_es_aeat_mod347 |
1979 | 684 | #: view:l10n.es.aeat.mod347.report:0 | 708 | #: view:l10n.es.aeat.mod347.report:0 |
1980 | 685 | msgid "General" | 709 | msgid "General" |
1982 | 686 | msgstr "" | 710 | msgstr "General" |
1983 | 687 | 711 | ||
1984 | 688 | #. module: l10n_es_aeat_mod347 | 712 | #. module: l10n_es_aeat_mod347 |
1985 | 689 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 | 713 | #: selection:l10n.es.aeat.mod347.real_state_record,number_calification:0 |
1986 | 690 | msgid "Ant" | 714 | msgid "Ant" |
1988 | 691 | msgstr "" | 715 | msgstr "Ant" |
1989 | 716 | |||
1990 | 717 | #. module: l10n_es_aeat_mod347 | ||
1991 | 718 | #: view:l10n.es.aeat.mod347.report:0 | ||
1992 | 719 | msgid "In process models" | ||
1993 | 720 | msgstr "In process models" | ||
1994 | 692 | 721 | ||
1995 | 693 | #. module: l10n_es_aeat_mod347 | 722 | #. module: l10n_es_aeat_mod347 |
1996 | 694 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter:0 | 723 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter:0 |
1997 | 695 | msgid "First Quarter" | 724 | msgid "First Quarter" |
1999 | 696 | msgstr "" | 725 | msgstr "First Quarter" |
2000 | 697 | 726 | ||
2001 | 698 | #. module: l10n_es_aeat_mod347 | 727 | #. module: l10n_es_aeat_mod347 |
2002 | 699 | #: view:l10n.es.aeat.mod347.report:0 | 728 | #: view:l10n.es.aeat.mod347.report:0 |
2003 | 700 | #: selection:l10n.es.aeat.mod347.report,state:0 | 729 | #: selection:l10n.es.aeat.mod347.report,state:0 |
2004 | 701 | msgid "Done" | 730 | msgid "Done" |
2006 | 702 | msgstr "" | 731 | msgstr "Done" |
2007 | 703 | 732 | ||
2008 | 704 | #. module: l10n_es_aeat_mod347 | 733 | #. module: l10n_es_aeat_mod347 |
2009 | 705 | #: field:l10n.es.aeat.mod347.invoice_record,invoice_id:0 | 734 | #: field:l10n.es.aeat.mod347.invoice_record,invoice_id:0 |
2010 | 706 | msgid "Invoice" | 735 | msgid "Invoice" |
2012 | 707 | msgstr "" | 736 | msgstr "Invoice" |
2013 | 708 | 737 | ||
2014 | 709 | #. module: l10n_es_aeat_mod347 | 738 | #. module: l10n_es_aeat_mod347 |
2015 | 710 | #: report:report_l10n_es_aeat_mod347.report:0 | 739 | #: report:report_l10n_es_aeat_mod347.report:0 |
2018 | 711 | msgid "Real Estate Transmission (Q1|Q2|Q3|Q4)" | 740 | msgid "Real State Transmission (Q1|Q2|Q3|Q4)" |
2019 | 712 | msgstr "" | 741 | msgstr "Real State Transmission (Q1|Q2|Q3|Q4)" |
2020 | 713 | 742 | ||
2021 | 714 | #. module: l10n_es_aeat_mod347 | 743 | #. module: l10n_es_aeat_mod347 |
2022 | 715 | #: view:l10n.es.aeat.mod347.report:0 | 744 | #: view:l10n.es.aeat.mod347.report:0 |
2023 | 716 | msgid "Cancel" | 745 | msgid "Cancel" |
2025 | 717 | msgstr "" | 746 | msgstr "Cancel" |
2026 | 718 | 747 | ||
2027 | 719 | #. module: l10n_es_aeat_mod347 | 748 | #. module: l10n_es_aeat_mod347 |
2028 | 720 | #: view:l10n.es.aeat.mod347.report:0 | 749 | #: view:l10n.es.aeat.mod347.report:0 |
2029 | 721 | msgid "Recalculate" | 750 | msgid "Recalculate" |
2031 | 722 | msgstr "" | 751 | msgstr "Recalculate" |
2032 | 723 | 752 | ||
2033 | 724 | #. module: l10n_es_aeat_mod347 | 753 | #. module: l10n_es_aeat_mod347 |
2034 | 725 | #: help:l10n.es.aeat.mod347.partner_record,insurance_operation:0 | 754 | #: help:l10n.es.aeat.mod347.partner_record,insurance_operation:0 |
2035 | 726 | msgid "Only for insurance companies. Set to identify insurance operations aside from the rest." | 755 | msgid "Only for insurance companies. Set to identify insurance operations aside from the rest." |
2037 | 727 | msgstr "" | 756 | msgstr "Only for insurance companies. Set to identify insurance operations aside from the rest." |
2038 | 728 | 757 | ||
2039 | 729 | #. module: l10n_es_aeat_mod347 | 758 | #. module: l10n_es_aeat_mod347 |
2040 | 730 | #: field:l10n.es.aeat.mod347.real_state_record,city:0 | 759 | #: field:l10n.es.aeat.mod347.real_state_record,city:0 |
2041 | 731 | msgid "City" | 760 | msgid "City" |
2048 | 732 | msgstr "" | 761 | msgstr "City" |
2043 | 733 | |||
2044 | 734 | #. module: l10n_es_aeat_mod347 | ||
2045 | 735 | #: help:account.journal,cash_journal:0 | ||
2046 | 736 | msgid "Payments of this journal will be considered as cash (used on the 347 report)" | ||
2047 | 737 | msgstr "" | ||
2049 | 738 | 762 | ||
2050 | 739 | #. module: l10n_es_aeat_mod347 | 763 | #. module: l10n_es_aeat_mod347 |
2051 | 740 | #: field:l10n.es.aeat.mod347.real_state_record,floor:0 | 764 | #: field:l10n.es.aeat.mod347.real_state_record,floor:0 |
2052 | 741 | msgid "Floor" | 765 | msgid "Floor" |
2054 | 742 | msgstr "" | 766 | msgstr "Floor" |
2055 | 743 | 767 | ||
2056 | 744 | #. module: l10n_es_aeat_mod347 | 768 | #. module: l10n_es_aeat_mod347 |
2057 | 745 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_export_to_boe | 769 | #: model:ir.model,name:l10n_es_aeat_mod347.model_l10n_es_aeat_mod347_export_to_boe |
2058 | 746 | msgid "Export AEAT Model 347 to BOE format" | 770 | msgid "Export AEAT Model 347 to BOE format" |
2060 | 747 | msgstr "" | 771 | msgstr "Export AEAT Model 347 to BOE format" |
2061 | 748 | 772 | ||
2062 | 749 | #. module: l10n_es_aeat_mod347 | 773 | #. module: l10n_es_aeat_mod347 |
2063 | 750 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 774 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
2064 | 751 | msgid "B - Entregas de bienes y servicios superiores al límite (1)" | 775 | msgid "B - Entregas de bienes y servicios superiores al límite (1)" |
2066 | 752 | msgstr "" | 776 | msgstr "B - Entregas de bienes y servicios superiores al límite (1)" |
2067 | 753 | 777 | ||
2068 | 754 | #. module: l10n_es_aeat_mod347 | 778 | #. module: l10n_es_aeat_mod347 |
2069 | 755 | #: view:l10n.es.aeat.mod347.report:0 | 779 | #: view:l10n.es.aeat.mod347.report:0 |
2070 | 756 | msgid "AEAT 347" | 780 | msgid "AEAT 347" |
2072 | 757 | msgstr "" | 781 | msgstr "AEAT 347" |
2073 | 758 | 782 | ||
2074 | 759 | #. module: l10n_es_aeat_mod347 | 783 | #. module: l10n_es_aeat_mod347 |
2075 | 760 | #: view:l10n.es.aeat.mod347.partner_record:0 | 784 | #: view:l10n.es.aeat.mod347.partner_record:0 |
2076 | 761 | msgid "Cash records" | 785 | msgid "Cash records" |
2078 | 762 | msgstr "" | 786 | msgstr "Cash records" |
2079 | 763 | 787 | ||
2080 | 764 | #. module: l10n_es_aeat_mod347 | 788 | #. module: l10n_es_aeat_mod347 |
2081 | 765 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 | 789 | #: selection:l10n.es.aeat.mod347.real_state_record,number_type:0 |
2082 | 766 | msgid "Kilometer" | 790 | msgid "Kilometer" |
2084 | 767 | msgstr "" | 791 | msgstr "Kilometer" |
2085 | 768 | 792 | ||
2086 | 769 | #. module: l10n_es_aeat_mod347 | 793 | #. module: l10n_es_aeat_mod347 |
2087 | 770 | #: report:report_l10n_es_aeat_mod347.report:0 | 794 | #: report:report_l10n_es_aeat_mod347.report:0 |
2088 | 771 | msgid "Cash amount" | 795 | msgid "Cash amount" |
2090 | 772 | msgstr "" | 796 | msgstr "Cash amount" |
2091 | 773 | 797 | ||
2092 | 774 | #. module: l10n_es_aeat_mod347 | 798 | #. module: l10n_es_aeat_mod347 |
2093 | 775 | #: view:l10n.es.aeat.mod347.partner_record:0 | 799 | #: view:l10n.es.aeat.mod347.partner_record:0 |
2094 | 776 | msgid "Details" | 800 | msgid "Details" |
2096 | 777 | msgstr "" | 801 | msgstr "Details" |
2097 | 778 | 802 | ||
2098 | 779 | #. module: l10n_es_aeat_mod347 | 803 | #. module: l10n_es_aeat_mod347 |
2099 | 780 | #: model:ir.actions.act_window,name:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report | 804 | #: model:ir.actions.act_window,name:l10n_es_aeat_mod347.action_l10n_es_aeat_mod347_report |
2100 | 781 | msgid "AEAT Model 347" | 805 | msgid "AEAT Model 347" |
2102 | 782 | msgstr "" | 806 | msgstr "AEAT Model 347" |
2103 | 783 | 807 | ||
2104 | 784 | #. module: l10n_es_aeat_mod347 | 808 | #. module: l10n_es_aeat_mod347 |
2105 | 785 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 809 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
2108 | 786 | msgid "Real estate address" | 810 | msgid "Real state address" |
2109 | 787 | msgstr "" | 811 | msgstr "Real state address" |
2110 | 788 | 812 | ||
2111 | 789 | #. module: l10n_es_aeat_mod347 | 813 | #. module: l10n_es_aeat_mod347 |
2112 | 790 | #: field:l10n.es.aeat.mod347.partner_record,cash_amount:0 | 814 | #: field:l10n.es.aeat.mod347.partner_record,cash_amount:0 |
2113 | 791 | msgid "Received cash amount" | 815 | msgid "Received cash amount" |
2115 | 792 | msgstr "" | 816 | msgstr "Received cash amount" |
2116 | 793 | 817 | ||
2117 | 794 | #. module: l10n_es_aeat_mod347 | 818 | #. module: l10n_es_aeat_mod347 |
2118 | 795 | #: selection:l10n.es.aeat.mod347.report,type:0 | 819 | #: selection:l10n.es.aeat.mod347.report,type:0 |
2119 | 796 | msgid "Complementary" | 820 | msgid "Complementary" |
2121 | 797 | msgstr "" | 821 | msgstr "Complementary" |
2122 | 798 | 822 | ||
2123 | 799 | #. module: l10n_es_aeat_mod347 | 823 | #. module: l10n_es_aeat_mod347 |
2124 | 800 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_period | 824 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_period |
2125 | 801 | msgid "Account period" | 825 | msgid "Account period" |
2127 | 802 | msgstr "" | 826 | msgstr "Account period" |
2128 | 803 | 827 | ||
2129 | 804 | #. module: l10n_es_aeat_mod347 | 828 | #. module: l10n_es_aeat_mod347 |
2130 | 805 | #: report:report_l10n_es_aeat_mod347.report:0 | 829 | #: report:report_l10n_es_aeat_mod347.report:0 |
2131 | 806 | msgid "PARTNER RECORD LINES" | 830 | msgid "PARTNER RECORD LINES" |
2133 | 807 | msgstr "" | 831 | msgstr "PARTNER RECORD LINES" |
2134 | 808 | 832 | ||
2135 | 809 | #. module: l10n_es_aeat_mod347 | 833 | #. module: l10n_es_aeat_mod347 |
2136 | 810 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 | 834 | #: field:l10n.es.aeat.mod347.partner_record,first_quarter_real_state_transmission_amount:0 |
2139 | 811 | msgid "First Quarter Real Estate Transmission Amount" | 835 | msgid "First Quarter Real State Transmission Amount" |
2140 | 812 | msgstr "" | 836 | msgstr "First Quarter Real State Transmission Amount" |
2141 | 813 | 837 | ||
2142 | 814 | #. module: l10n_es_aeat_mod347 | 838 | #. module: l10n_es_aeat_mod347 |
2143 | 815 | #: help:l10n.es.aeat.mod347.report,representative_vat:0 | 839 | #: help:l10n.es.aeat.mod347.report,representative_vat:0 |
2144 | 816 | msgid "Legal Representative VAT number." | 840 | msgid "Legal Representative VAT number." |
2146 | 817 | msgstr "" | 841 | msgstr "Legal Representative VAT number." |
2147 | 818 | 842 | ||
2148 | 819 | #. module: l10n_es_aeat_mod347 | 843 | #. module: l10n_es_aeat_mod347 |
2149 | 820 | #: field:l10n.es.aeat.mod347.report,previous_number:0 | 844 | #: field:l10n.es.aeat.mod347.report,previous_number:0 |
2150 | 821 | msgid "Previous Declaration Number" | 845 | msgid "Previous Declaration Number" |
2152 | 822 | msgstr "" | 846 | msgstr "Previous Declaration Number" |
2153 | 823 | 847 | ||
2154 | 824 | #. module: l10n_es_aeat_mod347 | 848 | #. module: l10n_es_aeat_mod347 |
2155 | 825 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 | 849 | #: field:l10n.es.aeat.mod347.partner_record,second_quarter_real_state_transmission_amount:0 |
2158 | 826 | msgid "Second Quarter Real Estate Transmission Amount" | 850 | msgid "Second Quarter Real State Transmission Amount" |
2159 | 827 | msgstr "" | 851 | msgstr "Second Quarter Real State Transmission Amount" |
2160 | 828 | 852 | ||
2161 | 829 | #. module: l10n_es_aeat_mod347 | 853 | #. module: l10n_es_aeat_mod347 |
2162 | 830 | #: field:l10n.es.aeat.mod347.real_state_record,address:0 | 854 | #: field:l10n.es.aeat.mod347.real_state_record,address:0 |
2163 | 831 | msgid "Address" | 855 | msgid "Address" |
2165 | 832 | msgstr "" | 856 | msgstr "Address" |
2166 | 833 | 857 | ||
2167 | 834 | #. module: l10n_es_aeat_mod347 | 858 | #. module: l10n_es_aeat_mod347 |
2168 | 835 | #: field:l10n.es.aeat.mod347.real_state_record,township:0 | 859 | #: field:l10n.es.aeat.mod347.real_state_record,township:0 |
2169 | 836 | msgid "Township" | 860 | msgid "Township" |
2171 | 837 | msgstr "" | 861 | msgstr "Township" |
2172 | 838 | 862 | ||
2173 | 839 | #. module: l10n_es_aeat_mod347 | 863 | #. module: l10n_es_aeat_mod347 |
2174 | 840 | #: field:l10n.es.aeat.mod347.partner_record,operation_key:0 | 864 | #: field:l10n.es.aeat.mod347.partner_record,operation_key:0 |
2175 | 841 | msgid "Operation Key" | 865 | msgid "Operation Key" |
2177 | 842 | msgstr "" | 866 | msgstr "Operation Key" |
2178 | 843 | 867 | ||
2179 | 844 | #. module: l10n_es_aeat_mod347 | 868 | #. module: l10n_es_aeat_mod347 |
2180 | 845 | #: help:res.partner,include_in_mod347:0 | 869 | #: help:res.partner,include_in_mod347:0 |
2181 | 846 | msgid "Include in AEAT 347 Model report" | 870 | msgid "Include in AEAT 347 Model report" |
2183 | 847 | msgstr "" | 871 | msgstr "Include in AEAT 347 Model report" |
2184 | 848 | 872 | ||
2185 | 849 | #. module: l10n_es_aeat_mod347 | 873 | #. module: l10n_es_aeat_mod347 |
2186 | 850 | #: report:report_l10n_es_aeat_mod347.report:0 | 874 | #: report:report_l10n_es_aeat_mod347.report:0 |
2187 | 851 | msgid "Fiscal year:" | 875 | msgid "Fiscal year:" |
2189 | 852 | msgstr "" | 876 | msgstr "Fiscal year:" |
2190 | 853 | 877 | ||
2191 | 854 | #. module: l10n_es_aeat_mod347 | 878 | #. module: l10n_es_aeat_mod347 |
2192 | 855 | #: field:l10n.es.aeat.mod347.partner_record,amount:0 | 879 | #: field:l10n.es.aeat.mod347.partner_record,amount:0 |
2193 | 856 | msgid "Operations amount" | 880 | msgid "Operations amount" |
2195 | 857 | msgstr "" | 881 | msgstr "Operations amount" |
2196 | 858 | 882 | ||
2197 | 859 | #. module: l10n_es_aeat_mod347 | 883 | #. module: l10n_es_aeat_mod347 |
2198 | 860 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 | 884 | #: field:l10n.es.aeat.mod347.report,total_real_state_transmissions_amount:0 |
2201 | 861 | msgid "Real Estate Transmissions Amount" | 885 | msgid "Real State Transmissions Amount" |
2202 | 862 | msgstr "" | 886 | msgstr "Real State Transmissions Amount" |
2203 | 863 | 887 | ||
2204 | 864 | #. module: l10n_es_aeat_mod347 | 888 | #. module: l10n_es_aeat_mod347 |
2205 | 865 | #: view:l10n.es.aeat.mod347.partner_record:0 | 889 | #: view:l10n.es.aeat.mod347.partner_record:0 |
2206 | 866 | #: view:l10n.es.aeat.mod347.real_state_record:0 | 890 | #: view:l10n.es.aeat.mod347.real_state_record:0 |
2207 | 867 | msgid "Partner info" | 891 | msgid "Partner info" |
2209 | 868 | msgstr "" | 892 | msgstr "Partner info" |
2210 | 869 | 893 | ||
2211 | 870 | #. module: l10n_es_aeat_mod347 | 894 | #. module: l10n_es_aeat_mod347 |
2212 | 871 | #: report:report_l10n_es_aeat_mod347.report:0 | 895 | #: report:report_l10n_es_aeat_mod347.report:0 |
2213 | 872 | msgid "RST amount" | 896 | msgid "RST amount" |
2215 | 873 | msgstr "" | 897 | msgstr "RST amount" |
2216 | 898 | |||
2217 | 899 | #. module: l10n_es_aeat_mod347 | ||
2218 | 900 | #: field:l10n.es.aeat.mod347.report,attach_id:0 | ||
2219 | 901 | msgid "BOE file" | ||
2220 | 902 | msgstr "BOE file" | ||
2221 | 903 | |||
2222 | 904 | #. module: l10n_es_aeat_mod347 | ||
2223 | 905 | #: view:l10n.es.aeat.mod347.report:0 | ||
2224 | 906 | msgid "Draft models" | ||
2225 | 907 | msgstr "Draft models" | ||
2226 | 874 | 908 | ||
2227 | 875 | #. module: l10n_es_aeat_mod347 | 909 | #. module: l10n_es_aeat_mod347 |
2228 | 876 | #: view:l10n.es.aeat.mod347.report:0 | 910 | #: view:l10n.es.aeat.mod347.report:0 |
2229 | 877 | #: field:l10n.es.aeat.mod347.report,fiscalyear_id:0 | 911 | #: field:l10n.es.aeat.mod347.report,fiscalyear_id:0 |
2230 | 878 | msgid "Fiscal Year" | 912 | msgid "Fiscal Year" |
2232 | 879 | msgstr "" | 913 | msgstr "Fiscal Year" |
2233 | 880 | 914 | ||
2234 | 881 | #. module: l10n_es_aeat_mod347 | 915 | #. module: l10n_es_aeat_mod347 |
2235 | 882 | #: view:l10n.es.aeat.mod347.report:0 | 916 | #: view:l10n.es.aeat.mod347.report:0 |
2236 | 883 | msgid "Summary" | 917 | msgid "Summary" |
2238 | 884 | msgstr "" | 918 | msgstr "Summary" |
2239 | 885 | 919 | ||
2240 | 886 | #. module: l10n_es_aeat_mod347 | 920 | #. module: l10n_es_aeat_mod347 |
2241 | 887 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 | 921 | #: field:l10n.es.aeat.mod347.report,total_real_state_records:0 |
2244 | 888 | msgid "Real estate records" | 922 | msgid "Real state records" |
2245 | 889 | msgstr "" | 923 | msgstr "Real state records" |
2246 | 890 | 924 | ||
2247 | 891 | #. module: l10n_es_aeat_mod347 | 925 | #. module: l10n_es_aeat_mod347 |
2248 | 892 | #: selection:l10n.es.aeat.mod347.report,support_type:0 | 926 | #: selection:l10n.es.aeat.mod347.report,support_type:0 |
2249 | 893 | msgid "Telematics" | 927 | msgid "Telematics" |
2251 | 894 | msgstr "" | 928 | msgstr "Telematics" |
2252 | 895 | 929 | ||
2253 | 896 | #. module: l10n_es_aeat_mod347 | 930 | #. module: l10n_es_aeat_mod347 |
2254 | 897 | #: field:l10n.es.aeat.mod347.report,received_cash_limit:0 | 931 | #: field:l10n.es.aeat.mod347.report,received_cash_limit:0 |
2255 | 898 | msgid "Received cash Limit (2)" | 932 | msgid "Received cash Limit (2)" |
2257 | 899 | msgstr "" | 933 | msgstr "Received cash Limit (2)" |
2258 | 900 | 934 | ||
2259 | 901 | #. module: l10n_es_aeat_mod347 | 935 | #. module: l10n_es_aeat_mod347 |
2260 | 902 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 | 936 | #: selection:l10n.es.aeat.mod347.partner_record,operation_key:0 |
2261 | 903 | msgid "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores al límite (1)" | 937 | msgid "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores al límite (1)" |
2268 | 904 | msgstr "" | 938 | msgstr "E - Subvenciones, auxilios y ayudas satisfechas por Ad. Públicas superiores al límite (1)" |
2263 | 905 | |||
2264 | 906 | #. module: l10n_es_aeat_mod347 | ||
2265 | 907 | #: sql_constraint:account.journal:0 | ||
2266 | 908 | msgid "The name of the journal must be unique per company !" | ||
2267 | 909 | msgstr "" | ||
2269 | 910 | 939 | ||
2270 | 911 | #. module: l10n_es_aeat_mod347 | 940 | #. module: l10n_es_aeat_mod347 |
2271 | 912 | #: selection:account.period,quarter:0 | 941 | #: selection:account.period,quarter:0 |
2272 | 913 | msgid "Second" | 942 | msgid "Second" |
2274 | 914 | msgstr "" | 943 | msgstr "Second" |
2275 | 915 | 944 | ||
2276 | 916 | #. module: l10n_es_aeat_mod347 | 945 | #. module: l10n_es_aeat_mod347 |
2277 | 917 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_journal | 946 | #: model:ir.model,name:l10n_es_aeat_mod347.model_account_journal |
2278 | 918 | msgid "Journal" | 947 | msgid "Journal" |
2280 | 919 | msgstr "" | 948 | msgstr "Journal" |
2281 | 920 | 949 | ||
2282 | 921 | 950 | ||
2283 | === added directory 'l10n_es_aeat_mod347/images' | |||
2284 | === added file 'l10n_es_aeat_mod347/images/l10n_es_aeat_mod347.png' | |||
2285 | 922 | Binary files l10n_es_aeat_mod347/images/l10n_es_aeat_mod347.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod347/images/l10n_es_aeat_mod347.png 2013-12-27 10:08:05 +0000 differ | 951 | Binary files l10n_es_aeat_mod347/images/l10n_es_aeat_mod347.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod347/images/l10n_es_aeat_mod347.png 2013-12-27 10:08:05 +0000 differ |
2286 | === modified file 'l10n_es_aeat_mod347/mod347.py' (properties changed: -x to +x) | |||
2287 | --- l10n_es_aeat_mod347/mod347.py 2013-11-23 01:47:07 +0000 | |||
2288 | +++ l10n_es_aeat_mod347/mod347.py 2013-12-27 10:08:05 +0000 | |||
2289 | @@ -22,22 +22,28 @@ | |||
2290 | 22 | # | 22 | # |
2291 | 23 | ############################################################################## | 23 | ############################################################################## |
2292 | 24 | 24 | ||
2293 | 25 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | ||
2294 | 26 | 25 | ||
2295 | 26 | from openerp.osv import fields | ||
2296 | 27 | from openerp.osv import orm | ||
2297 | 28 | from openerp.tools.translate import _ | ||
2298 | 27 | import re | 29 | import re |
2303 | 28 | from osv import osv, fields | 30 | |
2304 | 29 | from tools.translate import _ | 31 | |
2305 | 30 | 32 | class account_period(orm.Model): | |
2302 | 31 | class account_period(osv.osv): | ||
2306 | 32 | _inherit = "account.period" | 33 | _inherit = "account.period" |
2307 | 33 | 34 | ||
2308 | 34 | _columns = { | 35 | _columns = { |
2310 | 35 | 'quarter':fields.selection( [('first','First'),('second','Second'),('third','Third'),('fourth','Fourth')], 'Quarter'), | 36 | 'quarter': fields.selection([ |
2311 | 37 | ('first', 'First'), | ||
2312 | 38 | ('second', 'Second'), | ||
2313 | 39 | ('third', 'Third'), | ||
2314 | 40 | ('fourth', 'Fourth') | ||
2315 | 41 | ], 'Quarter'), | ||
2316 | 36 | } | 42 | } |
2317 | 37 | account_period() | 43 | account_period() |
2318 | 38 | 44 | ||
2319 | 39 | 45 | ||
2321 | 40 | class l10n_es_aeat_mod347_report(osv.osv): | 46 | class l10n_es_aeat_mod347_report(orm.Model): |
2322 | 41 | 47 | ||
2323 | 42 | _inherit = "l10n.es.aeat.report" | 48 | _inherit = "l10n.es.aeat.report" |
2324 | 43 | _name = "l10n.es.aeat.mod347.report" | 49 | _name = "l10n.es.aeat.mod347.report" |
2325 | @@ -67,8 +73,9 @@ | |||
2326 | 67 | context = {} | 73 | context = {} |
2327 | 68 | 74 | ||
2328 | 69 | export_obj = self.pool.get("l10n.es.aeat.mod347.export_to_boe") | 75 | export_obj = self.pool.get("l10n.es.aeat.mod347.export_to_boe") |
2331 | 70 | export_obj._export_boe_file(cr, uid, ids, self.browse(cr, uid, ids and ids[0])) | 76 | export_obj._export_boe_file(cr, uid, ids, self.browse(cr, |
2332 | 71 | 77 | uid, | |
2333 | 78 | ids and ids[0])) | ||
2334 | 72 | return True | 79 | return True |
2335 | 73 | 80 | ||
2336 | 74 | def _get_totals(self, cr, uid, ids, name, args, context=None): | 81 | def _get_totals(self, cr, uid, ids, name, args, context=None): |
2337 | @@ -77,17 +84,27 @@ | |||
2338 | 77 | """ | 84 | """ |
2339 | 78 | if context is None: | 85 | if context is None: |
2340 | 79 | context = {} | 86 | context = {} |
2341 | 80 | |||
2342 | 81 | res = {} | 87 | res = {} |
2343 | 82 | |||
2344 | 83 | for report in self.browse(cr, uid, ids, context=context): | 88 | for report in self.browse(cr, uid, ids, context=context): |
2345 | 84 | res[report.id] = { | 89 | res[report.id] = { |
2346 | 85 | 'total_partner_records': len(report.partner_record_ids), | 90 | 'total_partner_records': len(report.partner_record_ids), |
2352 | 86 | 'total_amount' : sum([record.amount for record in report.partner_record_ids]) or 0.0, | 91 | 'total_amount': sum([ |
2353 | 87 | 'total_cash_amount' : sum([record.cash_amount for record in report.partner_record_ids]) or 0.0, | 92 | record.amount for |
2354 | 88 | 'total_real_state_transmissions_amount' : sum([record.real_state_transmissions_amount for record in report.partner_record_ids]) or 0., | 93 | record in |
2355 | 89 | 'total_real_state_records' : len(report.real_state_record_ids), | 94 | report.partner_record_ids]) or 0.0, |
2356 | 90 | 'total_real_state_amount' : sum([record.amount for record in report.real_state_record_ids]) or 0, | 95 | 'total_cash_amount': sum([ |
2357 | 96 | record.cash_amount for | ||
2358 | 97 | record in | ||
2359 | 98 | report.partner_record_ids]) or 0.0, | ||
2360 | 99 | 'total_real_state_transmissions_amount': sum([ | ||
2361 | 100 | record.real_state_transmissions_amount for | ||
2362 | 101 | record in | ||
2363 | 102 | report.partner_record_ids]) or 0., | ||
2364 | 103 | 'total_real_state_amount': sum([ | ||
2365 | 104 | record.amount for | ||
2366 | 105 | record in | ||
2367 | 106 | report.real_state_record_ids]) or 0, | ||
2368 | 107 | 'total_real_state_records': len(report.real_state_record_ids), | ||
2369 | 91 | } | 108 | } |
2370 | 92 | 109 | ||
2371 | 93 | return res | 110 | return res |
2372 | @@ -95,57 +112,98 @@ | |||
2373 | 95 | _columns = { | 112 | _columns = { |
2374 | 96 | 'contact_name': fields.char("Full Name", size=40), | 113 | 'contact_name': fields.char("Full Name", size=40), |
2375 | 97 | 'contact_phone': fields.char("Phone", size=9), | 114 | 'contact_phone': fields.char("Phone", size=9), |
2394 | 98 | 'group_by_cif': fields.boolean('Group by cif', states={'done':[('readonly',True)]}), | 115 | 'group_by_cif': fields.boolean('Group by cif'), |
2395 | 99 | 116 | 'only_supplier': fields.boolean('Only Suppliers'), | |
2396 | 100 | ## | 117 | 'operations_limit': fields.float('Invoiced Limit (1)', |
2397 | 101 | ## Limits | 118 | digits=(13, 2), |
2398 | 102 | 'operations_limit': fields.float('Invoiced Limit (1)', digits=(13,2), help="The declaration will include partners with the total of operations over this limit"), | 119 | help="The declaration will include "\ |
2399 | 103 | 'received_cash_limit': fields.float('Received cash Limit (2)', digits=(13,2), help="The declaration will show the total of cash operations over this limit"), | 120 | "partners with the total of "\ |
2400 | 104 | 'charges_obtp_limit': fields.float('Charges on behalf of third parties Limit (3)', digits=(13,2), help="The declaration will include partners from which we received payments, on behalf of third parties, over this limit"), | 121 | "operations over this limit"), |
2401 | 105 | 122 | 'received_cash_limit': fields.float('Received cash Limit (2)', | |
2402 | 106 | ## | 123 | digits=(13, 2), |
2403 | 107 | ## Totals | 124 | help="The declaration will show" \ |
2404 | 108 | 'total_partner_records': fields.function(_get_totals, string="Partners records", method=True, type='integer', multi="totals_multi"), | 125 | "the total of cash operations"\ |
2405 | 109 | 'total_amount': fields.function(_get_totals, string="Amount", method=True, type='float', multi="totals_multi"), | 126 | " over this limit"), |
2406 | 110 | 'total_cash_amount': fields.function(_get_totals, string="Cash Amount", method=True, type='float', multi="totals_multi"), | 127 | 'charges_obtp_limit': fields.float('Charges on behalf of third parties Limit (3)', |
2407 | 111 | 'total_real_state_transmissions_amount': fields.function(_get_totals, string="Real Estate Transmissions Amount", method=True, type='float', multi="totals_multi"), | 128 | digits=(13, 2), |
2408 | 112 | 'total_real_state_records': fields.function(_get_totals, string="Real estate records", method=True, type='integer', multi="totals_multi"), | 129 | help="The declaration will include"\ |
2409 | 113 | 'total_real_state_amount': fields.function(_get_totals, string="Real Estate Amount", method=True, type='float', multi="totals_multi"), | 130 | " partners from which we received"\ |
2410 | 114 | 131 | " payments, on behalf of third "\ | |
2411 | 115 | } | 132 | "parties, over this limit"), |
2412 | 133 | 'total_partner_records': fields.function(_get_totals, | ||
2413 | 134 | string="Partners records", | ||
2414 | 135 | method=True, | ||
2415 | 136 | type='integer', | ||
2416 | 137 | multi="totals_multi"), | ||
2417 | 138 | 'total_amount': fields.function(_get_totals, | ||
2418 | 139 | string="Amount", | ||
2419 | 140 | method=True, | ||
2420 | 141 | type='float', | ||
2421 | 142 | multi="totals_multi"), | ||
2422 | 143 | 'total_cash_amount': fields.function(_get_totals, | ||
2423 | 144 | string="Cash Amount", | ||
2424 | 145 | method=True, | ||
2425 | 146 | type='float', | ||
2426 | 147 | multi="totals_multi"), | ||
2427 | 148 | 'total_real_state_transmissions_amount': fields.function(_get_totals, | ||
2428 | 149 | string="Real State Transmissions Amount", | ||
2429 | 150 | method=True, | ||
2430 | 151 | type='float', | ||
2431 | 152 | multi="totals_multi"), | ||
2432 | 153 | 'total_real_state_records': fields.function(_get_totals, | ||
2433 | 154 | string="Real state records", | ||
2434 | 155 | method=True, | ||
2435 | 156 | type='integer', | ||
2436 | 157 | multi="totals_multi"), | ||
2437 | 158 | 'total_real_state_amount': fields.function(_get_totals, | ||
2438 | 159 | string="Real State Amount", | ||
2439 | 160 | method=True, | ||
2440 | 161 | type='float', | ||
2441 | 162 | multi="totals_multi"), | ||
2442 | 163 | } | ||
2443 | 164 | |||
2444 | 116 | _defaults = { | 165 | _defaults = { |
2454 | 117 | ## | 166 | ## Default limits |
2455 | 118 | ## Default limits | 167 | 'operations_limit': lambda *args: 3005.06, |
2456 | 119 | 'operations_limit': lambda *args: 3005.06, | 168 | 'charges_obtp_limit': lambda *args: 300.51, |
2457 | 120 | 'charges_obtp_limit': lambda *args: 300.51, | 169 | 'received_cash_limit': lambda *args: 6000.00, |
2458 | 121 | 'received_cash_limit': lambda *args: 6000.00, | 170 | ## AEAT brings number (previous number), so take default value as 349 (need to be changed) |
2459 | 122 | 171 | 'number': lambda *a: '347' | |
2451 | 123 | ## | ||
2452 | 124 | ## AEAT brings number (previous number), so take defautl value as 349 (need to be changed) | ||
2453 | 125 | 'number' : lambda *a: '347' | ||
2460 | 126 | } | 172 | } |
2461 | 127 | 173 | ||
2462 | 128 | def _check_report_lines(self, cr, uid, ids, context=None): | 174 | def _check_report_lines(self, cr, uid, ids, context=None): |
2463 | 129 | """checks report lines""" | 175 | """checks report lines""" |
2465 | 130 | if context is None: context = {} | 176 | if context is None: |
2466 | 177 | context = {} | ||
2467 | 131 | 178 | ||
2468 | 132 | for item in self.browse(cr, uid, ids, context): | 179 | for item in self.browse(cr, uid, ids, context): |
2469 | 133 | ## Browse partner record lines to check if all are correct (all fields filled) | 180 | ## Browse partner record lines to check if all are correct (all fields filled) |
2470 | 134 | for partner_record in item.partner_record_ids: | 181 | for partner_record in item.partner_record_ids: |
2471 | 135 | if not partner_record.partner_state_code: | 182 | if not partner_record.partner_state_code: |
2473 | 136 | raise osv.except_osv(_('Error!'), _("All partner state code field must be filled.\nPartner: %s (%s)") % ( partner_record.partner_id.name, partner_record.partner_id.id ) ) | 183 | raise orm.except_orm( |
2474 | 184 | _('Error!'), | ||
2475 | 185 | _("All partner state code field must be filled.\nPartner: %s (%s)") % | ||
2476 | 186 | (partner_record.partner_id.name, | ||
2477 | 187 | partner_record.partner_id.id)) | ||
2478 | 137 | if not partner_record.partner_vat: | 188 | if not partner_record.partner_vat: |
2480 | 138 | raise osv.except_osv(_('Error!'), _("All partner vat number field must be filled.\nPartner: %s (%s)") % ( partner_record.partner_id.name, partner_record.partner_id.id ) ) | 189 | raise orm.except_orm( |
2481 | 190 | _('Error!'), | ||
2482 | 191 | _("All partner vat number field must be filled.\nPartner: %s (%s)") % | ||
2483 | 192 | (partner_record.partner_id.name, | ||
2484 | 193 | partner_record.partner_id.id)) | ||
2485 | 139 | 194 | ||
2486 | 140 | for real_state_record in item.real_state_record_ids: | 195 | for real_state_record in item.real_state_record_ids: |
2487 | 141 | if not real_state_record.state_code: | 196 | if not real_state_record.state_code: |
2489 | 142 | raise osv.except_osv(_('Error!'), _("All real estate records state code field must be filled.")) | 197 | raise orm.except_orm( |
2490 | 198 | _('Error!'), | ||
2491 | 199 | _("All real state records state code field must be filled.")) | ||
2492 | 143 | 200 | ||
2493 | 144 | return True | 201 | return True |
2494 | 145 | 202 | ||
2495 | 146 | def check_report(self, cr, uid, ids, context=None): | 203 | def check_report(self, cr, uid, ids, context=None): |
2496 | 147 | """Different check out in report""" | 204 | """Different check out in report""" |
2498 | 148 | if context is None: context = {} | 205 | if context is None: |
2499 | 206 | context = {} | ||
2500 | 149 | 207 | ||
2501 | 150 | self._check_report_lines(cr, uid, ids, context) | 208 | self._check_report_lines(cr, uid, ids, context) |
2502 | 151 | 209 | ||
2503 | @@ -153,7 +211,8 @@ | |||
2504 | 153 | 211 | ||
2505 | 154 | def action_confirm(self, cr, uid, ids, context=None): | 212 | def action_confirm(self, cr, uid, ids, context=None): |
2506 | 155 | """set to done the report and check its records""" | 213 | """set to done the report and check its records""" |
2508 | 156 | if context is None: context = {} | 214 | if context is None: |
2509 | 215 | context = {} | ||
2510 | 157 | 216 | ||
2511 | 158 | self.check_report(cr, uid, ids, context) | 217 | self.check_report(cr, uid, ids, context) |
2512 | 159 | self.write(cr, uid, ids, {'state': 'done'}) | 218 | self.write(cr, uid, ids, {'state': 'done'}) |
2513 | @@ -163,7 +222,7 @@ | |||
2514 | 163 | l10n_es_aeat_mod347_report() | 222 | l10n_es_aeat_mod347_report() |
2515 | 164 | 223 | ||
2516 | 165 | 224 | ||
2518 | 166 | class l10n_es_aeat_mod347_partner_record(osv.osv): | 225 | class l10n_es_aeat_mod347_partner_record(orm.Model): |
2519 | 167 | """ | 226 | """ |
2520 | 168 | Represents a partner record for the 347 model. | 227 | Represents a partner record for the 347 model. |
2521 | 169 | """ | 228 | """ |
2522 | @@ -171,22 +230,21 @@ | |||
2523 | 171 | _description = 'Partner Record' | 230 | _description = 'Partner Record' |
2524 | 172 | _rec_name = "partner_vat" | 231 | _rec_name = "partner_vat" |
2525 | 173 | 232 | ||
2528 | 174 | def _get_quarter_totals(self, cr, uid, ids, field_name, arg, context = None): | 233 | def _get_quarter_totals(self, cr, uid, ids, field_name, arg, context=None): |
2529 | 175 | 234 | ||
2530 | 176 | if context is None: | 235 | if context is None: |
2533 | 177 | context={} | 236 | context = {} |
2532 | 178 | |||
2534 | 179 | result = {} | 237 | result = {} |
2535 | 180 | for record in self.browse(cr, uid, ids, context): | 238 | for record in self.browse(cr, uid, ids, context): |
2539 | 181 | result[record.id] ={ | 239 | result[record.id] = { |
2540 | 182 | 'first_quarter':0, | 240 | 'first_quarter': 0, |
2541 | 183 | 'first_quarter_real_state_transmission_amount':0, | 241 | 'first_quarter_real_state_transmission_amount': 0, |
2542 | 184 | 'second_quarter': 0, | 242 | 'second_quarter': 0, |
2544 | 185 | 'second_quarter_real_state_transmission_amount':0, | 243 | 'second_quarter_real_state_transmission_amount': 0, |
2545 | 186 | 'third_quarter': 0, | 244 | 'third_quarter': 0, |
2547 | 187 | 'third_quarter_real_state_transmission_amount':0, | 245 | 'third_quarter_real_state_transmission_amount': 0, |
2548 | 188 | 'fourth_quarter': 0, | 246 | 'fourth_quarter': 0, |
2550 | 189 | 'fourth_quarter_real_state_transmission_amount':0, | 247 | 'fourth_quarter_real_state_transmission_amount': 0, |
2551 | 190 | } | 248 | } |
2552 | 191 | for invoice in record.invoice_record_ids: | 249 | for invoice in record.invoice_record_ids: |
2553 | 192 | if invoice.invoice_id.period_id.quarter == 'first': | 250 | if invoice.invoice_id.period_id.quarter == 'first': |
2554 | @@ -198,19 +256,20 @@ | |||
2555 | 198 | elif invoice.invoice_id.period_id.quarter == 'fourth': | 256 | elif invoice.invoice_id.period_id.quarter == 'fourth': |
2556 | 199 | result[record.id]['fourth_quarter'] += invoice.amount | 257 | result[record.id]['fourth_quarter'] += invoice.amount |
2557 | 200 | 258 | ||
2559 | 201 | return result | 259 | return result |
2560 | 202 | 260 | ||
2562 | 203 | def _get_lines( self, cr, uid, ids, context ): | 261 | def _get_lines(self, cr, uid, ids, context): |
2563 | 204 | invoice_record_obj = self.pool.get('l10n.es.aeat.mod347.invoice_record') | 262 | invoice_record_obj = self.pool.get('l10n.es.aeat.mod347.invoice_record') |
2566 | 205 | 263 | res = [] | |
2565 | 206 | res = [] | ||
2567 | 207 | for invoice_record in invoice_record_obj.browse(cr, uid, ids, context): | 264 | for invoice_record in invoice_record_obj.browse(cr, uid, ids, context): |
2569 | 208 | res.append( invoice_record.partner_record_id.id ) | 265 | res.append(invoice_record.partner_record_id.id) |
2570 | 209 | return list(set(res)) | 266 | return list(set(res)) |
2573 | 210 | 267 | ||
2572 | 211 | |||
2574 | 212 | _columns = { | 268 | _columns = { |
2576 | 213 | 'report_id': fields.many2one('l10n.es.aeat.mod347.report', 'AEAT 347 Report', ondelete="cascade", select=1), | 269 | 'report_id': fields.many2one('l10n.es.aeat.mod347.report', |
2577 | 270 | 'AEAT 347 Report', | ||
2578 | 271 | ondelete="cascade", | ||
2579 | 272 | select=1), | ||
2580 | 214 | 'operation_key': fields.selection([ | 273 | 'operation_key': fields.selection([ |
2581 | 215 | ('A', u'A - Adquisiciones de bienes y servicios superiores al límite (1)'), | 274 | ('A', u'A - Adquisiciones de bienes y servicios superiores al límite (1)'), |
2582 | 216 | ('B', u'B - Entregas de bienes y servicios superiores al límite (1)'), | 275 | ('B', u'B - Entregas de bienes y servicios superiores al límite (1)'), |
2583 | @@ -222,55 +281,85 @@ | |||
2584 | 222 | ], 'Operation Key'), | 281 | ], 'Operation Key'), |
2585 | 223 | 'partner_id': fields.many2one('res.partner', 'Partner', required=True), | 282 | 'partner_id': fields.many2one('res.partner', 'Partner', required=True), |
2586 | 224 | 'partner_vat': fields.char('VAT number', size=9), | 283 | 'partner_vat': fields.char('VAT number', size=9), |
2588 | 225 | 'representative_vat': fields.char('L.R. VAT number', size=9, help="Legal Representative VAT number"), | 284 | 'representative_vat': fields.char('L.R. VAT number', size=9, |
2589 | 285 | help="Legal Representative VAT number"), | ||
2590 | 226 | 'partner_country_code': fields.char('Country Code', size=2), | 286 | 'partner_country_code': fields.char('Country Code', size=2), |
2628 | 227 | 'partner_state_code': fields.char('State Code', size=2), | 287 | 'partner_state_code': fields.char('State Code', size=2), |
2629 | 228 | 'first_quarter': fields.function(_get_quarter_totals, string="First Quarter", | 288 | 'first_quarter': fields.function(_get_quarter_totals, |
2630 | 229 | method=True, type='float', multi="quarter_multi",digits=(13,2), | 289 | string="First Quarter", |
2631 | 230 | store= { | 290 | method=True, type='float', |
2632 | 231 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 291 | multi="quarter_multi", digits=(13, 2), |
2633 | 232 | }), | 292 | store={ |
2634 | 233 | 'first_quarter_real_state_transmission_amount':fields.function(_get_quarter_totals, string="First Quarter Real Estate Transmission Amount", | 293 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) |
2635 | 234 | method=True, type='float', multi="quarter_multi" ,digits=(13,2), | 294 | }), |
2636 | 235 | store= { | 295 | 'first_quarter_real_state_transmission_amount': fields.function(_get_quarter_totals, |
2637 | 236 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 296 | string="First Quarter Real State Transmission Amount", |
2638 | 237 | } | 297 | method=True, type='float', |
2639 | 238 | ), | 298 | multi="quarter_multi", digits=(13, 2), |
2640 | 239 | 'second_quarter': fields.function(_get_quarter_totals, string="Second Quarter", method=True, | 299 | store={ |
2641 | 240 | type='float', multi="quarter_multi", digits=(13,2), | 300 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) |
2642 | 241 | store= { | 301 | }), |
2643 | 242 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 302 | 'second_quarter': fields.function(_get_quarter_totals, |
2644 | 243 | }), | 303 | string="Second Quarter", |
2645 | 244 | 'second_quarter_real_state_transmission_amount':fields.function(_get_quarter_totals, string="Second Quarter Real Estate Transmission Amount", | 304 | method=True, type='float', |
2646 | 245 | method=True, type='float', multi="quarter_multi",digits=(13,2), store= { | 305 | multi="quarter_multi", digits=(13, 2), |
2647 | 246 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 306 | store={ |
2648 | 247 | }), | 307 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) |
2649 | 248 | 'third_quarter': fields.function(_get_quarter_totals, string="Third Quarter", method=True, type='float', | 308 | }), |
2650 | 249 | multi="quarter_multi",digits=(13,2), store= { | 309 | 'second_quarter_real_state_transmission_amount': fields.function(_get_quarter_totals, |
2651 | 250 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 310 | string="Second Quarter Real State Transmission Amount", |
2652 | 251 | }), | 311 | method=True, type='float', multi="quarter_multi", digits=(13, 2), |
2653 | 252 | 'third_quarter_real_state_transmission_amount':fields.function(_get_quarter_totals, string="Third Quarter Real Estate Transmission Amount", | 312 | store={ |
2654 | 253 | method=True, type='float', multi="quarter_multi",digits=(13,2), store= { | 313 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) |
2655 | 254 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 314 | }), |
2656 | 255 | } ), | 315 | 'third_quarter': fields.function(_get_quarter_totals, |
2657 | 256 | 'fourth_quarter': fields.function(_get_quarter_totals, string="Fourth Quarter", | 316 | string="Third Quarter", |
2658 | 257 | method=True, type='float', multi="quarter_multi",digits=(13,2), store= { | 317 | method=True, type='float', |
2659 | 258 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 318 | multi="quarter_multi", digits=(13, 2), |
2660 | 259 | }), | 319 | store={ |
2661 | 260 | 'fourth_quarter_real_state_transmission_amount':fields.function(_get_quarter_totals, string="Fourth Quarter Real Estate Transmossion Amount", | 320 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) |
2662 | 261 | method=True, type='float', multi="quarter_multi",digits=(13,2), store= { | 321 | }), |
2663 | 262 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'] , 10 ) | 322 | 'third_quarter_real_state_transmission_amount': fields.function(_get_quarter_totals, |
2664 | 263 | }), | 323 | string="Third Quarter Real State Transmission Amount", |
2665 | 324 | method=True, type='float', | ||
2666 | 325 | multi="quarter_multi", digits=(13, 2), | ||
2667 | 326 | store={ | ||
2668 | 327 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) | ||
2669 | 328 | }), | ||
2670 | 329 | 'fourth_quarter': fields.function(_get_quarter_totals, | ||
2671 | 330 | string="Fourth Quarter", | ||
2672 | 331 | method=True, type='float', | ||
2673 | 332 | multi="quarter_multi", digits=(13, 2), | ||
2674 | 333 | store={ | ||
2675 | 334 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) | ||
2676 | 335 | }), | ||
2677 | 336 | 'fourth_quarter_real_state_transmission_amount': fields.function(_get_quarter_totals, | ||
2678 | 337 | string="Fourth Quarter Real State Transmossion Amount", | ||
2679 | 338 | method=True, type='float', | ||
2680 | 339 | multi="quarter_multi", digits=(13, 2), | ||
2681 | 340 | store={ | ||
2682 | 341 | 'l10n.es.aeat.mod347.invoice_record': (_get_lines, ['amount'], 10) | ||
2683 | 342 | }), | ||
2684 | 264 | 'amount': fields.float('Operations amount', digits=(13,2)), | 343 | 'amount': fields.float('Operations amount', digits=(13,2)), |
2685 | 265 | 'cash_amount': fields.float('Received cash amount', digits=(13,2)), | 344 | 'cash_amount': fields.float('Received cash amount', digits=(13,2)), |
2694 | 266 | 'real_state_transmissions_amount': fields.float('Real Estate Transmisions amount', digits=(13,2)), | 345 | 'real_state_transmissions_amount': fields.float('Real State Transmisions amount', |
2695 | 267 | 346 | digits=(13, 2)), | |
2696 | 268 | 'insurance_operation': fields.boolean('Insurance Operation', help="Only for insurance companies. Set to identify insurance operations aside from the rest."), | 347 | |
2697 | 269 | 'bussiness_real_state_rent': fields.boolean('Bussiness Real Estate Rent', help="Set to identify real estate rent operations aside from the rest. You'll need to fill in the real estate info only when you are the one that receives the money."), | 348 | 'insurance_operation': fields.boolean('Insurance Operation', |
2698 | 270 | 'origin_fiscalyear_id': fields.many2one('account.fiscalyear', 'Origin fiscal year', help="Origin cash operation fiscal year"), | 349 | help="Only for insurance companies. Set to identify"\ |
2699 | 271 | 'invoice_record_ids': fields.one2many('l10n.es.aeat.mod347.invoice_record', 'partner_record_id', 'Invoice records', | 350 | " insurance operations aside from the rest."), |
2700 | 272 | states = {'done': [('readonly', True)]}), | 351 | 'bussiness_real_state_rent': fields.boolean('Bussiness Real State Rent', |
2701 | 273 | 352 | help="Set to identify real state rent operations"\ | |
2702 | 353 | " aside from the rest. You'll need to fill"\ | ||
2703 | 354 | " in the real state info only when you are"\ | ||
2704 | 355 | " the one that receives the money."), | ||
2705 | 356 | 'origin_fiscalyear_id': fields.many2one('account.fiscalyear', | ||
2706 | 357 | 'Origin fiscal year', | ||
2707 | 358 | help="Origin cash operation fiscal year"), | ||
2708 | 359 | 'invoice_record_ids': fields.one2many('l10n.es.aeat.mod347.invoice_record', | ||
2709 | 360 | 'partner_record_id', | ||
2710 | 361 | 'Invoice records'), | ||
2711 | 362 | |||
2712 | 274 | } | 363 | } |
2713 | 275 | _defaults = { | 364 | _defaults = { |
2714 | 276 | 'report_id': lambda self, cr, uid, context: context.get('report_id', None), | 365 | 'report_id': lambda self, cr, uid, context: context.get('report_id', None), |
2715 | @@ -278,25 +367,32 @@ | |||
2716 | 278 | 367 | ||
2717 | 279 | def on_change_partner_id(self, cr, uid, ids, partner_id): | 368 | def on_change_partner_id(self, cr, uid, ids, partner_id): |
2718 | 280 | """ | 369 | """ |
2720 | 281 | Loads some partner data (country and vat) when the selected partner changes. | 370 | Loads some partner data (country and vat) |
2721 | 371 | when the selected partner changes. | ||
2722 | 282 | """ | 372 | """ |
2723 | 283 | partner_vat = '' | 373 | partner_vat = '' |
2724 | 284 | partner_country_code = '' | 374 | partner_country_code = '' |
2725 | 285 | partner_state_code = '' | 375 | partner_state_code = '' |
2726 | 286 | if partner_id: | 376 | if partner_id: |
2727 | 287 | partner = self.pool.get('res.partner').browse(cr, uid, partner_id) | 377 | partner = self.pool.get('res.partner').browse(cr, uid, partner_id) |
2728 | 288 | |||
2729 | 289 | # | ||
2730 | 290 | # Get the default invoice address of the partner | 378 | # Get the default invoice address of the partner |
2731 | 291 | # | ||
2732 | 292 | address = None | 379 | address = None |
2734 | 293 | address_ids = self.pool.get('res.partner').address_get(cr, uid, [partner.id], ['invoice', 'default']) | 380 | address_ids = self.pool.get('res.partner').address_get(cr, |
2735 | 381 | uid, | ||
2736 | 382 | [partner.id], | ||
2737 | 383 | ['invoice', 'default']) | ||
2738 | 294 | if address_ids.get('invoice'): | 384 | if address_ids.get('invoice'): |
2740 | 295 | address = self.pool.get('res.partner.address').browse(cr, uid, address_ids.get('invoice')) | 385 | address = self.pool.get('res.partner.address').browse(cr, |
2741 | 386 | uid, | ||
2742 | 387 | address_ids.get('invoice')) | ||
2743 | 296 | elif address_ids.get('default'): | 388 | elif address_ids.get('default'): |
2745 | 297 | address = self.pool.get('res.partner.address').browse(cr, uid, address_ids.get('default')) | 389 | address = self.pool.get('res.partner.address').browse( |
2746 | 390 | cr, | ||
2747 | 391 | uid, | ||
2748 | 392 | address_ids.get('default')) | ||
2749 | 298 | 393 | ||
2751 | 299 | partner_vat = partner.vat and re.match("(ES){0,1}(.*)", partner.vat).groups()[1] | 394 | partner_vat = partner.vat and re.match("(ES){0,1}(.*)", |
2752 | 395 | partner.vat).groups()[1] | ||
2753 | 300 | partner_state_code = address.state_id and address.state_id.code or '' | 396 | partner_state_code = address.state_id and address.state_id.code or '' |
2754 | 301 | partner_country_code = address.country_id and address.country_id.code or '' | 397 | partner_country_code = address.country_id and address.country_id.code or '' |
2755 | 302 | 398 | ||
2756 | @@ -310,40 +406,43 @@ | |||
2757 | 310 | l10n_es_aeat_mod347_partner_record() | 406 | l10n_es_aeat_mod347_partner_record() |
2758 | 311 | 407 | ||
2759 | 312 | 408 | ||
2761 | 313 | class l10n_es_aeat_mod347_report_add_partner_records(osv.osv): | 409 | class l10n_es_aeat_mod347_report_add_partner_records(orm.Model): |
2762 | 314 | """ | 410 | """ |
2763 | 315 | Extends the report to add the partner records | 411 | Extends the report to add the partner records |
2764 | 316 | """ | 412 | """ |
2765 | 317 | _inherit = 'l10n.es.aeat.mod347.report' | 413 | _inherit = 'l10n.es.aeat.mod347.report' |
2766 | 318 | _columns = { | 414 | _columns = { |
2769 | 319 | 'partner_record_ids': fields.one2many('l10n.es.aeat.mod347.partner_record', 'report_id', 'Partner Records', | 415 | 'partner_record_ids': fields.one2many('l10n.es.aeat.mod347.partner_record', |
2770 | 320 | states = {'done': [('readonly', True)]}), | 416 | 'report_id', 'Partner Records'), |
2771 | 321 | } | 417 | } |
2772 | 322 | l10n_es_aeat_mod347_report_add_partner_records() | 418 | l10n_es_aeat_mod347_report_add_partner_records() |
2773 | 323 | 419 | ||
2774 | 324 | 420 | ||
2776 | 325 | class l10n_es_aeat_mod347_real_state_record(osv.osv): | 421 | class l10n_es_aeat_mod347_real_state_record(orm.Model): |
2777 | 326 | """ | 422 | """ |
2779 | 327 | Represents a real estate record for the 347 model. | 423 | Represents a real state record for the 347 model. |
2780 | 328 | """ | 424 | """ |
2781 | 329 | _name = 'l10n.es.aeat.mod347.real_state_record' | 425 | _name = 'l10n.es.aeat.mod347.real_state_record' |
2783 | 330 | _description = 'Real Estate Record' | 426 | _description = 'Real State Record' |
2784 | 331 | _rec_name = "reference" | 427 | _rec_name = "reference" |
2785 | 332 | 428 | ||
2786 | 333 | _columns = { | 429 | _columns = { |
2788 | 334 | 'report_id': fields.many2one('l10n.es.aeat.mod347.report', 'AEAT 347 Report', ondelete="cascade", select=1), | 430 | 'report_id': fields.many2one('l10n.es.aeat.mod347.report', |
2789 | 431 | 'AEAT 347 Report', ondelete="cascade", | ||
2790 | 432 | select=1), | ||
2791 | 335 | 433 | ||
2792 | 336 | 'partner_id': fields.many2one('res.partner', 'Partner', required=True), | 434 | 'partner_id': fields.many2one('res.partner', 'Partner', required=True), |
2793 | 337 | 'partner_vat': fields.char('VAT number', size=32), | 435 | 'partner_vat': fields.char('VAT number', size=32), |
2795 | 338 | 'representative_vat': fields.char('L.R. VAT number', size=32, help="Legal Representative VAT number"), | 436 | 'representative_vat': fields.char('L.R. VAT number', size=32, |
2796 | 437 | help="Legal Representative VAT number"), | ||
2797 | 339 | 438 | ||
2799 | 340 | 'amount': fields.float('Amount', digits=(13,2)), | 439 | 'amount': fields.float('Amount', digits=(13, 2)), |
2800 | 341 | 'situation': fields.selection([ | 440 | 'situation': fields.selection([ |
2801 | 342 | ('1', '1 - Spain but Basque Country and Navarra'), | 441 | ('1', '1 - Spain but Basque Country and Navarra'), |
2802 | 343 | ('2', '2 - Basque Country and Navarra'), | 442 | ('2', '2 - Basque Country and Navarra'), |
2803 | 344 | ('3', '3 - Spain, without catastral reference'), | 443 | ('3', '3 - Spain, without catastral reference'), |
2804 | 345 | ('4', '4 - Foreign'), | 444 | ('4', '4 - Foreign'), |
2806 | 346 | ], 'Real estate Situation'), | 445 | ], 'Real state Situation'), |
2807 | 347 | 'reference': fields.char('Catastral Reference', size=25), | 446 | 'reference': fields.char('Catastral Reference', size=25), |
2808 | 348 | # 'address_id': fields.many2one('res.partner.address', 'Address'), | 447 | # 'address_id': fields.many2one('res.partner.address', 'Address'), |
2809 | 349 | 'address_type': fields.char('Address type', size=5), | 448 | 'address_type': fields.char('Address type', size=5), |
2810 | @@ -365,7 +464,8 @@ | |||
2811 | 365 | 'stairway': fields.char('Stairway', size=3), | 464 | 'stairway': fields.char('Stairway', size=3), |
2812 | 366 | 'floor': fields.char('Floor', size=3), | 465 | 'floor': fields.char('Floor', size=3), |
2813 | 367 | 'door': fields.char('Door', size=3), | 466 | 'door': fields.char('Door', size=3), |
2815 | 368 | 'complement': fields.char('Complement', size=40, help="Complement (urbanization, industrial park...)"), | 467 | 'complement': fields.char('Complement', size=40, |
2816 | 468 | help="Complement (urbanization, industrial park...)"), | ||
2817 | 369 | 'city': fields.char('City', size=30), | 469 | 'city': fields.char('City', size=30), |
2818 | 370 | 'township': fields.char('Township', size=30), | 470 | 'township': fields.char('Township', size=30), |
2819 | 371 | 'township_code': fields.char('Township Code', size=5), | 471 | 'township_code': fields.char('Township Code', size=5), |
2820 | @@ -373,51 +473,55 @@ | |||
2821 | 373 | 'postal_code': fields.char('Postal code', size=5), | 473 | 'postal_code': fields.char('Postal code', size=5), |
2822 | 374 | } | 474 | } |
2823 | 375 | _defaults = { | 475 | _defaults = { |
2828 | 376 | 'report_id': lambda self, cr, uid, context: context.get('report_id', None), | 476 | 'report_id': lambda self, cr, uid, context: context.get('report_id', |
2829 | 377 | 'partner_id': lambda self, cr, uid, context: context.get('partner_id', None), | 477 | None), |
2830 | 378 | 'partner_vat': lambda self, cr, uid, context: context.get('partner_vat', None), | 478 | 'partner_id': lambda self, cr, uid, context: context.get('partner_id', |
2831 | 379 | 'representative_vat': lambda self, cr, uid, context: context.get('representative_vat', None), | 479 | None), |
2832 | 480 | 'partner_vat': lambda self, cr, uid, context: context.get('partner_vat', | ||
2833 | 481 | None), | ||
2834 | 482 | 'representative_vat': lambda self, cr, uid, context: context.get('representative_vat', | ||
2835 | 483 | None), | ||
2836 | 380 | } | 484 | } |
2837 | 381 | 485 | ||
2838 | 382 | def on_change_partner_id(self, cr, uid, ids, partner_id): | 486 | def on_change_partner_id(self, cr, uid, ids, partner_id): |
2839 | 383 | """ | 487 | """ |
2841 | 384 | Loads some partner data (country and vat) when the selected partner changes. | 488 | Loads some partner data (country and vat) |
2842 | 489 | when the selected partner changes. | ||
2843 | 385 | """ | 490 | """ |
2844 | 386 | partner_vat = '' | 491 | partner_vat = '' |
2845 | 387 | if partner_id: | 492 | if partner_id: |
2846 | 388 | partner = self.pool.get('res.partner').browse(cr, uid, partner_id) | 493 | partner = self.pool.get('res.partner').browse(cr, uid, partner_id) |
2848 | 389 | partner_vat = partner.vat and re.match("(ES){0,1}(.*)", partner.vat).groups()[1] | 494 | partner_vat = partner.vat and re.match("(ES){0,1}(.*)", |
2849 | 495 | partner.vat).groups()[1] | ||
2850 | 390 | 496 | ||
2851 | 391 | return { | 497 | return { |
2854 | 392 | 'value': { | 498 | 'value': {'partner_vat': partner_vat} |
2853 | 393 | 'partner_vat': partner_vat | ||
2855 | 394 | } | 499 | } |
2856 | 395 | } | ||
2857 | 396 | l10n_es_aeat_mod347_real_state_record() | 500 | l10n_es_aeat_mod347_real_state_record() |
2858 | 397 | 501 | ||
2859 | 398 | 502 | ||
2861 | 399 | class l10n_es_aeat_mod347_report_add_real_state_records(osv.osv): | 503 | class l10n_es_aeat_mod347_report_add_real_state_records(orm.Model): |
2862 | 400 | """ | 504 | """ |
2864 | 401 | Extends the report to add the real estate records. | 505 | Extends the report to add the real state records. |
2865 | 402 | """ | 506 | """ |
2866 | 403 | _inherit = 'l10n.es.aeat.mod347.report' | 507 | _inherit = 'l10n.es.aeat.mod347.report' |
2867 | 404 | _columns = { | 508 | _columns = { |
2870 | 405 | 'real_state_record_ids': fields.one2many('l10n.es.aeat.mod347.real_state_record', 'report_id', 'Real Estate Records', | 509 | 'real_state_record_ids': fields.one2many('l10n.es.aeat.mod347.real_state_record', |
2871 | 406 | states = {'done': [('readonly', True)]}), | 510 | 'report_id', 'Real State Records'), |
2872 | 407 | } | 511 | } |
2873 | 408 | l10n_es_aeat_mod347_report_add_real_state_records() | 512 | l10n_es_aeat_mod347_report_add_real_state_records() |
2874 | 409 | 513 | ||
2875 | 410 | 514 | ||
2877 | 411 | class l10n_es_aeat_mod347_partner_record_add_real_state_records(osv.osv): | 515 | class l10n_es_aeat_mod347_partner_record_add_real_state_records(orm.Model): |
2878 | 412 | """ | 516 | """ |
2880 | 413 | Extends the partner_records to add the real estate records. | 517 | Extends the partner_records to add the real state records. |
2881 | 414 | """ | 518 | """ |
2882 | 415 | _inherit = 'l10n.es.aeat.mod347.partner_record' | 519 | _inherit = 'l10n.es.aeat.mod347.partner_record' |
2883 | 416 | 520 | ||
2884 | 417 | |||
2885 | 418 | def _get_real_state_record_ids(self, cr, uid, ids, field_name, args, context=None): | 521 | def _get_real_state_record_ids(self, cr, uid, ids, field_name, args, context=None): |
2886 | 419 | """ | 522 | """ |
2888 | 420 | Get the real estate records from this record parent report for this partner. | 523 | Get the real state records from this record |
2889 | 524 | parent report for this partner. | ||
2890 | 421 | """ | 525 | """ |
2891 | 422 | if context is None: | 526 | if context is None: |
2892 | 423 | context = {} | 527 | context = {} |
2893 | @@ -429,12 +533,14 @@ | |||
2894 | 429 | res[partner_record.id] = real_state_record_obj.search(cr, uid, [ | 533 | res[partner_record.id] = real_state_record_obj.search(cr, uid, [ |
2895 | 430 | ('report_id', '=', partner_record.report_id.id), | 534 | ('report_id', '=', partner_record.report_id.id), |
2896 | 431 | ('partner_id', '=', partner_record.partner_id.id), | 535 | ('partner_id', '=', partner_record.partner_id.id), |
2898 | 432 | ]) | 536 | ]) |
2899 | 433 | return res | 537 | return res |
2900 | 434 | 538 | ||
2902 | 435 | def _set_real_state_record_ids(self, cr, uid, id, field_name, values, args=None, context=None): | 539 | def _set_real_state_record_ids(self, cr, uid, field_name, values, |
2903 | 540 | args=None, context=None): | ||
2904 | 436 | """ | 541 | """ |
2906 | 437 | Set the real estate records from this record parent report for this partner. | 542 | Set the real state records from this record |
2907 | 543 | parent report for this partner. | ||
2908 | 438 | """ | 544 | """ |
2909 | 439 | if context is None: | 545 | if context is None: |
2910 | 440 | context = {} | 546 | context = {} |
2911 | @@ -454,12 +560,12 @@ | |||
2912 | 454 | 'real_state_record_ids': fields.function(_get_real_state_record_ids, | 560 | 'real_state_record_ids': fields.function(_get_real_state_record_ids, |
2913 | 455 | fnct_inv=_set_real_state_record_ids, method=True, | 561 | fnct_inv=_set_real_state_record_ids, method=True, |
2914 | 456 | obj="l10n.es.aeat.mod347.real_state_record", | 562 | obj="l10n.es.aeat.mod347.real_state_record", |
2916 | 457 | type="one2many", string='Real Estate Records', store=False), | 563 | type="one2many", string='Real State Records', store=False), |
2917 | 458 | } | 564 | } |
2918 | 459 | l10n_es_aeat_mod347_partner_record_add_real_state_records() | 565 | l10n_es_aeat_mod347_partner_record_add_real_state_records() |
2919 | 460 | 566 | ||
2920 | 461 | 567 | ||
2922 | 462 | class l10n_es_aeat_mod347_invoice_record(osv.osv): | 568 | class l10n_es_aeat_mod347_invoice_record(orm.Model): |
2923 | 463 | """ | 569 | """ |
2924 | 464 | Represents an invoice record. | 570 | Represents an invoice record. |
2925 | 465 | """ | 571 | """ |
2926 | @@ -467,18 +573,24 @@ | |||
2927 | 467 | _description = 'Invoice Record' | 573 | _description = 'Invoice Record' |
2928 | 468 | 574 | ||
2929 | 469 | _columns = { | 575 | _columns = { |
2932 | 470 | 'partner_record_id': fields.many2one('l10n.es.aeat.mod347.partner_record', 'Partner record', required=True, ondelete="cascade", select=1), | 576 | 'partner_record_id': fields.many2one('l10n.es.aeat.mod347.partner_record', |
2933 | 471 | 'invoice_id': fields.many2one('account.invoice', 'Invoice', required=True, ondelete="cascade"), | 577 | 'Partner record', |
2934 | 578 | required=True, ondelete="cascade", | ||
2935 | 579 | select=1), | ||
2936 | 580 | 'invoice_id': fields.many2one('account.invoice', | ||
2937 | 581 | 'Invoice', | ||
2938 | 582 | required=True, ondelete="cascade"), | ||
2939 | 472 | 'date': fields.date('Date'), | 583 | 'date': fields.date('Date'), |
2940 | 473 | 'amount': fields.float('Amount'), | 584 | 'amount': fields.float('Amount'), |
2941 | 474 | } | 585 | } |
2942 | 475 | _defaults = { | 586 | _defaults = { |
2944 | 476 | 'partner_record_id': lambda self, cr, uid, context: context.get('partner_record_id', None), | 587 | 'partner_record_id': lambda self, cr, uid, context: context.get('partner_record_id', |
2945 | 588 | None), | ||
2946 | 477 | } | 589 | } |
2947 | 478 | l10n_es_aeat_mod347_invoice_record() | 590 | l10n_es_aeat_mod347_invoice_record() |
2948 | 479 | 591 | ||
2949 | 480 | 592 | ||
2951 | 481 | class l10n_es_aeat_mod347_cash_record(osv.osv): | 593 | class l10n_es_aeat_mod347_cash_record(orm.Model): |
2952 | 482 | """ | 594 | """ |
2953 | 483 | Represents a payment record. | 595 | Represents a payment record. |
2954 | 484 | """ | 596 | """ |
2955 | @@ -486,28 +598,34 @@ | |||
2956 | 486 | _description = 'Cash Record' | 598 | _description = 'Cash Record' |
2957 | 487 | 599 | ||
2958 | 488 | _columns = { | 600 | _columns = { |
2961 | 489 | 'partner_record_id': fields.many2one('l10n.es.aeat.mod347.partner_record', 'Partner record', required=True , ondelete="cascade", select=1), | 601 | 'partner_record_id': fields.many2one('l10n.es.aeat.mod347.partner_record', |
2962 | 490 | 'move_line_id': fields.many2one('account.move.line', 'Account move line', required=True, ondelete="cascade"), | 602 | 'Partner record', |
2963 | 603 | required=True, | ||
2964 | 604 | ondelete="cascade", select=1), | ||
2965 | 605 | 'move_line_id': fields.many2one('account.move.line', | ||
2966 | 606 | 'Account move line', | ||
2967 | 607 | required=True, ondelete="cascade"), | ||
2968 | 491 | 'date': fields.date('Date'), | 608 | 'date': fields.date('Date'), |
2969 | 492 | 'amount': fields.float('Amount'), | 609 | 'amount': fields.float('Amount'), |
2970 | 493 | } | 610 | } |
2971 | 494 | _defaults = { | 611 | _defaults = { |
2973 | 495 | 'partner_record_id': lambda self, cr, uid, context: context.get('partner_record_id', None), | 612 | 'partner_record_id': lambda self, cr, uid, context: context.get('partner_record_id', |
2974 | 613 | None), | ||
2975 | 496 | } | 614 | } |
2976 | 497 | l10n_es_aeat_mod347_cash_record() | 615 | l10n_es_aeat_mod347_cash_record() |
2977 | 498 | 616 | ||
2978 | 499 | 617 | ||
2980 | 500 | class l10n_es_aeat_mod347_partner_record_add_cash_records(osv.osv): | 618 | class l10n_es_aeat_mod347_partner_record_add_cash_records(orm.Model): |
2981 | 501 | """ | 619 | """ |
2982 | 502 | Extends the partner record to add the detail of invoices | 620 | Extends the partner record to add the detail of invoices |
2983 | 503 | """ | 621 | """ |
2984 | 504 | _inherit = 'l10n.es.aeat.mod347.partner_record' | 622 | _inherit = 'l10n.es.aeat.mod347.partner_record' |
2985 | 505 | 623 | ||
2986 | 506 | _columns = { | 624 | _columns = { |
2989 | 507 | 'cash_record_ids': fields.one2many('l10n.es.aeat.mod347.cash_record', 'partner_record_id', 'Payment records', | 625 | 'cash_record_ids': fields.one2many('l10n.es.aeat.mod347.cash_record', |
2990 | 508 | states = {'done': [('readonly', True)]}), | 626 | 'partner_record_id', |
2991 | 627 | 'Payment records'), | ||
2992 | 509 | } | 628 | } |
2993 | 510 | l10n_es_aeat_mod347_partner_record_add_cash_records() | 629 | l10n_es_aeat_mod347_partner_record_add_cash_records() |
2994 | 511 | 630 | ||
2997 | 512 | 631 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | |
2996 | 513 | |||
2998 | 514 | 632 | ||
2999 | === modified file 'l10n_es_aeat_mod347/mod347_view.xml' (properties changed: -x to +x) | |||
3000 | --- l10n_es_aeat_mod347/mod347_view.xml 2013-11-23 01:47:07 +0000 | |||
3001 | +++ l10n_es_aeat_mod347/mod347_view.xml 2013-12-27 10:08:05 +0000 | |||
3002 | @@ -2,9 +2,9 @@ | |||
3003 | 2 | <openerp> | 2 | <openerp> |
3004 | 3 | <data> | 3 | <data> |
3005 | 4 | 4 | ||
3009 | 5 | <!-- ################################ | 5 | <!-- ########################################## |
3010 | 6 | ### AEAT MODEL 347 PARTNER RECORD ### | 6 | AEAT MODEL 347 PARTNER RECORD |
3011 | 7 | ################################# --> | 7 | ########################################## --> |
3012 | 8 | <!-- Tree view --> | 8 | <!-- Tree view --> |
3013 | 9 | <record model="ir.ui.view" id="view_l10n_es_aeat_mod347_partner_record_tree"> | 9 | <record model="ir.ui.view" id="view_l10n_es_aeat_mod347_partner_record_tree"> |
3014 | 10 | <field name="name">l10n.es.aeat.mod347.partner_record.tree</field> | 10 | <field name="name">l10n.es.aeat.mod347.partner_record.tree</field> |
3015 | @@ -30,66 +30,90 @@ | |||
3016 | 30 | <field name="model">l10n.es.aeat.mod347.partner_record</field> | 30 | <field name="model">l10n.es.aeat.mod347.partner_record</field> |
3017 | 31 | <field name="type">form</field> | 31 | <field name="type">form</field> |
3018 | 32 | <field name="arch" type="xml"> | 32 | <field name="arch" type="xml"> |
3020 | 33 | <form string="Partner Record"> | 33 | <form string="Partner Record" version="7.0"> |
3021 | 34 | <field name="report_id" invisible="1"/> | 34 | <field name="report_id" invisible="1"/> |
3023 | 35 | <notebook colspan="4"> | 35 | <notebook> |
3024 | 36 | <page string="Partner info"> | 36 | <page string="Partner info"> |
3048 | 37 | <group colspan="4"> | 37 | <group> |
3049 | 38 | <field name="partner_id" on_change="on_change_partner_id(partner_id)" required="1" select="1" colspan="4"/> | 38 | <group> |
3050 | 39 | <field name="partner_vat" select="1"/> | 39 | <field name="partner_id" on_change="on_change_partner_id(partner_id)" required="1" select="1"/> |
3051 | 40 | <field name="representative_vat" select="2"/> | 40 | <field name="partner_vat" select="1"/> |
3052 | 41 | <field name="partner_state_code"/> | 41 | <field name="representative_vat" select="2"/> |
3053 | 42 | <field name="partner_country_code"/> | 42 | </group> |
3054 | 43 | <field name="operation_key" select="2" colspan="4"/> | 43 | <group> |
3055 | 44 | </group> | 44 | <field name="partner_state_code"/> |
3056 | 45 | <group colspan="4" col="6"> | 45 | <field name="partner_country_code"/> |
3057 | 46 | <field name="amount"/> | 46 | <field name="operation_key" select="2"/> |
3058 | 47 | <field name="cash_amount"/> | 47 | </group> |
3059 | 48 | <field name="origin_fiscalyear_id"/> | 48 | </group> |
3060 | 49 | <field name="real_state_transmissions_amount" /> | 49 | <group> |
3061 | 50 | </group> | 50 | <group> |
3062 | 51 | <group colspan="4" col="4"> | 51 | <field name="origin_fiscalyear_id"/> |
3063 | 52 | <field name="first_quarter"/> | 52 | <field name="amount"/> |
3064 | 53 | <field name="first_quarter_real_state_transmission_amount"/> | 53 | </group> |
3065 | 54 | <field name="second_quarter"/> | 54 | <group> |
3066 | 55 | <field name="second_quarter_real_state_transmission_amount"/> | 55 | <field name="cash_amount"/> |
3067 | 56 | <field name="third_quarter"/> | 56 | <field name="real_state_transmissions_amount"/> |
3068 | 57 | <field name="third_quarter_real_state_transmission_amount"/> | 57 | </group> |
3069 | 58 | <field name="fourth_quarter"/> | 58 | </group> |
3070 | 59 | <field name="fourth_quarter_real_state_transmission_amount"/> | 59 | <group > |
3071 | 60 | <group> | ||
3072 | 61 | <field name="first_quarter"/> | ||
3073 | 62 | <field name="second_quarter"/> | ||
3074 | 63 | <field name="third_quarter"/> | ||
3075 | 64 | <field name="fourth_quarter"/> | ||
3076 | 65 | </group> | ||
3077 | 66 | <group> | ||
3078 | 67 | <field name="first_quarter_real_state_transmission_amount"/> | ||
3079 | 68 | <field name="second_quarter_real_state_transmission_amount"/> | ||
3080 | 69 | <field name="third_quarter_real_state_transmission_amount"/> | ||
3081 | 70 | <field name="fourth_quarter_real_state_transmission_amount"/> | ||
3082 | 71 | </group> | ||
3083 | 60 | </group> | 72 | </group> |
3084 | 61 | 73 | ||
3088 | 62 | <group colspan="4"> | 74 | <group> |
3089 | 63 | <field name="insurance_operation"/> | 75 | <group> |
3090 | 64 | <field name="bussiness_real_state_rent"/> | 76 | <field name="insurance_operation"/> |
3091 | 77 | </group> | ||
3092 | 78 | <group> | ||
3093 | 79 | <field name="bussiness_real_state_rent"/> | ||
3094 | 80 | </group> | ||
3095 | 65 | </group> | 81 | </group> |
3096 | 66 | </page> | 82 | </page> |
3098 | 67 | <page string="Real estate info" attrs="{'invisible': [('bussiness_real_state_rent','=',False)]}"> | 83 | <page string="Real state info" attrs="{'invisible': [('bussiness_real_state_rent','=',False)]}"> |
3099 | 68 | <field name="real_state_record_ids" nolabel="1" context="{'report_id': report_id, 'partner_id': partner_id, 'partner_vat': partner_vat, 'representative_vat': representative_vat}"/> | 84 | <field name="real_state_record_ids" nolabel="1" context="{'report_id': report_id, 'partner_id': partner_id, 'partner_vat': partner_vat, 'representative_vat': representative_vat}"/> |
3100 | 69 | </page> | 85 | </page> |
3101 | 70 | <page string="Details"> | 86 | <page string="Details"> |
3103 | 71 | <field name="invoice_record_ids" nolabel="1" context="{'partner_record_id': active_id}" readonly="True"> | 87 | <field name="invoice_record_ids" context="{'partner_record_id': active_id}" readonly="True"> |
3104 | 72 | <tree string="Invoice records"> | 88 | <tree string="Invoice records"> |
3105 | 73 | <field name="invoice_id" select="1"/> | 89 | <field name="invoice_id" select="1"/> |
3106 | 74 | <field name="date" select="1"/> | 90 | <field name="date" select="1"/> |
3107 | 75 | <field name="amount" select="1"/> | 91 | <field name="amount" select="1"/> |
3108 | 76 | </tree> | 92 | </tree> |
3113 | 77 | <form string="Invoice record"> | 93 | <form string="Invoice record" version="7.0"> |
3114 | 78 | <field name="invoice_id" select="1" readonly="True"/> | 94 | <group> |
3115 | 79 | <field name="date" select="1" readonly="True"/> | 95 | <field name="invoice_id" select="1" readonly="True"/> |
3116 | 80 | <field name="amount" select="1" readonly="True"/> | 96 | <field name="date" select="1" readonly="True"/> |
3117 | 97 | </group> | ||
3118 | 98 | <group> | ||
3119 | 99 | <field name="amount" select="1" readonly="True"/> | ||
3120 | 100 | </group> | ||
3121 | 81 | </form> | 101 | </form> |
3122 | 82 | </field> | 102 | </field> |
3124 | 83 | <field name="cash_record_ids" nolabel="1" context="{'partner_record_id': active_id}" readonly="True"> | 103 | <field name="cash_record_ids" context="{'partner_record_id': active_id}" readonly="True"> |
3125 | 84 | <tree string="Cash records"> | 104 | <tree string="Cash records"> |
3126 | 85 | <field name="move_line_id" select="1"/> | 105 | <field name="move_line_id" select="1"/> |
3127 | 86 | <field name="date" select="1"/> | 106 | <field name="date" select="1"/> |
3128 | 87 | <field name="amount" select="1"/> | 107 | <field name="amount" select="1"/> |
3129 | 88 | </tree> | 108 | </tree> |
3134 | 89 | <form string="Cash record"> | 109 | <form string="Cash record" version="7.0"> |
3135 | 90 | <field name="move_line_id" select="1" readonly="True"/> | 110 | <group> |
3136 | 91 | <field name="date" select="1" readonly="True"/> | 111 | <field name="move_line_id" select="1" readonly="True"/> |
3137 | 92 | <field name="amount" select="1" readonly="True"/> | 112 | <field name="date" select="1" readonly="True"/> |
3138 | 113 | </group> | ||
3139 | 114 | <group> | ||
3140 | 115 | <field name="amount" select="1" readonly="True"/> | ||
3141 | 116 | </group> | ||
3142 | 93 | </form> | 117 | </form> |
3143 | 94 | </field> | 118 | </field> |
3144 | 95 | </page> | 119 | </page> |
3145 | @@ -109,7 +133,7 @@ | |||
3146 | 109 | <field name="model">l10n.es.aeat.mod347.real_state_record</field> | 133 | <field name="model">l10n.es.aeat.mod347.real_state_record</field> |
3147 | 110 | <field name="type">tree</field> | 134 | <field name="type">tree</field> |
3148 | 111 | <field name="arch" type="xml"> | 135 | <field name="arch" type="xml"> |
3150 | 112 | <tree string="Real Estate Records" colors=""> | 136 | <tree string="Real State Records" colors=""> |
3151 | 113 | <field name="partner_vat" select="1"/> | 137 | <field name="partner_vat" select="1"/> |
3152 | 114 | <field name="partner_id" select="1"/> | 138 | <field name="partner_id" select="1"/> |
3153 | 115 | <field name="reference" select="2"/> | 139 | <field name="reference" select="2"/> |
3154 | @@ -128,47 +152,62 @@ | |||
3155 | 128 | <field name="model">l10n.es.aeat.mod347.real_state_record</field> | 152 | <field name="model">l10n.es.aeat.mod347.real_state_record</field> |
3156 | 129 | <field name="type">form</field> | 153 | <field name="type">form</field> |
3157 | 130 | <field name="arch" type="xml"> | 154 | <field name="arch" type="xml"> |
3159 | 131 | <form string="Real Estate Record"> | 155 | <form string="Real State Record" version="7.0"> |
3160 | 132 | <field name="report_id" invisible="1"/> | 156 | <field name="report_id" invisible="1"/> |
3174 | 133 | <group string="Partner info" colspan="4"> | 157 | <group string="Partner info"> |
3175 | 134 | <field name="partner_id" on_change="on_change_partner_id(partner_id)" required="1" select="1" colspan="4"/> | 158 | <group> |
3176 | 135 | <field name="partner_vat" select="1"/> | 159 | <field name="partner_id" on_change="on_change_partner_id(partner_id)" required="1" select="1"/> |
3177 | 136 | <field name="representative_vat" select="2"/> | 160 | </group> |
3178 | 137 | </group> | 161 | <group> |
3179 | 138 | <group string="Real estate info" colspan="4"> | 162 | <field name="partner_vat" select="1"/> |
3180 | 139 | <field name="amount"/> | 163 | <field name="representative_vat" select="2"/> |
3181 | 140 | <newline/> | 164 | </group> |
3182 | 141 | <field name="situation" colspan="4"/> | 165 | </group> |
3183 | 142 | <field name="reference"/> | 166 | <group string="Real state info"> |
3184 | 143 | </group> | 167 | <group> |
3185 | 144 | <group string="Real estate address" colspan="4"> | 168 | <field name="situation"/> |
3186 | 145 | <group colspan="4" col="6"> | 169 | <field name="reference"/> |
3187 | 170 | </group> | ||
3188 | 171 | <group> | ||
3189 | 172 | <field name="amount"/> | ||
3190 | 173 | </group> | ||
3191 | 174 | </group> | ||
3192 | 175 | <group string="Real state address"> | ||
3193 | 176 | <group> | ||
3194 | 146 | <field name="address_type"/> | 177 | <field name="address_type"/> |
3195 | 147 | <field name="address"/> | 178 | <field name="address"/> |
3196 | 148 | </group> | 179 | </group> |
3198 | 149 | <group colspan="4" col="6"> | 180 | <group> |
3199 | 150 | <field name="number_type"/> | 181 | <field name="number_type"/> |
3200 | 151 | <field name="number"/> | 182 | <field name="number"/> |
3201 | 152 | <field name="number_calification"/> | 183 | <field name="number_calification"/> |
3202 | 153 | </group> | 184 | </group> |
3209 | 154 | <group colspan="4" col="10"> | 185 | <group> |
3210 | 155 | <field name="block"/> | 186 | <group> |
3211 | 156 | <field name="portal"/> | 187 | <field name="block"/> |
3212 | 157 | <field name="stairway"/> | 188 | <field name="floor"/> |
3213 | 158 | <field name="floor"/> | 189 | <field name="stairway"/> |
3214 | 159 | <field name="door"/> | 190 | </group> |
3215 | 191 | <group> | ||
3216 | 192 | <field name="portal"/> | ||
3217 | 193 | <field name="door"/> | ||
3218 | 194 | </group> | ||
3219 | 195 | |||
3220 | 160 | </group> | 196 | </group> |
3222 | 161 | <group colspan="4"> | 197 | <group> |
3223 | 162 | <field name="complement"/> | 198 | <field name="complement"/> |
3224 | 163 | <field name="city"/> | ||
3225 | 164 | </group> | ||
3226 | 165 | <group colspan="4" col="8"> | ||
3227 | 166 | <field name="township"/> | ||
3228 | 167 | <field name="township_code"/> | ||
3229 | 168 | <field name="state_code"/> | ||
3230 | 169 | <field name="postal_code"/> | 199 | <field name="postal_code"/> |
3231 | 170 | </group> | 200 | </group> |
3233 | 171 | </group> | 201 | <group> |
3234 | 202 | <field name="city"/> | ||
3235 | 203 | <field name="state_code"/> | ||
3236 | 204 | |||
3237 | 205 | </group> | ||
3238 | 206 | <group> | ||
3239 | 207 | <field name="township"/> | ||
3240 | 208 | <field name="township_code"/> | ||
3241 | 209 | </group> | ||
3242 | 210 | </group> | ||
3243 | 172 | </form> | 211 | </form> |
3244 | 173 | </field> | 212 | </field> |
3245 | 174 | </record> | 213 | </record> |
3246 | @@ -179,126 +218,145 @@ | |||
3247 | 179 | ### AEAT MODEL 347 ### | 218 | ### AEAT MODEL 347 ### |
3248 | 180 | ################## --> | 219 | ################## --> |
3249 | 181 | <!-- Tree view --> | 220 | <!-- Tree view --> |
3250 | 221 | |||
3251 | 222 | |||
3252 | 182 | <record id="view_l10n_es_aeat_mod347_report_tree" model="ir.ui.view"> | 223 | <record id="view_l10n_es_aeat_mod347_report_tree" model="ir.ui.view"> |
3253 | 183 | <field name="name">AEAT Model 347 (tree)</field> | 224 | <field name="name">AEAT Model 347 (tree)</field> |
3254 | 184 | <field name="model">l10n.es.aeat.mod347.report</field> | 225 | <field name="model">l10n.es.aeat.mod347.report</field> |
3255 | 185 | <field name="type">tree</field> | 226 | <field name="type">tree</field> |
3256 | 186 | <field name="arch" type="xml"> | 227 | <field name="arch" type="xml"> |
3257 | 187 | <tree string="AEAT 347 Reports"> | 228 | <tree string="AEAT 347 Reports"> |
3259 | 188 | <field name="number"/> | 229 | <field name="number"/> |
3260 | 189 | <field name="company_id"/> | 230 | <field name="company_id"/> |
3261 | 190 | <field name="fiscalyear_id"/> | 231 | <field name="fiscalyear_id"/> |
3262 | 191 | <field name="type"/> | 232 | <field name="type"/> |
3263 | 192 | <field name="previous_number"/> | 233 | <field name="previous_number"/> |
3264 | 193 | <field name="support_type"/> | 234 | <field name="support_type"/> |
3265 | 235 | <field name="state"/> | ||
3266 | 236 | |||
3267 | 194 | </tree> | 237 | </tree> |
3268 | 195 | </field> | 238 | </field> |
3269 | 196 | </record> | 239 | </record> |
3270 | 197 | |||
3271 | 198 | <!-- Form view --> | 240 | <!-- Form view --> |
3272 | 199 | <record id="view_l10n_es_aeat_mod347_report_form" model="ir.ui.view"> | 241 | <record id="view_l10n_es_aeat_mod347_report_form" model="ir.ui.view"> |
3273 | 200 | <field name="name">AEAT Model 347 (form)</field> | 242 | <field name="name">AEAT Model 347 (form)</field> |
3274 | 201 | <field name="model">l10n.es.aeat.mod347.report</field> | 243 | <field name="model">l10n.es.aeat.mod347.report</field> |
3275 | 202 | <field name="type">form</field> | 244 | <field name="type">form</field> |
3276 | 203 | <field name="arch" type="xml"> | 245 | <field name="arch" type="xml"> |
3283 | 204 | <form string="AEAT 347 Report"> | 246 | <form string="AEAT 347 Report" version="7.0"> |
3284 | 205 | <group string="Declaration" colspan="4"> | 247 | <header> |
3285 | 206 | <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1"/> | 248 | <button name="button_calculate" type="object" string="Calculate" states="draft"/> |
3286 | 207 | <field name="fiscalyear_id" select="1"/> | 249 | <button name="button_recalculate" type="object" string="Recalculate" states="calculating,calculated"/> |
3287 | 208 | <field name="number"/> | 250 | <button name="button_export" type="object" string="Export to BOE" states="done"/> |
3288 | 209 | <field name="support_type"/> | 251 | <button name="confirm" string="Confirm" type="workflow" states="calculated" /> |
3289 | 252 | <button name="cancel" string="Cancel" type="workflow" states="calculated,done" /> | ||
3290 | 253 | <button name="action_recover" string="Draft" type="object" states="canceled" /> | ||
3291 | 254 | <field name="state" select="2" widget="statusbar" | ||
3292 | 255 | statusbar_visible="draft,calculated,done" statusbar_colors='{"canceled":"red","draft,calculated":"blue"}' /> | ||
3293 | 256 | </header> | ||
3294 | 257 | <sheet> | ||
3295 | 258 | <group string="Declaration"> | ||
3296 | 259 | <group> | ||
3297 | 260 | <group> | ||
3298 | 261 | <field name="company_id" on_change="on_change_company_id(company_id)" required="1" select="1"/> | ||
3299 | 262 | <field name="fiscalyear_id" select="1"/> | ||
3300 | 263 | </group> | ||
3301 | 264 | <group> | ||
3302 | 265 | <field name="number"/> | ||
3303 | 266 | <field name="support_type"/> | ||
3304 | 267 | </group> | ||
3305 | 268 | </group> | ||
3306 | 210 | </group> | 269 | </group> |
3308 | 211 | <notebook colspan="4"> | 270 | <notebook> |
3309 | 212 | <page string="General"> | 271 | <page string="General"> |
3334 | 213 | <group string="Identification" colspan="4"> | 272 | <group> |
3335 | 214 | <field name="company_vat" required="1"/> | 273 | <group string="Identification" > |
3336 | 215 | <field name="contact_phone"/> | 274 | <field name="company_vat" required="1"/> |
3337 | 216 | <field name="contact_name" colspan="4"/> | 275 | <field name="contact_phone"/> |
3338 | 217 | <field name="representative_vat"/> | 276 | <field name="contact_name" /> |
3339 | 218 | </group> | 277 | <field name="representative_vat"/> |
3340 | 219 | <group string="Susbtitutive/complementary declaration" colspan="4"> | 278 | </group> |
3341 | 220 | <field name="type"/> | 279 | <group string="Calculation" > |
3342 | 221 | <field name="previous_number"/> | 280 | <field name="operations_limit" attrs="{'readonly':[('state','!=','draft')]}"/> |
3343 | 222 | </group> | 281 | <field name="received_cash_limit" attrs="{'readonly':[('state','!=','draft')]}"/> |
3344 | 223 | <group string="Summary" colspan="4"> | 282 | <field name="charges_obtp_limit" attrs="{'readonly':[('state','!=','draft')]}"/> |
3345 | 224 | <field name="total_partner_records"/> | 283 | <field name="group_by_cif" attrs="{'readonly':[('state','!=','draft')]}" /> |
3346 | 225 | <field name="total_amount"/> | 284 | <field name="only_supplier" attrs="{'readonly':[('state','!=','draft')]}" /> |
3347 | 226 | <field name="total_real_state_records"/> | 285 | </group> |
3348 | 227 | <field name="total_real_state_amount"/> | 286 | |
3349 | 228 | </group> | 287 | </group> |
3350 | 229 | <group string="Calculation" colspan="4"> | 288 | <group> |
3351 | 230 | <field name="operations_limit"/> | 289 | <group string="Susbtitutive/complementary declaration"> |
3352 | 231 | <field name="received_cash_limit"/> | 290 | <field name="type"/> |
3353 | 232 | <field name="charges_obtp_limit"/> | 291 | <field name="previous_number"/> |
3354 | 233 | <field name="group_by_cif"/> | 292 | </group> |
3355 | 234 | </group> | 293 | |
3356 | 235 | <group colspan="4"> | 294 | <group string="Summary"> |
3357 | 236 | <field name="state" select="2" readonly="1"/> | 295 | <field name="total_partner_records"/> |
3358 | 296 | <field name="total_amount"/> | ||
3359 | 297 | <field name="total_real_state_records"/> | ||
3360 | 298 | <field name="total_real_state_amount"/> | ||
3361 | 299 | </group> | ||
3362 | 300 | |||
3363 | 301 | </group> | ||
3364 | 302 | |||
3365 | 303 | <group> | ||
3366 | 237 | <field name="calculation_date" select="2" readonly="1"/> | 304 | <field name="calculation_date" select="2" readonly="1"/> |
3367 | 238 | </group> | 305 | </group> |
3368 | 239 | <group colspan="4" col="10"> | ||
3369 | 240 | <button name="button_calculate" | ||
3370 | 241 | type="object" | ||
3371 | 242 | string="Calculate" | ||
3372 | 243 | states="draft" | ||
3373 | 244 | icon="gtk-execute"/> | ||
3374 | 245 | <button name="button_recalculate" | ||
3375 | 246 | type="object" | ||
3376 | 247 | string="Recalculate" | ||
3377 | 248 | states="calculating,calculated" | ||
3378 | 249 | icon="gtk-execute"/> | ||
3379 | 250 | <button name="button_export" | ||
3380 | 251 | type="object" | ||
3381 | 252 | string="Export to BOE" | ||
3382 | 253 | states="done" | ||
3383 | 254 | icon="gtk-execute"/> | ||
3384 | 255 | <button name="confirm" string="Confirm" type="workflow" states="calculated" icon="gtk-ok"/> | ||
3385 | 256 | <button name="cancel" string="Cancel" type="workflow" states="calculated,done" icon="gtk-cancel"/> | ||
3386 | 257 | <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/> | ||
3387 | 258 | </group> | ||
3388 | 259 | </page> | 306 | </page> |
3389 | 260 | <page string="Partner records"> | 307 | <page string="Partner records"> |
3391 | 261 | <field name="partner_record_ids" nolabel="1" context="{'report_id': active_id}"/> | 308 | <field name="partner_record_ids" nolabel="1" context="{'report_id': active_id}" |
3392 | 309 | attrs="{'readonly':[('state','!=','draft')]}"/> | ||
3393 | 262 | </page> | 310 | </page> |
3396 | 263 | <page string="Real Estate records"> | 311 | <page string="Real State records"> |
3397 | 264 | <field name="real_state_record_ids" nolabel="1" context="{'report_id': active_id}"/> | 312 | <field name="real_state_record_ids" nolabel="1" context="{'report_id': active_id}" |
3398 | 313 | attrs="{'readonly':[('state','!=','draft')]}"/> | ||
3399 | 265 | </page> | 314 | </page> |
3400 | 266 | </notebook> | 315 | </notebook> |
3401 | 316 | </sheet> | ||
3402 | 267 | </form> | 317 | </form> |
3403 | 268 | </field> | 318 | </field> |
3404 | 269 | </record> | 319 | </record> |
3405 | 270 | 320 | ||
3406 | 321 | |||
3407 | 271 | <record id="view_l10n_es_aeat_mod347_report_search" model="ir.ui.view"> | 322 | <record id="view_l10n_es_aeat_mod347_report_search" model="ir.ui.view"> |
3408 | 272 | <field name="name">AEAT Model 347 (search)</field> | 323 | <field name="name">AEAT Model 347 (search)</field> |
3409 | 273 | <field name="model">l10n.es.aeat.mod347.report</field> | 324 | <field name="model">l10n.es.aeat.mod347.report</field> |
3410 | 274 | <field name="type">search</field> | 325 | <field name="type">search</field> |
3411 | 275 | <field name="arch" type="xml"> | 326 | <field name="arch" type="xml"> |
3412 | 276 | <search string="AEAT 347"> | 327 | <search string="AEAT 347"> |
3422 | 277 | <group col="8" colspan="4"> | 328 | <field name="number"/> |
3423 | 278 | <filter icon="terp-gtk-media-pause" string="Draft" domain="[('state','=','draft')]" help="Draft models"/> | 329 | <field name="type"/> |
3424 | 279 | <filter icon="gtk-execute" string="In process" domain="[('state','in',('calculating', 'calculated'))]" help="In process models"/> | 330 | <field name="support_type"/> |
3425 | 280 | <filter icon="terp-camera_test" string="Done" domain="[('state','=','done')]" help="Confirmed models"/> | 331 | <field name="fiscalyear_id"/> |
3426 | 281 | <filter icon="gtk-cancel" string="Cancelled" domain="[('state', '=', 'canceled')]" help="Cancelled models"/> | 332 | <filter string="Draft" domain="[('state','=','draft')]" help="Draft models"/> |
3427 | 282 | <separator orientation="vertical"/> | 333 | <filter string="In process" domain="[('state','in',('calculating', 'calculated'))]" help="In process models"/> |
3428 | 283 | <filter string="Fiscal Year" icon="terp-folder-orange" domain="[]" context="{'group_by':'fiscalyear_id'}"/> | 334 | <filter string="Done" domain="[('state','=','done')]" help="Confirmed models"/> |
3429 | 284 | <separator orientation="vertical"/> | 335 | <filter string="Cancelled" domain="[('state', '=', 'canceled')]" help="Cancelled models"/> |
3430 | 285 | <filter string="Company" icon="terp-personal" domain="[]" context="{'group_by':'company_id'}"/> | 336 | <group expand="0" string="Group By..."> |
3431 | 337 | <filter string="Fiscal Year" domain="[]" context="{'group_by':'fiscalyear_id'}"/> | ||
3432 | 338 | <filter string="Company" domain="[]" context="{'group_by':'company_id'}"/> | ||
3433 | 286 | </group> | 339 | </group> |
3434 | 340 | |||
3435 | 287 | <newline/> | 341 | <newline/> |
3436 | 288 | <field name="number"/> | ||
3437 | 289 | <field name="type"/> | ||
3438 | 290 | <field name="support_type"/> | ||
3439 | 291 | </search> | 342 | </search> |
3440 | 292 | </field> | 343 | </field> |
3441 | 293 | </record> | 344 | </record> |
3442 | 294 | |||
3443 | 295 | <!-- Window action --> | 345 | <!-- Window action --> |
3444 | 296 | <record id="action_l10n_es_aeat_mod347_report" model="ir.actions.act_window"> | 346 | <record id="action_l10n_es_aeat_mod347_report" model="ir.actions.act_window"> |
3445 | 297 | <field name="name">AEAT Model 347</field> | 347 | <field name="name">AEAT Model 347</field> |
3446 | 298 | <field name="res_model">l10n.es.aeat.mod347.report</field> | 348 | <field name="res_model">l10n.es.aeat.mod347.report</field> |
3447 | 299 | <field name="view_type">form</field> | 349 | <field name="view_type">form</field> |
3448 | 300 | <field name="view_mode">tree,form</field> | 350 | <field name="view_mode">tree,form</field> |
3450 | 301 | <field name="help">Create and query AEAT Model 347 Reports</field> | 351 | <field name="help" type="html"> |
3451 | 352 | <p class="oe_view_nocontent_create"> | ||
3452 | 353 | Click to create a AEAT Model 347 Reports. | ||
3453 | 354 | |||
3454 | 355 | </p><p> | ||
3455 | 356 | Basado en la Orden EHA/3012/2008, de 20 de Octubre, por el que se aprueban | ||
3456 | 357 | los diseños físicos y lógicos del 347. | ||
3457 | 358 | </p> | ||
3458 | 359 | </field> | ||
3459 | 302 | </record> | 360 | </record> |
3460 | 303 | 361 | ||
3461 | 304 | 362 | ||
3462 | 305 | 363 | ||
3463 | === modified file 'l10n_es_aeat_mod347/mod347_workflow.xml' | |||
3464 | --- l10n_es_aeat_mod347/mod347_workflow.xml 2011-03-22 13:13:05 +0000 | |||
3465 | +++ l10n_es_aeat_mod347/mod347_workflow.xml 2013-12-27 10:08:05 +0000 | |||
3466 | @@ -10,7 +10,7 @@ | |||
3467 | 10 | 10 | ||
3468 | 11 | 11 | ||
3469 | 12 | <!-- | 12 | <!-- |
3471 | 13 | ### NODES ### | 13 | ### NODES ### |
3472 | 14 | --> | 14 | --> |
3473 | 15 | <record id="act_draft" model="workflow.activity"> | 15 | <record id="act_draft" model="workflow.activity"> |
3474 | 16 | <field name="wkf_id" ref="wkf_l10n_es_aeat_mod347_report"/> | 16 | <field name="wkf_id" ref="wkf_l10n_es_aeat_mod347_report"/> |
3475 | @@ -42,7 +42,7 @@ | |||
3476 | 42 | 42 | ||
3477 | 43 | 43 | ||
3478 | 44 | <!-- | 44 | <!-- |
3480 | 45 | ### TRANSITIONS ### | 45 | ### TRANSITIONS ### |
3481 | 46 | --> | 46 | --> |
3482 | 47 | <record id="trans_draft_calculate" model="workflow.transition"> | 47 | <record id="trans_draft_calculate" model="workflow.transition"> |
3483 | 48 | <field name="act_from" ref="act_draft"/> | 48 | <field name="act_from" ref="act_draft"/> |
3484 | 49 | 49 | ||
3485 | === modified file 'l10n_es_aeat_mod347/report/mod347_report.rml' | |||
3486 | --- l10n_es_aeat_mod347/report/mod347_report.rml 2013-11-23 01:47:07 +0000 | |||
3487 | +++ l10n_es_aeat_mod347/report/mod347_report.rml 2013-12-27 10:08:05 +0000 | |||
3488 | @@ -173,7 +173,7 @@ | |||
3489 | 173 | <td><para style="DataLine">[[partner_record.fourth_quarter]]</para></td> | 173 | <td><para style="DataLine">[[partner_record.fourth_quarter]]</para></td> |
3490 | 174 | </tr> | 174 | </tr> |
3491 | 175 | <tr> | 175 | <tr> |
3493 | 176 | <td><para style="DataLineRight"> Real Estate Transmission (Q1|Q2|Q3|Q4) </para></td> | 176 | <td><para style="DataLineRight"> Real State Transmission (Q1|Q2|Q3|Q4) </para></td> |
3494 | 177 | <td><para style="DataLine">[[partner_record.first_quarter_real_state_transmission_amount]]</para></td> | 177 | <td><para style="DataLine">[[partner_record.first_quarter_real_state_transmission_amount]]</para></td> |
3495 | 178 | <td><para style="DataLine">[[partner_record.second_quarter_real_state_transmission_amount]]</para></td> | 178 | <td><para style="DataLine">[[partner_record.second_quarter_real_state_transmission_amount]]</para></td> |
3496 | 179 | <td><para style="DataLine">[[partner_record.third_quarter_real_state_transmission_amount]]</para></td> | 179 | <td><para style="DataLine">[[partner_record.third_quarter_real_state_transmission_amount]]</para></td> |
3497 | 180 | 180 | ||
3498 | === modified file 'l10n_es_aeat_mod347/res_partner.py' (properties changed: -x to +x) | |||
3499 | --- l10n_es_aeat_mod347/res_partner.py 2013-11-22 23:44:11 +0000 | |||
3500 | +++ l10n_es_aeat_mod347/res_partner.py 2013-12-27 10:08:05 +0000 | |||
3501 | @@ -19,27 +19,21 @@ | |||
3502 | 19 | # | 19 | # |
3503 | 20 | ############################################################################## | 20 | ############################################################################## |
3504 | 21 | 21 | ||
3517 | 22 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | 22 | |
3518 | 23 | 23 | from openerp.osv import fields | |
3519 | 24 | """ | 24 | from openerp.osv import orm |
3520 | 25 | Extends the account journals to add fields used by the 347 report. | 25 | |
3521 | 26 | """ | 26 | |
3522 | 27 | 27 | class res_partner(orm.Model): | |
3511 | 28 | from osv import osv, fields | ||
3512 | 29 | |||
3513 | 30 | class res_partner(osv.osv): | ||
3514 | 31 | """ | ||
3515 | 32 | Extends the partners to add the include_in_mod347 field | ||
3516 | 33 | """ | ||
3523 | 34 | _inherit = "res.partner" | 28 | _inherit = "res.partner" |
3524 | 35 | |||
3525 | 36 | _columns = { | 29 | _columns = { |
3527 | 37 | 'include_in_mod347' : fields.boolean(u"Include in 347 Report", | 30 | 'include_in_mod347': fields.boolean(u"Include in 347 Report", |
3528 | 38 | help="Include in AEAT 347 Model report"), | 31 | help="Include in AEAT 347 Model report"), |
3531 | 39 | } | 32 | } |
3530 | 40 | |||
3532 | 41 | _defaults = { | 33 | _defaults = { |
3533 | 42 | 'include_in_mod347' : lambda *a: True, | ||
3534 | 43 | } | ||
3535 | 44 | |||
3536 | 45 | res_partner() | ||
3537 | 46 | \ No newline at end of file | 34 | \ No newline at end of file |
3538 | 35 | 'include_in_mod347': lambda *a: True, | ||
3539 | 36 | } | ||
3540 | 37 | |||
3541 | 38 | res_partner() | ||
3542 | 39 | |||
3543 | 40 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
3544 | 47 | 41 | ||
3545 | === modified file 'l10n_es_aeat_mod347/res_partner_view.xml' (properties changed: -x to +x) | |||
3546 | --- l10n_es_aeat_mod347/res_partner_view.xml 2013-11-22 23:44:11 +0000 | |||
3547 | +++ l10n_es_aeat_mod347/res_partner_view.xml 2013-12-27 10:08:05 +0000 | |||
3548 | @@ -1,20 +1,17 @@ | |||
3549 | 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
3550 | 2 | <openerp> | 2 | <openerp> |
3551 | 3 | <data> | 3 | <data> |
3556 | 4 | 4 | <!-- PARTNERS --> | |
3553 | 5 | <!-- ########### | ||
3554 | 6 | ### PARTNERS ### | ||
3555 | 7 | ############ --> | ||
3557 | 8 | <record id="view_partner_form_mod347" model="ir.ui.view"> | 5 | <record id="view_partner_form_mod347" model="ir.ui.view"> |
3558 | 9 | <field name="name">Partners - Add 'include in 347'</field> | 6 | <field name="name">Partners - Add 'include in 347'</field> |
3559 | 10 | <field name="model">res.partner</field> | 7 | <field name="model">res.partner</field> |
3560 | 11 | <field name="inherit_id" ref="base_vat.view_partner_form"/> | 8 | <field name="inherit_id" ref="base_vat.view_partner_form"/> |
3561 | 12 | <field name="arch" type="xml"> | 9 | <field name="arch" type="xml"> |
3562 | 13 | <field name="vat_subjected" position="after"> | 10 | <field name="vat_subjected" position="after"> |
3564 | 14 | <field name="include_in_mod347"/> | 11 | <label for="include_in_mod347"/> |
3565 | 12 | <field name="include_in_mod347"/> | ||
3566 | 15 | </field> | 13 | </field> |
3567 | 16 | </field> | 14 | </field> |
3568 | 17 | </record> | 15 | </record> |
3569 | 18 | |||
3570 | 19 | </data> | 16 | </data> |
3571 | 20 | </openerp> | 17 | </openerp> |
3572 | 21 | 18 | ||
3573 | === modified file 'l10n_es_aeat_mod347/security/ir.model.access.csv' | |||
3574 | --- l10n_es_aeat_mod347/security/ir.model.access.csv 2010-03-15 01:44:45 +0000 | |||
3575 | +++ l10n_es_aeat_mod347/security/ir.model.access.csv 2013-12-27 10:08:05 +0000 | |||
3576 | @@ -9,3 +9,7 @@ | |||
3577 | 9 | "access_l10n_es_aeat_mod347_invoice_manager","l10n_es_aeat_mod347_invoice manager","model_l10n_es_aeat_mod347_invoice_record","account.group_account_manager",1,1,1,1 | 9 | "access_l10n_es_aeat_mod347_invoice_manager","l10n_es_aeat_mod347_invoice manager","model_l10n_es_aeat_mod347_invoice_record","account.group_account_manager",1,1,1,1 |
3578 | 10 | "access_l10n_es_aeat_mod347_cash","l10n_es_aeat_mod347_cash","model_l10n_es_aeat_mod347_cash_record","account.group_account_user",1,0,0,0 | 10 | "access_l10n_es_aeat_mod347_cash","l10n_es_aeat_mod347_cash","model_l10n_es_aeat_mod347_cash_record","account.group_account_user",1,0,0,0 |
3579 | 11 | "access_l10n_es_aeat_mod347_cash_manager","l10n_es_aeat_mod347_cash manager","model_l10n_es_aeat_mod347_cash_record","account.group_account_manager",1,1,1,1 | 11 | "access_l10n_es_aeat_mod347_cash_manager","l10n_es_aeat_mod347_cash manager","model_l10n_es_aeat_mod347_cash_record","account.group_account_manager",1,1,1,1 |
3580 | 12 | "access_l10n_es_aeat_mod347_calculate_records","l10n_es_aeat_mod347_calculate_records","model_l10n_es_aeat_mod347_calculate_records","account.group_account_user",1,0,0,0 | ||
3581 | 13 | "access_l10n_es_aeat_mod347_calculate_records_manager","l10n_es_aeat_mod347_calculate_record manager","model_l10n_es_aeat_mod347_calculate_records","account.group_account_manager",1,1,1,1 | ||
3582 | 14 | "access_l10n_es_aeat_mod347_export_to_boe","l10n_es_aeat_mod347_export_to_boe","model_l10n_es_aeat_mod347_export_to_boe","account.group_account_user",1,0,0,0 | ||
3583 | 15 | "access_l10n_es_aeat_mod347_export_to_boe_manager","l10n_es_aeat_mod347_export_to_boe manager","model_l10n_es_aeat_mod347_export_to_boe","account.group_account_manager",1,1,1,1 | ||
3584 | 12 | 16 | ||
3585 | === added directory 'l10n_es_aeat_mod347/static' | |||
3586 | === added directory 'l10n_es_aeat_mod347/static/src' | |||
3587 | === added directory 'l10n_es_aeat_mod347/static/src/img' | |||
3588 | === added file 'l10n_es_aeat_mod347/static/src/img/icon.png' | |||
3589 | 13 | Binary files l10n_es_aeat_mod347/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod347/static/src/img/icon.png 2013-12-27 10:08:05 +0000 differ | 17 | Binary files l10n_es_aeat_mod347/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_es_aeat_mod347/static/src/img/icon.png 2013-12-27 10:08:05 +0000 differ |
3590 | === added file 'l10n_es_aeat_mod347/static/src/img/icon_source.svg' | |||
3591 | --- l10n_es_aeat_mod347/static/src/img/icon_source.svg 1970-01-01 00:00:00 +0000 | |||
3592 | +++ l10n_es_aeat_mod347/static/src/img/icon_source.svg 2013-12-27 10:08:05 +0000 | |||
3593 | @@ -0,0 +1,96 @@ | |||
3594 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
3595 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
3596 | 3 | |||
3597 | 4 | <svg | ||
3598 | 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
3599 | 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
3600 | 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
3601 | 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
3602 | 9 | xmlns="http://www.w3.org/2000/svg" | ||
3603 | 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
3604 | 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
3605 | 12 | id="svg2" | ||
3606 | 13 | version="1.1" | ||
3607 | 14 | inkscape:version="0.48.3.1 r9886" | ||
3608 | 15 | width="128" | ||
3609 | 16 | height="128" | ||
3610 | 17 | sodipodi:docname="AEAT 347.svg"> | ||
3611 | 18 | <metadata | ||
3612 | 19 | id="metadata8"> | ||
3613 | 20 | <rdf:RDF> | ||
3614 | 21 | <cc:Work | ||
3615 | 22 | rdf:about=""> | ||
3616 | 23 | <dc:format>image/svg+xml</dc:format> | ||
3617 | 24 | <dc:type | ||
3618 | 25 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
3619 | 26 | <dc:title /> | ||
3620 | 27 | </cc:Work> | ||
3621 | 28 | </rdf:RDF> | ||
3622 | 29 | </metadata> | ||
3623 | 30 | <defs | ||
3624 | 31 | id="defs6" /> | ||
3625 | 32 | <sodipodi:namedview | ||
3626 | 33 | pagecolor="#ffffff" | ||
3627 | 34 | bordercolor="#666666" | ||
3628 | 35 | borderopacity="1" | ||
3629 | 36 | objecttolerance="10" | ||
3630 | 37 | gridtolerance="10" | ||
3631 | 38 | guidetolerance="10" | ||
3632 | 39 | inkscape:pageopacity="0" | ||
3633 | 40 | inkscape:pageshadow="2" | ||
3634 | 41 | inkscape:window-width="1855" | ||
3635 | 42 | inkscape:window-height="1176" | ||
3636 | 43 | id="namedview4" | ||
3637 | 44 | showgrid="false" | ||
3638 | 45 | inkscape:zoom="4.6451612" | ||
3639 | 46 | inkscape:cx="27.621455" | ||
3640 | 47 | inkscape:cy="101.70379" | ||
3641 | 48 | inkscape:window-x="65" | ||
3642 | 49 | inkscape:window-y="24" | ||
3643 | 50 | inkscape:window-maximized="1" | ||
3644 | 51 | inkscape:current-layer="svg2" | ||
3645 | 52 | fit-margin-top="0" | ||
3646 | 53 | fit-margin-left="0" | ||
3647 | 54 | fit-margin-right="0" | ||
3648 | 55 | fit-margin-bottom="0" /> | ||
3649 | 56 | <g | ||
3650 | 57 | id="g3003" | ||
3651 | 58 | transform="translate(-0.07356158,0)"> | ||
3652 | 59 | <g | ||
3653 | 60 | transform="translate(0,-3.31149)" | ||
3654 | 61 | id="g2998"> | ||
3655 | 62 | <rect | ||
3656 | 63 | 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" | ||
3657 | 64 | id="rect2998" | ||
3658 | 65 | width="51.523285" | ||
3659 | 66 | height="118.80513" | ||
3660 | 67 | x="13.910543" | ||
3661 | 68 | y="3.8516259" | ||
3662 | 69 | ry="0" | ||
3663 | 70 | transform="matrix(1,0,0.51069126,0.85976417,0,0)" /> | ||
3664 | 71 | <path | ||
3665 | 72 | style="fill:#ffd715;fill-opacity:1;stroke:none" | ||
3666 | 73 | 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" | ||
3667 | 74 | id="path3000" | ||
3668 | 75 | inkscape:connector-curvature="0" | ||
3669 | 76 | sodipodi:nodetypes="ccccccccc" /> | ||
3670 | 77 | <path | ||
3671 | 78 | style="fill:#db2f34;fill-opacity:1;stroke:none" | ||
3672 | 79 | 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" | ||
3673 | 80 | id="path3021" | ||
3674 | 81 | inkscape:connector-curvature="0" | ||
3675 | 82 | sodipodi:nodetypes="ccccc" /> | ||
3676 | 83 | </g> | ||
3677 | 84 | </g> | ||
3678 | 85 | <text | ||
3679 | 86 | xml:space="preserve" | ||
3680 | 87 | style="font-size:42.27203751px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold" | ||
3681 | 88 | x="33.706173" | ||
3682 | 89 | y="127.48399" | ||
3683 | 90 | id="text3023" | ||
3684 | 91 | sodipodi:linespacing="125%"><tspan | ||
3685 | 92 | sodipodi:role="line" | ||
3686 | 93 | id="tspan3025" | ||
3687 | 94 | x="33.706173" | ||
3688 | 95 | y="127.48399">347</tspan></text> | ||
3689 | 96 | </svg> | ||
3690 | 0 | 97 | ||
3691 | === modified file 'l10n_es_aeat_mod347/wizard/__init__.py' (properties changed: -x to +x) | |||
3692 | --- l10n_es_aeat_mod347/wizard/__init__.py 2013-11-22 23:44:11 +0000 | |||
3693 | +++ l10n_es_aeat_mod347/wizard/__init__.py 2013-12-27 10:08:05 +0000 | |||
3694 | @@ -19,10 +19,8 @@ | |||
3695 | 19 | # | 19 | # |
3696 | 20 | ############################################################################## | 20 | ############################################################################## |
3697 | 21 | 21 | ||
3698 | 22 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | ||
3699 | 23 | |||
3700 | 24 | 22 | ||
3701 | 25 | import calculate_mod347_records | 23 | import calculate_mod347_records |
3702 | 26 | import export_mod347_to_boe | 24 | import export_mod347_to_boe |
3703 | 27 | 25 | ||
3704 | 28 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
3705 | 29 | \ No newline at end of file | 26 | \ No newline at end of file |
3706 | 27 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | ||
3707 | 30 | 28 | ||
3708 | === modified file 'l10n_es_aeat_mod347/wizard/calculate_mod347_records.py' (properties changed: -x to +x) | |||
3709 | --- l10n_es_aeat_mod347/wizard/calculate_mod347_records.py 2013-11-22 23:44:11 +0000 | |||
3710 | +++ l10n_es_aeat_mod347/wizard/calculate_mod347_records.py 2013-12-27 10:08:05 +0000 | |||
3711 | @@ -23,15 +23,16 @@ | |||
3712 | 23 | # | 23 | # |
3713 | 24 | ############################################################################## | 24 | ############################################################################## |
3714 | 25 | 25 | ||
3715 | 26 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | ||
3716 | 27 | 26 | ||
3717 | 28 | import threading | 27 | import threading |
3718 | 29 | import netsvc | 28 | import netsvc |
3719 | 30 | import time | 29 | import time |
3720 | 31 | import re | 30 | import re |
3724 | 32 | from osv import osv | 31 | from openerp.osv import orm |
3725 | 33 | 32 | from openerp.osv import fields | |
3726 | 34 | class l10n_es_aeat_mod347_calculate_records(osv.osv_memory): | 33 | |
3727 | 34 | |||
3728 | 35 | class l10n_es_aeat_mod347_calculate_records(orm.AbstractModel): | ||
3729 | 35 | _name = "l10n.es.aeat.mod347.calculate_records" | 36 | _name = "l10n.es.aeat.mod347.calculate_records" |
3730 | 36 | _description = u"AEAT Model 347 Wizard - Calculate Records" | 37 | _description = u"AEAT Model 347 Wizard - Calculate Records" |
3731 | 37 | 38 | ||
3732 | @@ -42,11 +43,18 @@ | |||
3733 | 42 | self._calculate_records(cr, uid, ids, context, recalculate=False) | 43 | self._calculate_records(cr, uid, ids, context, recalculate=False) |
3734 | 43 | 44 | ||
3735 | 44 | wf_service = netsvc.LocalService("workflow") | 45 | wf_service = netsvc.LocalService("workflow") |
3737 | 45 | wf_service.trg_validate(uid, 'l10n.es.aeat.mod347.report', ids and ids[0], 'calculate', cr) | 46 | wf_service.trg_validate(uid, |
3738 | 47 | 'l10n.es.aeat.mod347.report', | ||
3739 | 48 | ids and ids[0], | ||
3740 | 49 | 'calculate', | ||
3741 | 50 | cr) | ||
3742 | 46 | 51 | ||
3743 | 47 | # Calculate total invoice without IRPF | 52 | # Calculate total invoice without IRPF |
3744 | 48 | def _calculate_total_invoice(self, cr, uid, ids, context=None): | 53 | def _calculate_total_invoice(self, cr, uid, ids, context=None): |
3746 | 49 | invoice = self.pool.get('account.invoice').browse(cr,uid,ids,context) | 54 | invoice = self.pool.get('account.invoice').browse(cr, |
3747 | 55 | uid, | ||
3748 | 56 | ids, | ||
3749 | 57 | context) | ||
3750 | 50 | amount = invoice.cc_amount_untaxed | 58 | amount = invoice.cc_amount_untaxed |
3751 | 51 | for tax_line in invoice.tax_line: | 59 | for tax_line in invoice.tax_line: |
3752 | 52 | if tax_line.name.find('IRPF') == -1: | 60 | if tax_line.name.find('IRPF') == -1: |
3753 | @@ -60,64 +68,94 @@ | |||
3754 | 60 | try: | 68 | try: |
3755 | 61 | 69 | ||
3756 | 62 | partner_obj = self.pool.get('res.partner') | 70 | partner_obj = self.pool.get('res.partner') |
3759 | 63 | partner_address_obj = self.pool.get('res.partner.address') | 71 | partner_address_obj = self.pool.get('res.partner') |
3760 | 64 | 72 | ||
3761 | 65 | invoice_obj = self.pool.get('account.invoice') | 73 | invoice_obj = self.pool.get('account.invoice') |
3762 | 66 | 74 | ||
3763 | 67 | report_obj = self.pool.get('l10n.es.aeat.mod347.report') | 75 | report_obj = self.pool.get('l10n.es.aeat.mod347.report') |
3766 | 68 | partner_record_obj = self.pool.get('l10n.es.aeat.mod347.partner_record') | 76 | partner_record_obj = self.pool.get( |
3767 | 69 | invoice_record_obj = self.pool.get('l10n.es.aeat.mod347.invoice_record') | 77 | 'l10n.es.aeat.mod347.partner_record' |
3768 | 78 | ) | ||
3769 | 79 | invoice_record_obj = self.pool.get( | ||
3770 | 80 | 'l10n.es.aeat.mod347.invoice_record' | ||
3771 | 81 | ) | ||
3772 | 70 | 82 | ||
3773 | 71 | report_obj = report_obj.browse(cr, uid, ids and ids[0]) | 83 | report_obj = report_obj.browse(cr, uid, ids and ids[0]) |
3774 | 72 | 84 | ||
3775 | 73 | ## | ||
3776 | 74 | ## Change status to 'calculated' and set current calculate date | 85 | ## Change status to 'calculated' and set current calculate date |
3777 | 75 | report_obj.write({ | 86 | report_obj.write({ |
3780 | 76 | 'state' : 'calculating', | 87 | 'state': 'calculating', |
3781 | 77 | 'calculation_date' : time.strftime('%Y-%m-%d %H:%M:%S') | 88 | 'calculation_date': time.strftime('%Y-%m-%d %H:%M:%S') |
3782 | 78 | }) | 89 | }) |
3783 | 79 | 90 | ||
3798 | 80 | ## | 91 | # Delete previous partner records |
3799 | 81 | ## Delete previous partner records | 92 | partner_record_obj.unlink(cr, uid, [r.id for |
3800 | 82 | partner_record_obj.unlink(cr, uid, [r.id for r in report_obj.partner_record_ids]) | 93 | r in |
3801 | 83 | 94 | report_obj.partner_record_ids]) | |
3802 | 84 | ## | 95 | |
3803 | 85 | ## Get the cash journals (moves on this journals will be considered cash) | 96 | # Get the cash journals(moves on this journals will be considered cash) |
3804 | 86 | cash_journal_ids = self.pool.get('account.journal').search(cr, uid, [('cash_journal', '=', True)]) | 97 | cash_journal_ids = self.pool.get( |
3805 | 87 | 98 | 'account.journal' | |
3806 | 88 | ## Get the fiscal year period ids of the non-special periods | 99 | ).search(cr, uid, [('cash_journal', |
3807 | 89 | ## (to ignore closing/opening entries) | 100 | '=', |
3808 | 90 | period_ids = [period.id for period in report_obj.fiscalyear_id.period_ids if not period.special] | 101 | True)]) |
3809 | 91 | 102 | ||
3810 | 92 | ## | 103 | # Get the fiscal year period ids of the non-special periods |
3811 | 93 | ## We will check every partner with include_in_mod347 | 104 | # (to ignore closing/opening entries) |
3812 | 105 | period_ids = [period.id for | ||
3813 | 106 | period in | ||
3814 | 107 | report_obj.fiscalyear_id.period_ids if not | ||
3815 | 108 | period.special] | ||
3816 | 109 | |||
3817 | 110 | # We will check every partner with include_in_mod347 | ||
3818 | 94 | visited_partners = [] | 111 | visited_partners = [] |
3820 | 95 | partner_ids = partner_obj.search(cr, uid, [('include_in_mod347', '=', True)]) | 112 | if report_obj.only_supplier == True: |
3821 | 113 | partner_ids = partner_obj.search( | ||
3822 | 114 | cr, | ||
3823 | 115 | uid, | ||
3824 | 116 | [('include_in_mod347', '=', True), | ||
3825 | 117 | ('supplier', '=', True) | ||
3826 | 118 | ]) | ||
3827 | 119 | else: | ||
3828 | 120 | partner_ids = partner_obj.search( | ||
3829 | 121 | cr, | ||
3830 | 122 | uid, | ||
3831 | 123 | [('include_in_mod347', '=', True)]) | ||
3832 | 96 | for partner in partner_obj.browse(cr, uid, partner_ids): | 124 | for partner in partner_obj.browse(cr, uid, partner_ids): |
3833 | 97 | if partner.id not in visited_partners: | 125 | if partner.id not in visited_partners: |
3834 | 98 | receivable_partner_record = False | 126 | receivable_partner_record = False |
3835 | 99 | partner_grouped_cif = [] | 127 | partner_grouped_cif = [] |
3836 | 100 | 128 | ||
3837 | 101 | if partner.vat and report_obj.group_by_cif: | 129 | if partner.vat and report_obj.group_by_cif: |
3839 | 102 | partner_grouped_cif = partner_obj.search(cr, uid, [('vat','=',partner.vat),('include_in_mod347', '=', True)]) | 130 | if report_obj.only_supplier == True: |
3840 | 131 | partner_grouped_cif = partner_obj.search( | ||
3841 | 132 | cr, | ||
3842 | 133 | uid, | ||
3843 | 134 | [('vat', '=', partner.vat), | ||
3844 | 135 | ('include_in_mod347', '=', True), | ||
3845 | 136 | ('supplier', '=', True) | ||
3846 | 137 | ]) | ||
3847 | 138 | else: | ||
3848 | 139 | partner_grouped_cif = partner_obj.search( | ||
3849 | 140 | cr, | ||
3850 | 141 | uid, | ||
3851 | 142 | [('vat', '=', partner.vat), | ||
3852 | 143 | ('include_in_mod347', '=', True)]) | ||
3853 | 103 | else: | 144 | else: |
3854 | 104 | partner_grouped_cif.append(partner.id) | 145 | partner_grouped_cif.append(partner.id) |
3855 | 105 | 146 | ||
3856 | 106 | visited_partners.extend(partner_grouped_cif) | 147 | visited_partners.extend(partner_grouped_cif) |
3857 | 107 | 148 | ||
3858 | 108 | ## | ||
3859 | 109 | ## Search for invoices | 149 | ## Search for invoices |
3860 | 110 | # | ||
3861 | 111 | # We will repeat the process for sales and purchases: | 150 | # We will repeat the process for sales and purchases: |
3863 | 112 | for invoice_type, refund_type in zip(('out_invoice', 'in_invoice'), ('out_refund', 'in_refund')): | 151 | for invoice_type, refund_type in zip(('out_invoice', |
3864 | 152 | 'in_invoice'), | ||
3865 | 153 | ('out_refund', 'in_refund')): | ||
3866 | 113 | # | 154 | # |
3868 | 114 | # CHECK THE SALE/PURCHASES INVOICE LIMIT ------------------- | 155 | # CHECK THE SALE/PURCHASES INVOICE LIMIT ------------- |
3869 | 115 | # (A and B operation keys) | 156 | # (A and B operation keys) |
3870 | 116 | # | ||
3871 | 117 | 157 | ||
3872 | 118 | # | ||
3873 | 119 | # Search for invoices to this partner (with account moves). | 158 | # Search for invoices to this partner (with account moves). |
3874 | 120 | # | ||
3875 | 121 | invoice_ids = invoice_obj.search(cr, uid, [ | 159 | invoice_ids = invoice_obj.search(cr, uid, [ |
3876 | 122 | ('partner_id', 'in', partner_grouped_cif), | 160 | ('partner_id', 'in', partner_grouped_cif), |
3877 | 123 | ('type', '=', invoice_type), | 161 | ('type', '=', invoice_type), |
3878 | @@ -133,16 +171,21 @@ | |||
3879 | 133 | invoices = invoice_obj.browse(cr, uid, invoice_ids) | 171 | invoices = invoice_obj.browse(cr, uid, invoice_ids) |
3880 | 134 | refunds = invoice_obj.browse(cr, uid, refund_ids) | 172 | refunds = invoice_obj.browse(cr, uid, refund_ids) |
3881 | 135 | 173 | ||
3882 | 136 | ## | ||
3883 | 137 | ## Calculate the invoiced amount | 174 | ## Calculate the invoiced amount |
3884 | 138 | ## Remove IRPF tax for invoice amount | 175 | ## Remove IRPF tax for invoice amount |
3885 | 139 | invoice_amount = 0 | 176 | invoice_amount = 0 |
3886 | 140 | for invoice in invoices: | 177 | for invoice in invoices: |
3888 | 141 | invoice_amount += self._calculate_total_invoice(cr, uid, invoice.id, context) | 178 | invoice_amount += self._calculate_total_invoice(cr, |
3889 | 179 | uid, | ||
3890 | 180 | invoice.id, | ||
3891 | 181 | context) | ||
3892 | 142 | 182 | ||
3893 | 143 | refund_amount = 0 | 183 | refund_amount = 0 |
3894 | 144 | for invoice in refunds: | 184 | for invoice in refunds: |
3896 | 145 | refund_amount += self._calculate_total_invoice(cr, uid, invoice.id, context) | 185 | refund_amount += self._calculate_total_invoice(cr, |
3897 | 186 | uid, | ||
3898 | 187 | invoice.id, | ||
3899 | 188 | context) | ||
3900 | 146 | 189 | ||
3901 | 147 | total_amount = invoice_amount - refund_amount | 190 | total_amount = invoice_amount - refund_amount |
3902 | 148 | 191 | ||
3903 | @@ -151,24 +194,25 @@ | |||
3904 | 151 | ## we will add an partner record to the report. | 194 | ## we will add an partner record to the report. |
3905 | 152 | if total_amount > report_obj.operations_limit: | 195 | if total_amount > report_obj.operations_limit: |
3906 | 153 | if invoice_type == 'out_invoice': | 196 | if invoice_type == 'out_invoice': |
3908 | 154 | operation_key = 'B' # Note: B = Sale operations | 197 | operation_key = 'B' # Note: B = Sale operations |
3909 | 155 | else: | 198 | else: |
3910 | 156 | assert invoice_type == 'in_invoice' | 199 | assert invoice_type == 'in_invoice' |
3914 | 157 | operation_key = 'A' # Note: A = Purchase operations | 200 | operation_key = 'A' # Note: A = Purchase operations |
3912 | 158 | |||
3913 | 159 | # | ||
3915 | 160 | # Get the default invoice address of the partner | 201 | # Get the default invoice address of the partner |
3916 | 161 | # | ||
3917 | 162 | address = None | 202 | address = None |
3919 | 163 | address_ids = partner_obj.address_get(cr, uid, [partner.id], ['invoice', 'default']) | 203 | address_ids = partner_obj.address_get(cr, |
3920 | 204 | uid, | ||
3921 | 205 | [partner.id], | ||
3922 | 206 | ['invoice', | ||
3923 | 207 | 'default']) | ||
3924 | 164 | if address_ids.get('invoice'): | 208 | if address_ids.get('invoice'): |
3925 | 165 | address = partner_address_obj.browse(cr, uid, address_ids.get('invoice')) | 209 | address = partner_address_obj.browse(cr, uid, address_ids.get('invoice')) |
3926 | 166 | elif address_ids.get('default'): | 210 | elif address_ids.get('default'): |
3928 | 167 | address = partner_address_obj.browse(cr, uid, address_ids.get('default')) | 211 | address = partner_address_obj.browse(cr, |
3929 | 212 | uid, | ||
3930 | 213 | address_ids.get('default')) | ||
3931 | 168 | 214 | ||
3932 | 169 | # | ||
3933 | 170 | # Get the partner data | 215 | # Get the partner data |
3934 | 171 | # | ||
3935 | 172 | partner_vat = partner.vat and re.match(r"([A-Z]{0,2})(.*)", partner.vat).groups()[1] | 216 | partner_vat = partner.vat and re.match(r"([A-Z]{0,2})(.*)", partner.vat).groups()[1] |
3936 | 173 | partner_state_code = address.state_id and address.state_id.code or '' | 217 | partner_state_code = address.state_id and address.state_id.code or '' |
3937 | 174 | partner_country_code = address.country_id and address.country_id.code or '' | 218 | partner_country_code = address.country_id and address.country_id.code or '' |
3938 | @@ -177,44 +221,50 @@ | |||
3939 | 177 | 221 | ||
3940 | 178 | # Create the partner record | 222 | # Create the partner record |
3941 | 179 | partner_record = partner_record_obj.create(cr, uid, { | 223 | partner_record = partner_record_obj.create(cr, uid, { |
3944 | 180 | 'report_id': report_obj.id , | 224 | 'report_id': report_obj.id, |
3945 | 181 | 'operation_key' : operation_key, | 225 | 'operation_key': operation_key, |
3946 | 182 | 'partner_id': partner.id, | 226 | 'partner_id': partner.id, |
3947 | 183 | 'partner_vat': partner_vat, | 227 | 'partner_vat': partner_vat, |
3948 | 184 | 'representative_vat': '', | 228 | 'representative_vat': '', |
3949 | 185 | 'partner_state_code': partner_state_code, | 229 | 'partner_state_code': partner_state_code, |
3951 | 186 | 'partner_country_code' : partner_country_code, | 230 | 'partner_country_code': partner_country_code, |
3952 | 187 | 'amount': total_amount, | 231 | 'amount': total_amount, |
3953 | 188 | }) | 232 | }) |
3954 | 189 | 233 | ||
3955 | 190 | if invoice_type == 'out_invoice': | 234 | if invoice_type == 'out_invoice': |
3956 | 191 | receivable_partner_record = partner_record | 235 | receivable_partner_record = partner_record |
3957 | 192 | 236 | ||
3958 | 193 | # | ||
3959 | 194 | # Add the invoices detail to the partner record | 237 | # Add the invoices detail to the partner record |
3960 | 195 | # | ||
3961 | 196 | for invoice in invoices: | 238 | for invoice in invoices: |
3963 | 197 | amount = self._calculate_total_invoice(cr, uid, invoice.id, context) | 239 | amount = self._calculate_total_invoice(cr, |
3964 | 240 | uid, | ||
3965 | 241 | invoice.id, | ||
3966 | 242 | context) | ||
3967 | 198 | invoice_record_obj.create(cr, uid, { | 243 | invoice_record_obj.create(cr, uid, { |
3969 | 199 | 'partner_record_id' : partner_record, | 244 | 'partner_record_id': partner_record, |
3970 | 200 | 'invoice_id': invoice.id, | 245 | 'invoice_id': invoice.id, |
3971 | 201 | 'date': invoice.date_invoice, | 246 | 'date': invoice.date_invoice, |
3972 | 202 | 'amount': amount, | 247 | 'amount': amount, |
3973 | 203 | }) | 248 | }) |
3974 | 204 | for invoice in refunds: | 249 | for invoice in refunds: |
3976 | 205 | amount = self._calculate_total_invoice(cr, uid, invoice.id, context) | 250 | amount = self._calculate_total_invoice( |
3977 | 251 | cr, | ||
3978 | 252 | uid, | ||
3979 | 253 | invoice.id, | ||
3980 | 254 | context) | ||
3981 | 206 | invoice_record_obj.create(cr, uid, { | 255 | invoice_record_obj.create(cr, uid, { |
3983 | 207 | 'partner_record_id' : partner_record, | 256 | 'partner_record_id': partner_record, |
3984 | 208 | 'invoice_id': invoice.id, | 257 | 'invoice_id': invoice.id, |
3985 | 209 | 'date': invoice.date_invoice, | 258 | 'date': invoice.date_invoice, |
3986 | 210 | 'amount': -amount, | 259 | 'amount': -amount, |
3987 | 211 | }) | 260 | }) |
3988 | 212 | 261 | ||
3989 | 213 | # | ||
3990 | 214 | # Search for payments received in cash from this partner. | 262 | # Search for payments received in cash from this partner. |
3991 | 215 | # | ||
3992 | 216 | if cash_journal_ids: | 263 | if cash_journal_ids: |
3994 | 217 | cash_account_move_line_ids = self.pool.get('account.move.line').search(cr, uid, [ | 264 | cash_account_move_line_ids = self.pool.get('account.move.line').search( |
3995 | 265 | cr, | ||
3996 | 266 | uid, | ||
3997 | 267 | [ | ||
3998 | 218 | ('partner_id', 'in', partner_grouped_cif), | 268 | ('partner_id', 'in', partner_grouped_cif), |
3999 | 219 | ('account_id', '=', partner.property_account_receivable.id), | 269 | ('account_id', '=', partner.property_account_receivable.id), |
4000 | 220 | ('journal_id', 'in', cash_journal_ids), | 270 | ('journal_id', 'in', cash_journal_ids), |
4001 | @@ -228,9 +278,7 @@ | |||
4002 | 228 | cash_account_move_lines = [] | 278 | cash_account_move_lines = [] |
4003 | 229 | received_cash_amount = 0.0 | 279 | received_cash_amount = 0.0 |
4004 | 230 | 280 | ||
4005 | 231 | # | ||
4006 | 232 | # Add the cash detail to the partner record if over limit | 281 | # Add the cash detail to the partner record if over limit |
4007 | 233 | # | ||
4008 | 234 | if received_cash_amount > report_obj.received_cash_limit: | 282 | if received_cash_amount > report_obj.received_cash_limit: |
4009 | 235 | cash_moves = {} | 283 | cash_moves = {} |
4010 | 236 | 284 | ||
4011 | @@ -289,32 +337,35 @@ | |||
4012 | 289 | 337 | ||
4013 | 290 | for line in cash_moves[record]: | 338 | for line in cash_moves[record]: |
4014 | 291 | self.pool.get('l10n.es.aeat.mod347.cash_record').create(cr, uid, { | 339 | self.pool.get('l10n.es.aeat.mod347.cash_record').create(cr, uid, { |
4017 | 292 | 'partner_record_id' : partner_rec, | 340 | 'partner_record_id': partner_rec, |
4018 | 293 | 'move_line_id' : line.id, | 341 | 'move_line_id': line.id, |
4019 | 294 | 'date': line.date, | 342 | 'date': line.date, |
4020 | 295 | 'amount': line.credit, | 343 | 'amount': line.credit, |
4021 | 296 | }) | 344 | }) |
4022 | 297 | 345 | ||
4023 | 298 | if recalculate: | 346 | if recalculate: |
4024 | 299 | report_obj.write({ | 347 | report_obj.write({ |
4027 | 300 | 'state' : 'calculated', | 348 | 'state': 'calculated', |
4028 | 301 | 'calculation_date' : time.strftime('%Y-%m-%d %H:%M:%S') | 349 | 'calculation_date': time.strftime('%Y-%m-%d %H:%M:%S') |
4029 | 302 | }) | 350 | }) |
4031 | 303 | 351 | ||
4032 | 304 | except Exception, ex: | 352 | except Exception, ex: |
4033 | 305 | raise | 353 | raise |
4034 | 306 | 354 | ||
4035 | 307 | return True | 355 | return True |
4036 | 308 | 356 | ||
4037 | 309 | |||
4038 | 310 | def calculation_threading(self, cr, uid, ids, context=None): | 357 | def calculation_threading(self, cr, uid, ids, context=None): |
4039 | 311 | if context is None: | 358 | if context is None: |
4040 | 312 | context = {} | 359 | context = {} |
4041 | 313 | 360 | ||
4043 | 314 | threaded_calculation = threading.Thread(target=self._calculate_records, args=(cr, uid, ids, context)) | 361 | threaded_calculation = threading.Thread(target=self._calculate_records, args=(cr, |
4044 | 362 | uid, | ||
4045 | 363 | ids, | ||
4046 | 364 | context)) | ||
4047 | 315 | threaded_calculation.start() | 365 | threaded_calculation.start() |
4048 | 316 | 366 | ||
4049 | 317 | return {} | 367 | return {} |
4050 | 318 | 368 | ||
4051 | 319 | l10n_es_aeat_mod347_calculate_records() | 369 | l10n_es_aeat_mod347_calculate_records() |
4052 | 370 | |||
4053 | 320 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: | 371 | # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
4054 | 321 | 372 | ||
4055 | === modified file 'l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py' (properties changed: -x to +x) | |||
4056 | --- l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py 2013-11-22 23:44:11 +0000 | |||
4057 | +++ l10n_es_aeat_mod347/wizard/export_mod347_to_boe.py 2013-12-27 10:08:05 +0000 | |||
4058 | @@ -21,14 +21,13 @@ | |||
4059 | 21 | # | 21 | # |
4060 | 22 | ############################################################################## | 22 | ############################################################################## |
4061 | 23 | 23 | ||
4070 | 24 | __author__ = "Luis Manuel Angueira Blanco (Pexego)" | 24 | |
4071 | 25 | 25 | from openerp.osv import orm | |
4072 | 26 | 26 | from openerp.osv import fields | |
4073 | 27 | from osv import osv | 27 | from openerp.tools.translate import _ |
4074 | 28 | from tools.translate import _ | 28 | |
4075 | 29 | 29 | ||
4076 | 30 | 30 | class l10n_es_aeat_mod347_export_to_boe(orm.AbstractModel): | |
4069 | 31 | class l10n_es_aeat_mod347_export_to_boe(osv.osv_memory): | ||
4077 | 32 | 31 | ||
4078 | 33 | _inherit = "l10n.es.aeat.report.export_to_boe" | 32 | _inherit = "l10n.es.aeat.report.export_to_boe" |
4079 | 34 | _name = "l10n.es.aeat.mod347.export_to_boe" | 33 | _name = "l10n.es.aeat.mod347.export_to_boe" |
4080 | @@ -40,14 +39,15 @@ | |||
4081 | 40 | 39 | ||
4082 | 41 | Format of the record: | 40 | Format of the record: |
4083 | 42 | Tipo registro 1 – Registro de declarante: | 41 | Tipo registro 1 – Registro de declarante: |
4084 | 42 | |||
4085 | 43 | Posiciones Descripción | 43 | Posiciones Descripción |
4086 | 44 | 1 Tipo de Registro | 44 | 1 Tipo de Registro |
4091 | 45 | 2-4 Modelo Declaración | 45 | 2-4 Modelo Declaración |
4092 | 46 | 5-8 Ejercicio | 46 | 5-8 Ejercicio |
4093 | 47 | 9-17 NIF del declarante | 47 | 9-17 NIF del declarante |
4094 | 48 | 18-57 Apellidos y nombre o razón social del declarante | 48 | 18-57 Apellidos y nombre o razón social del declarante |
4095 | 49 | 58 Tipo de soporte | 49 | 58 Tipo de soporte |
4097 | 50 | 59-67 Teléfono contacto | 50 | 59-67 Teléfono contacto |
4098 | 51 | 68-107 Apellidos y nombre contacto | 51 | 68-107 Apellidos y nombre contacto |
4099 | 52 | 108-120 Número identificativo de la declaración | 52 | 108-120 Número identificativo de la declaración |
4100 | 53 | 121-122 Declaración complementaria o substitutiva | 53 | 121-122 Declaración complementaria o substitutiva |
4101 | @@ -63,51 +63,70 @@ | |||
4102 | 63 | """ | 63 | """ |
4103 | 64 | text = '' | 64 | text = '' |
4104 | 65 | 65 | ||
4124 | 66 | text += '1' # Tipo de Registro | 66 | # Tipo de Registro |
4125 | 67 | text += '347' # Modelo Declaración | 67 | text += '1' |
4126 | 68 | text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio | 68 | # Modelo Declaración |
4127 | 69 | text += self._formatString(report.company_vat, 9) # NIF del declarante | 69 | text += '347' |
4128 | 70 | text += self._formatString(report.company_id.name, 40) # Apellidos y nombre o razón social del declarante | 70 | # Ejercicio |
4129 | 71 | text += self._formatString(report.support_type, 1) # Tipo de soporte | 71 | text += self._formatString(report.fiscalyear_id.code, 4) |
4130 | 72 | text += self._formatString(report.contact_phone, 9) # Persona de contacto (Teléfono) | 72 | # NIF del declarante |
4131 | 73 | text += self._formatString(report.contact_name, 40) # Persona de contacto (Apellidos y nombre) | 73 | text += self._formatString(report.company_vat, 9) |
4132 | 74 | text += self._formatNumber(report.number, 13) # Número identificativo de la declaración | 74 | # Apellidos y nombre o razón social del declarante |
4133 | 75 | text += self._formatString(report.type, 2).replace('N', ' ') # Declaración complementaria o substitutiva | 75 | text += self._formatString(report.company_id.name, 40) |
4134 | 76 | text += self._formatNumber(report.previous_number, 13) # Número identificativo de la declaración anterior | 76 | # Tipo de soporte |
4135 | 77 | text += self._formatNumber(report.total_partner_records, 9) # Número total de personas y entidades | 77 | text += self._formatString(report.support_type, 1) |
4136 | 78 | text += self._formatNumber(report.total_amount, 13, 2,True) # Importe total de las operaciones | 78 | # Persona de contacto (Teléfono) |
4137 | 79 | text += self._formatNumber(report.total_real_state_records, 9) # Número total de inmuebles | 79 | text += self._formatString(report.contact_phone, 9) |
4138 | 80 | text += self._formatNumber(report.total_real_state_amount, 13, 2) # Importe total de las operaciones de arrendamiento | 80 | # Persona de contacto (Apellidos y nombre) |
4139 | 81 | text += 206*' ' # Blancos | 81 | text += self._formatString(report.contact_name, 40) |
4140 | 82 | text += self._formatString(report.representative_vat, 9) # NIF del representante legal | 82 | # Número identificativo de la declaración |
4141 | 83 | text += 88*' ' # Blancos | 83 | text += self._formatNumber(report.number, 13) |
4142 | 84 | text += 13*' ' # Sello electrónico | 84 | # Declaración complementaria o substitutiva |
4143 | 85 | text += self._formatString(report.type, 2).replace('N', ' ') | ||
4144 | 86 | # Número identificativo de la declaración anterior | ||
4145 | 87 | text += self._formatNumber(report.previous_number, 13) | ||
4146 | 88 | # Número total de personas y entidades | ||
4147 | 89 | text += self._formatNumber(report.total_partner_records, 9) | ||
4148 | 90 | # Importe total de las operaciones | ||
4149 | 91 | text += self._formatNumber(report.total_amount, 13, 2, True) | ||
4150 | 92 | # Número total de inmuebles | ||
4151 | 93 | text += self._formatNumber(report.total_real_state_records, 9) | ||
4152 | 94 | # Importe total de las operaciones de arrendamiento | ||
4153 | 95 | text += self._formatNumber(report.total_real_state_amount, 13, 2) | ||
4154 | 96 | # Blancos | ||
4155 | 97 | text += 206 * ' ' | ||
4156 | 98 | # NIF del representante legal | ||
4157 | 99 | text += self._formatString(report.representative_vat, 9) | ||
4158 | 100 | # Blancos | ||
4159 | 101 | text += 88 * ' ' | ||
4160 | 102 | # Sello electrónico | ||
4161 | 103 | text += 13 * ' ' | ||
4162 | 85 | text += '\r\n' | 104 | text += '\r\n' |
4163 | 86 | 105 | ||
4166 | 87 | 106 | assert len(text) == 502, _( | |
4167 | 88 | assert len(text) == 502, _("The type 1 record must be 502 characters long") | 107 | "The type 1 record must be 502 characters long") |
4168 | 89 | return text | 108 | return text |
4169 | 90 | 109 | ||
4170 | 91 | |||
4171 | 92 | def _get_formated_partner_record(self, report, partner_record): | 110 | def _get_formated_partner_record(self, report, partner_record): |
4172 | 93 | """ | 111 | """ |
4173 | 94 | Returns a type 2, partner, formated record | 112 | Returns a type 2, partner, formated record |
4174 | 95 | 113 | ||
4175 | 96 | Format of the record: | 114 | Format of the record: |
4176 | 97 | Tipo de Registro 2 – Registro de declarado | 115 | Tipo de Registro 2 – Registro de declarado |
4177 | 116 | |||
4178 | 98 | Posiciones Descripción | 117 | Posiciones Descripción |
4179 | 99 | 1 Tipo de Registro | 118 | 1 Tipo de Registro |
4186 | 100 | 2-4 Modelo Declaración | 119 | 2-4 Modelo Declaración |
4187 | 101 | 5-8 Ejercicio | 120 | 5-8 Ejercicio |
4188 | 102 | 9-17 NIF del declarante | 121 | 9-17 NIF del declarante |
4189 | 103 | 18-26 NIF del declarado | 122 | 18-26 NIF del declarado |
4190 | 104 | 27-35 NIF del representante legal | 123 | 27-35 NIF del representante legal |
4191 | 105 | 36-75 Apellidos y nombre, razón social o denominación del declarado | 124 | 36-75 Apellidos y nombre, razón social o denominación del declarado |
4192 | 106 | 76 Tipo de hoja | 125 | 76 Tipo de hoja |
4194 | 107 | 77-80 Código provincia/país | 126 | 77-80 Código provincia/país |
4195 | 108 | 81 Blancos | 127 | 81 Blancos |
4196 | 109 | 82 Clave de operación | 128 | 82 Clave de operación |
4198 | 110 | 83-98 Importe de las operaciones | 129 | 83-98 Importe de las operaciones |
4199 | 111 | 98 Operación de seguro | 130 | 98 Operación de seguro |
4200 | 112 | 99 Arrendamiento local negocio | 131 | 99 Arrendamiento local negocio |
4201 | 113 | 100-114 Importe percibido en metálico | 132 | 100-114 Importe percibido en metálico |
4202 | @@ -125,124 +144,183 @@ | |||
4203 | 125 | 488-500 Sello electrónico | 144 | 488-500 Sello electrónico |
4204 | 126 | """ | 145 | """ |
4205 | 127 | text = '' | 146 | text = '' |
4236 | 128 | 147 | # Tipo de Registro | |
4237 | 129 | text += '2' # Tipo de Registro | 148 | text += '2' |
4238 | 130 | text += '347' # Modelo Declaración | 149 | # Modelo Declaración |
4239 | 131 | text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio | 150 | text += '347' |
4240 | 132 | text += self._formatString(report.company_vat, 9) # NIF del declarante | 151 | # Ejercicio |
4241 | 133 | text += self._formatString(partner_record.partner_vat, 9) # NIF del declarado | 152 | text += self._formatString(report.fiscalyear_id.code, 4) |
4242 | 134 | text += self._formatString(partner_record.representative_vat, 9) # NIF del representante legal | 153 | # NIF del declarante |
4243 | 135 | text += self._formatString(partner_record.partner_id.name, 40) # Apellidos y nombre, razón social o denominación del declarado | 154 | text += self._formatString(report.company_vat, 9) |
4244 | 136 | text += 'D' # Tipo de hoja: Constante ‘D’. | 155 | # NIF del declarado |
4245 | 137 | text += self._formatNumber(partner_record.partner_state_code, 2) # Código provincia | 156 | text += self._formatString(partner_record.partner_vat, 9) |
4246 | 138 | text += 3*' ' # Blancos | 157 | # NIF del representante legal |
4247 | 139 | text += self._formatString(partner_record.operation_key, 1) # Clave de operación | 158 | text += self._formatString(partner_record.representative_vat, 9) |
4248 | 140 | text += self._formatNumber(partner_record.amount, 13, 2,True) # Importe de las operaciones | 159 | # Apellidos y nombre, razón social o denominación del declarado |
4249 | 141 | text += self._formatBoolean(partner_record.insurance_operation) # Operación de seguro | 160 | text += self._formatString(partner_record.partner_id.name, 40) |
4250 | 142 | text += self._formatBoolean(partner_record.bussiness_real_state_rent) # Arrendamiento local negocio | 161 | # Tipo de hoja: Constante ‘D’. |
4251 | 143 | text += self._formatNumber(partner_record.cash_amount, 13, 2) # Importe percibido en metálico | 162 | text += 'D' |
4252 | 144 | text += self._formatNumber(partner_record.real_state_transmissions_amount, 13, 2,True) # Importe percibido por transmisiones de inmuebles sujetas a IVA | 163 | # Código provincia |
4253 | 145 | text += partner_record.origin_fiscalyear_id and self._formatString(partner_record.origin_fiscalyear_id.code, 4) or 4*'0' #Año de devengo de las operaciones en efectivo | 164 | text += self._formatNumber(partner_record.partner_state_code, 2) |
4254 | 146 | text += self._formatNumber(partner_record.first_quarter,13,2,True) | 165 | # Blancos |
4255 | 147 | text += self._formatNumber(partner_record.first_quarter_real_state_transmission_amount,13,2,True) | 166 | text += 3 * ' ' |
4256 | 148 | text += self._formatNumber(partner_record.second_quarter,13,2,True) | 167 | # Clave de operación |
4257 | 149 | text += self._formatNumber(partner_record.second_quarter_real_state_transmission_amount,13,2,True) | 168 | text += self._formatString(partner_record.operation_key, 1) |
4258 | 150 | text += self._formatNumber(partner_record.third_quarter,13,2,True) | 169 | # Importe de las operaciones |
4259 | 151 | text += self._formatNumber(partner_record.third_quarter_real_state_transmission_amount,13,2,True) | 170 | text += self._formatNumber(partner_record.amount, 13, 2, True) |
4260 | 152 | text += self._formatNumber(partner_record.fourth_quarter,13,2,True) | 171 | # Operación de seguro |
4261 | 153 | text += self._formatNumber(partner_record.fourth_quarter_real_state_transmission_amount,13,2,True) | 172 | text += self._formatBoolean(partner_record.insurance_operation) |
4262 | 154 | text += 237*' ' # Blancos | 173 | # Arrendamiento local negocio |
4263 | 155 | text += '\r\n' # Sello electrónico | 174 | text += self._formatBoolean(partner_record.bussiness_real_state_rent) |
4264 | 156 | 175 | # Importe percibido en metálico | |
4265 | 157 | assert len(text) == 502, _("The type 2-D record (partner) must be 502 characters long") | 176 | text += self._formatNumber(partner_record.cash_amount, 13, 2) |
4266 | 177 | # Importe percibido por transmisiones de inmuebles sujetas a IVA | ||
4267 | 178 | text += self._formatNumber(partner_record.real_state_transmissions_amount, 13, 2, True) | ||
4268 | 179 | # Año de devengo de las operaciones en efectivo | ||
4269 | 180 | text += partner_record.origin_fiscalyear_id and self._formatString(partner_record.origin_fiscalyear_id.code, 4) or 4*'0' | ||
4270 | 181 | # Importe de las operaciones del primer trimestre | ||
4271 | 182 | text += self._formatNumber(partner_record.first_quarter, 13, 2, True) | ||
4272 | 183 | # Importe percibido por transmisiones de inmuebles sujates a Iva Primer Trimestre | ||
4273 | 184 | text += self._formatNumber(partner_record.first_quarter_real_state_transmission_amount, 13, 2, True) | ||
4274 | 185 | # Importe de las operaciones del segundo trimestre | ||
4275 | 186 | text += self._formatNumber(partner_record.second_quarter, 13, 2, True) | ||
4276 | 187 | # Importe percibido por transmisiones de inmuebles sujates a Iva Segundo Trimestre | ||
4277 | 188 | text += self._formatNumber(partner_record.second_quarter_real_state_transmission_amount, 13, 2, True) | ||
4278 | 189 | # Importe de las operaciones del tercer trimestre | ||
4279 | 190 | text += self._formatNumber(partner_record.third_quarter, 13, 2, True) | ||
4280 | 191 | # Importe percibido por transmisiones de inmuebles sujates a Iva Tercer Trimestre | ||
4281 | 192 | text += self._formatNumber(partner_record.third_quarter_real_state_transmission_amount, 13, 2, True) | ||
4282 | 193 | # Importe de las operaciones del cuarto trimestre | ||
4283 | 194 | text += self._formatNumber(partner_record.fourth_quarter, 13, 2, True) | ||
4284 | 195 | # Importe percibido por transmisiones de inmuebles sujates a Iva Cuarto Trimestre | ||
4285 | 196 | text += self._formatNumber(partner_record.fourth_quarter_real_state_transmission_amount, 13, 2, True) | ||
4286 | 197 | # Blancos | ||
4287 | 198 | text += 237 * ' ' | ||
4288 | 199 | # Sello electrónico | ||
4289 | 200 | text += '\r\n' | ||
4290 | 201 | |||
4291 | 202 | assert len(text) == 502, _( | ||
4292 | 203 | "The type 2-D record (partner) must be 502 characters long") | ||
4293 | 158 | return text | 204 | return text |
4294 | 159 | 205 | ||
4295 | 160 | |||
4296 | 161 | def _get_formated_real_state_record(self, report, partner_record): | 206 | def _get_formated_real_state_record(self, report, partner_record): |
4297 | 162 | """ | 207 | """ |
4300 | 163 | Returns a type 2, real estate, formated record | 208 | Returns a type 2, real state, formated record |
4299 | 164 | |||
4301 | 165 | Format of the record: | 209 | Format of the record: |
4302 | 166 | Tipo de Registro 2 – Registro de inmueble | 210 | Tipo de Registro 2 – Registro de inmueble |
4303 | 211 | |||
4304 | 167 | Posiciones Descripción | 212 | Posiciones Descripción |
4335 | 168 | 1 Tipo de Registro | 213 | 1 Tipo de Registro |
4336 | 169 | 2-4 Modelo Declaración | 214 | 2-4 Modelo Declaración |
4337 | 170 | 5-8 Ejercicio | 215 | 5-8 Ejercicio |
4338 | 171 | 9-17 NIF del declarante | 216 | 9-17 NIF del declarante |
4339 | 172 | 18-26 NIF del arrendatario | 217 | 18-26 NIF del arrendatario |
4340 | 173 | 27-35 NIF del representante legal | 218 | 27-35 NIF del representante legal |
4341 | 174 | 36-75 Apellidos y nombre, razón social o denominación del declarado | 219 | 36-75 Apellidos y nombre, razón social o denominación del declarado |
4342 | 175 | 76 Tipo de hoja | 220 | 76 Tipo de hoja |
4343 | 176 | 77-99 Blancos | 221 | 77-99 Blancos |
4344 | 177 | 100-114 Importe de la operación | 222 | 100-114 Importe de la operación |
4345 | 178 | 115 Situación del inmueble | 223 | 115 Situación del inmueble |
4346 | 179 | 116-140 Referencia catastral | 224 | 116-140 Referencia catastral |
4347 | 180 | 141-333 Dirección y datos del inmueble | 225 | 141-333 Dirección y datos del inmueble |
4348 | 181 | 141–145 TIPO DE VÍA | 226 | 141–145 TIPO DE VÍA |
4349 | 182 | 146–195 NOMBRE VÍA PUBLICA | 227 | 146–195 NOMBRE VÍA PUBLICA |
4350 | 183 | 196–198 TIPO DE NUMERACIÓN | 228 | 196–198 TIPO DE NUMERACIÓN |
4351 | 184 | 199–203 NUMERO DE CASA | 229 | 199–203 NUMERO DE CASA |
4352 | 185 | 204-206 CALIFICADOR DEL NUMERO | 230 | 204-206 CALIFICADOR DEL NUMERO |
4353 | 186 | 207–209 BLOQUE | 231 | 207–209 BLOQUE |
4354 | 187 | 210–212 PORTAL | 232 | 210–212 PORTAL |
4355 | 188 | 213–215 ESCALERA | 233 | 213–215 ESCALERA |
4356 | 189 | 216–218 PLANTA O PISO | 234 | 216–218 PLANTA O PISO |
4357 | 190 | 219–221 PUERTA | 235 | 219–221 PUERTA |
4358 | 191 | 222–261 COMPLEMENTO. | 236 | 222–261 COMPLEMENTO. |
4359 | 192 | 262–291 LOCALIDAD O POBLACIÓN. | 237 | 262–291 LOCALIDAD O POBLACIÓN. |
4360 | 193 | 292–321 MUNICIPIO | 238 | 292–321 MUNICIPIO |
4361 | 194 | 322–326 CODIGO DE MUNICIPIO | 239 | 322–326 CODIGO DE MUNICIPIO |
4362 | 195 | 327-328 CODIGO PROVINCIA | 240 | 327-328 CODIGO PROVINCIA |
4363 | 196 | 329-333 CODIGO POSTAL | 241 | 329-333 CODIGO POSTAL |
4364 | 197 | 334-500 Blancos | 242 | 334-500 Blancos |
4365 | 198 | """ | 243 | """ |
4366 | 199 | text = '' | 244 | text = '' |
4400 | 200 | 245 | # Tipo de Registro | |
4401 | 201 | text += '2' # Tipo de Registro | 246 | text += '2' |
4402 | 202 | text += '347' # Modelo Declaración | 247 | # Modelo Declaración |
4403 | 203 | text += self._formatString(report.fiscalyear_id.code, 4) # Ejercicio | 248 | text += '347' |
4404 | 204 | text += self._formatString(report.company_vat, 9) # NIF del declarante | 249 | # Ejercicio |
4405 | 205 | text += self._formatString(partner_record.partner_vat, 9) # NIF del declarado | 250 | text += self._formatString(report.fiscalyear_id.code, 4) |
4406 | 206 | text += self._formatString(partner_record.representative_vat, 9) # NIF del representante legal | 251 | # NIF del declarante |
4407 | 207 | text += self._formatString(partner_record.partner_id.name, 40) # Apellidos y nombre, razón social o denominación del declarado | 252 | text += self._formatString(report.company_vat, 9) |
4408 | 208 | text += 'I' # Tipo de hoja: Constante ‘I’. | 253 | # NIF del declarado |
4409 | 209 | text += 23*' ' # Blancos | 254 | text += self._formatString(partner_record.partner_vat, 9) |
4410 | 210 | text += self._formatNumber(partner_record.amount, 13, 2) # Importe de las operaciones | 255 | # NIF del representante legal |
4411 | 211 | text += self._formatNumber(partner_record.situation, 1) # Situación del inmueble | 256 | text += self._formatString(partner_record.representative_vat, 9) |
4412 | 212 | text += self._formatString(partner_record.reference, 25) # Referencia catastral | 257 | # Apellidos y nombre, razón social o denominación del declarado |
4413 | 213 | text += self._formatString(partner_record.address_type, 5) # TIPO DE VÍA | 258 | text += self._formatString(partner_record.partner_id.name, 40) |
4414 | 214 | text += self._formatString(partner_record.address, 50) # NOMBRE VÍA PUBLICA | 259 | # Tipo de hoja: Constante ‘I’. |
4415 | 215 | text += self._formatString(partner_record.number_type, 3) # TIPO DE NUMERACIÓN | 260 | text += 'I' |
4416 | 216 | text += self._formatNumber(partner_record.number, 5) # NUMERO DE CASA | 261 | # Blancos |
4417 | 217 | text += self._formatString(partner_record.number_calification, 3) # CALIFICADOR DEL NUMERO | 262 | text += 23 * ' ' |
4418 | 218 | text += self._formatString(partner_record.block, 3) # BLOQUE | 263 | # Importe de las operaciones |
4419 | 219 | text += self._formatString(partner_record.portal, 3) # PORTAL | 264 | text += self._formatNumber(partner_record.amount, 13, 2) |
4420 | 220 | text += self._formatString(partner_record.stairway, 3) # ESCALERA | 265 | # Situación del inmueble |
4421 | 221 | text += self._formatString(partner_record.floor, 3) # PLANTA O PISO | 266 | text += self._formatNumber(partner_record.situation, 1) |
4422 | 222 | text += self._formatString(partner_record.door, 3) # PUERTA | 267 | # Referencia catastral |
4423 | 223 | text += self._formatString(partner_record.complement, 40) # COMPLEMENTO | 268 | text += self._formatString(partner_record.reference, 25) |
4424 | 224 | text += self._formatString(partner_record.city, 30) # LOCALIDAD O POBLACIÓN | 269 | # TIPO DE VÍA |
4425 | 225 | text += self._formatString(partner_record.township, 30) # MUNICIPIO | 270 | text += self._formatString(partner_record.address_type, 5) |
4426 | 226 | text += self._formatString(partner_record.township_code, 5) # CODIGO DE MUNICIPIO | 271 | # NOMBRE VÍA PUBLICA |
4427 | 227 | text += self._formatString(partner_record.state_code, 2) # CODIGO PROVINCIA | 272 | text += self._formatString(partner_record.address, 50) |
4428 | 228 | text += self._formatString(partner_record.postal_code, 5) # CODIGO POSTAL | 273 | # TIPO DE NUMERACION |
4429 | 229 | text += 167*' ' # Blancos | 274 | text += self._formatString(partner_record.number_type, 3) |
4430 | 230 | text += '\r\n' # Sello electrónico | 275 | # NUMERO DE CASA |
4431 | 231 | 276 | text += self._formatNumber(partner_record.number, 5) | |
4432 | 232 | assert len(text) == 502, _("The type 2-I record (real estate) must be 502 characters long") | 277 | # CALIFICADOR DEL NUMERO |
4433 | 278 | text += self._formatString(partner_record.number_calification, 3) | ||
4434 | 279 | # BLOQUE | ||
4435 | 280 | text += self._formatString(partner_record.block, 3) | ||
4436 | 281 | # PORTAL | ||
4437 | 282 | text += self._formatString(partner_record.portal, 3) | ||
4438 | 283 | # ESCALERA | ||
4439 | 284 | text += self._formatString(partner_record.stairway, 3) | ||
4440 | 285 | # PLANTA O PISO | ||
4441 | 286 | text += self._formatString(partner_record.floor, 3) | ||
4442 | 287 | # PUERTA | ||
4443 | 288 | text += self._formatString(partner_record.door, 3) | ||
4444 | 289 | # COMPLEMENTO | ||
4445 | 290 | text += self._formatString(partner_record.complement, 40) | ||
4446 | 291 | # LOCALIDAD O POBLACIÓN | ||
4447 | 292 | text += self._formatString(partner_record.city, 30) | ||
4448 | 293 | # MUNICIPIO | ||
4449 | 294 | text += self._formatString(partner_record.township, 30) | ||
4450 | 295 | # CODIGO DE MUNICIPIO | ||
4451 | 296 | text += self._formatString(partner_record.township_code, 5) | ||
4452 | 297 | # CODIGO PROVINCIA | ||
4453 | 298 | text += self._formatString(partner_record.state_code, 2) | ||
4454 | 299 | # CODIGO POSTAL | ||
4455 | 300 | text += self._formatString(partner_record.postal_code, 5) | ||
4456 | 301 | # Blancos | ||
4457 | 302 | text += 167 * ' ' | ||
4458 | 303 | # Sello electrónico | ||
4459 | 304 | text += '\r\n' | ||
4460 | 305 | |||
4461 | 306 | assert len(text) == 502, _( | ||
4462 | 307 | "The type 2-I record (real state) must be 502 characters long") | ||
4463 | 233 | return text | 308 | return text |
4464 | 234 | 309 | ||
4465 | 235 | |||
4466 | 236 | def _get_formated_other_records(self, report): | 310 | def _get_formated_other_records(self, report): |
4467 | 237 | file_contents = '' | 311 | file_contents = '' |
4468 | 238 | 312 | ||
4469 | 239 | for real_state_record in report.real_state_record_ids: | 313 | for real_state_record in report.real_state_record_ids: |
4471 | 240 | file_contents += self._get_formated_real_state_record(report, real_state_record) | 314 | file_contents += self._get_formated_real_state_record(report, |
4472 | 315 | real_state_record) | ||
4473 | 241 | 316 | ||
4474 | 242 | return file_contents | 317 | return file_contents |
4475 | 243 | |||
4476 | 244 | 318 | ||
4477 | 245 | def _export_boe_file(self, cr, uid, ids, object_to_export, model=None, context=None): | 319 | def _export_boe_file(self, cr, uid, ids, object_to_export, model=None, context=None): |
4479 | 246 | return super(l10n_es_aeat_mod347_export_to_boe, self)._export_boe_file(cr, uid, ids, object_to_export, model='347') | 320 | return super(l10n_es_aeat_mod347_export_to_boe, self)._export_boe_file(cr, |
4480 | 321 | uid, | ||
4481 | 322 | ids, | ||
4482 | 323 | object_to_export, | ||
4483 | 324 | model='347') | ||
4484 | 247 | 325 | ||
4485 | 248 | l10n_es_aeat_mod347_export_to_boe() | 326 | l10n_es_aeat_mod347_export_to_boe() |
Hola Pedro:
Al final he borrado todo, actualizado la rama de la localizacion y vuelto a meter el modulo. Me daba conflictos y hacia el merge y me los daba tambien en el modulo 347.
Tal y como indicabas en la revision anterior, he agregado el icono png transparente y el svg como icon_source.
Un saludo