Skip to content

Commit 9b6338e

Browse files
committed
Merge PR #4933 into 19.0
Signed-off-by pedrobaeza
2 parents d435aff + 3aeb999 commit 9b6338e

29 files changed

Lines changed: 3350 additions & 0 deletions

l10n_es_aeat_mod296/README.rst

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
===============
6+
AEAT modelo 296
7+
===============
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:1a7e258dd7fdc0b7e25657b685e0ad4a58c928249b9052c829083c246e9ca390
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
24+
:target: https://github.com/OCA/l10n-spain/tree/19.0/l10n_es_aeat_mod296
25+
:alt: OCA/l10n-spain
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/l10n-spain-19-0/l10n-spain-19-0-l10n_es_aeat_mod296
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
Modelo 296 de la AEAT. Declaración Informativa. Retenciones e ingresos a
36+
cuenta del Impuesto sobre la Renta de no Residentes (sin establecimiento
37+
permanente). Resumen anual.
38+
39+
**Table of contents**
40+
41+
.. contents::
42+
:local:
43+
44+
Configuration
45+
=============
46+
47+
Debemos indicar los proveedores que son no residentes, en la ficha de la
48+
empresa:
49+
50+
1. Vaya a *Contactos*.
51+
2. Entrando al correspondiente, en la pestaña "Ventas y compras",
52+
seleccione en la posición fiscal la "Retención IRPF No residentes"
53+
que le corresponda.
54+
3. Al crear facturas para dicho contacto, se mapearán los impuestos
55+
necesarios siempre que la línea de la factura tenga el producto
56+
informado con el impuesto nacional adecuado.
57+
58+
Usage
59+
=====
60+
61+
Para crear un modelo, por ejemplo de un trimestre del año:
62+
63+
1. Ir a Contabilidad > Informe > Informes legales > Declaraciones AEAT >
64+
Modelo 296
65+
2. Pulsar en el botón "Crear"
66+
3. Seleccionar el ejercicio fiscal y el tipo de período, los periodos
67+
incluidos se calculan automáticamente
68+
4. Seleccionar el tipo de declaración
69+
5. Rellenar el teléfono, necesario para la exportacion BOE
70+
6. Guardar y pulsar en el botón "Calcular"
71+
7. Rellenar (si es necesario) aquellos campos que Odoo no calcula
72+
automáticamente:
73+
74+
- Retenciones ingresadas: Casilla [04]
75+
76+
8. Cuando los valores sean los correctos, pulsar en el botón "Confirmar"
77+
9. Podemos exportar en formato BOE para presentarlo telemáticamente en
78+
el portal de la AEAT
79+
80+
Bug Tracker
81+
===========
82+
83+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
84+
In case of trouble, please check there if your issue has already been reported.
85+
If you spotted it first, help us to smash it by providing a detailed and welcomed
86+
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_aeat_mod296%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
87+
88+
Do not contact contributors directly about support or help with technical issues.
89+
90+
Credits
91+
=======
92+
93+
Authors
94+
-------
95+
96+
* Tecnativa
97+
* AvanzOSC
98+
* Qubiq
99+
100+
Contributors
101+
------------
102+
103+
- Ainara Galdona <ainara.galdona@avanzosc.es>
104+
- `Tecnativa <https://www.tecnativa.com>`__:
105+
106+
- Pedro M. Baeza
107+
- Antonio Espinosa
108+
- Victor M.M. Torres
109+
- David Bañón Gil
110+
111+
- Valentin Vinagre <valentin.vinagre@qubiq.es>
112+
113+
Maintainers
114+
-----------
115+
116+
This module is maintained by the OCA.
117+
118+
.. image:: https://odoo-community.org/logo.png
119+
:alt: Odoo Community Association
120+
:target: https://odoo-community.org
121+
122+
OCA, or the Odoo Community Association, is a nonprofit organization whose
123+
mission is to support the collaborative development of Odoo features and
124+
promote its widespread use.
125+
126+
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/19.0/l10n_es_aeat_mod296>`_ project on GitHub.
127+
128+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_es_aeat_mod296/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
2+
3+
from . import models
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright AvanzOSC - Ainara Galdona
2+
# Copyright 2016 - Tecnativa - Antonio Espinosa
3+
# Copyright 2016-2019 - Tecnativa - Pedro M. Baeza
4+
# Copyright 2018 Valentin Vinagre <valentin.vinagre@qubiq.es>
5+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
6+
7+
{
8+
"name": "AEAT modelo 296",
9+
"version": "19.0.1.0.0",
10+
"category": "Localisation/Accounting",
11+
"author": "Tecnativa, AvanzOSC, Qubiq, Odoo Community Association (OCA)",
12+
"website": "https://github.com/OCA/l10n-spain",
13+
"license": "AGPL-3",
14+
"depends": ["l10n_es_aeat", "l10n_es_aeat_mod216"],
15+
"data": [
16+
"security/ir.model.access.csv",
17+
"data/l10n.es.aeat.map.tax.csv",
18+
"data/l10n.es.aeat.map.tax.line.tax.csv",
19+
"data/l10n.es.aeat.map.tax.line.csv",
20+
"data/aeat.model.export.config.csv",
21+
"data/aeat.model.export.config.line.csv",
22+
"views/mod296_views.xml",
23+
"security/ir_rule.xml",
24+
],
25+
"installable": True,
26+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"id","name","date_end","model_number","model_id:id","date_start","date_end","active"
2+
"aeat_mod296_main_export_config","Mod.296",,"296","model_l10n_es_aeat_mod296_report",,,True
3+
"aeat_mod296_sub01_export_config","Mod.296 Perceptores",,"296",,,,False
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
id,export_config_id:id,"sequence","name","export_type","size","decimal_size","alignment","apply_sign","negative_sign","positive_sign","bool_no","bool_yes","expression","fixed_value","conditional_expression","repeat_expression","subconfig_id/id"
2+
"aeat_mod296_sub01_export_line_01","aeat_mod296_sub01_export_config",1,"Constante: tipo de registro","string",1,0,"left",,"N",0,,"X",,"2",,,
3+
"aeat_mod296_sub01_export_line_03","aeat_mod296_sub01_export_config",3,"Identificación: ejercicio","string",4,0,"left",,"N",0,,"X",${object.mod296_id.year},,,,
4+
"aeat_mod296_sub01_export_line_02","aeat_mod296_sub01_export_config",2,"Identificación: modelo","string",3,0,"left",,"N",0,,"X",,"296",,,
5+
"aeat_mod296_sub01_export_line_04","aeat_mod296_sub01_export_config",4,"Identificación: nif declarante","string",9,0,"left",,"N",0,,"X",${object.mod296_id.company_vat},,,,
6+
"aeat_mod296_sub01_export_line_05","aeat_mod296_sub01_export_config",5,"Identificación: nif perceptor","string",9,0,"left",,"N",0,,"X",${object.partner_id.vat},,,,
7+
"aeat_mod296_sub01_export_line_06","aeat_mod296_sub01_export_config",6,"Identificación: nif representante legal","string",9,0,"left",,"N",0,,"X",,,,,
8+
"aeat_mod296_sub01_export_line_07","aeat_mod296_sub01_export_config",7,"F/J","string",1,0,"left",,"N",0,,"X",${object.fisica_juridica},,,,
9+
"aeat_mod296_sub01_export_line_08","aeat_mod296_sub01_export_config",8,"Apellidos y nombre, razón social o denominación del perceptor","string",40,0,"left",,"N",0,,"X",${object.partner_id.name},,,,
10+
"aeat_mod296_sub01_export_line_09","aeat_mod296_sub01_export_config",9,"Espacios en blanco","string",14,0,"left",,"N",0,,"X",,,,,
11+
"aeat_mod296_sub01_export_line_10","aeat_mod296_sub01_export_config",10,"Fecha de devengo","string",8,0,"left",,"N",0,,"X",${object.fecha_devengo_export},,,,
12+
"aeat_mod296_sub01_export_line_11","aeat_mod296_sub01_export_config",11,"Naturaleza","string",1,0,"left",,"N",0,,"X",${object.naturaleza},,,,
13+
"aeat_mod296_sub01_export_line_12","aeat_mod296_sub01_export_config",12,"Clave","string",2,0,"left",,"N",0,,"X",${object.clave},,,,
14+
"aeat_mod296_sub01_export_line_13","aeat_mod296_sub01_export_config",13,"Subclave","string",2,0,"left",,"N",0,,"X",${object.subclave},,,,
15+
"aeat_mod296_sub01_export_line_14","aeat_mod296_sub01_export_config",14,"Base retenciones e ingresos a cuenta","float",13,2,right,True,"N",0,,"X",${object.base_retenciones_ingresos},,,,
16+
"aeat_mod296_sub01_export_line_15","aeat_mod296_sub01_export_config",15,"Porcentaje Retencion","float",4,2,right,,"N",0,,"X",${object.porcentaje_retencion},,,,
17+
"aeat_mod296_sub01_export_line_16","aeat_mod296_sub01_export_config",16,"Retenciones e ingresos a cuenta","float",13,2,right,,"N",0,,"X",${object.retenciones_ingresos},,,,
18+
"aeat_mod296_sub01_export_line_17","aeat_mod296_sub01_export_config",17,"Mediador","boolean",1,0,"left",,"N",0,,"X",${object.mediador},,,,
19+
"aeat_mod296_sub01_export_line_18","aeat_mod296_sub01_export_config",18,"Código","string",1,0,"left",,"N",0,,"X",${object.codigo},,,,
20+
"aeat_mod296_sub01_export_line_19","aeat_mod296_sub01_export_config",19,"Código emisor","string",12,0,"left",,"N",0,,"X",${object.codigo_emisor},,,,
21+
"aeat_mod296_sub01_export_line_20","aeat_mod296_sub01_export_config",20,"Pago","string",1,0,"left",,"N",0,,"X",${object.pago},,,,
22+
"aeat_mod296_sub01_export_line_21","aeat_mod296_sub01_export_config",21,"Tipo código","string",1,0,"left",,"N",0,,"X",${object.tipo_codigo},,,,
23+
"aeat_mod296_sub01_export_line_22","aeat_mod296_sub01_export_config",22,"Codigo cuenta valores: entidad","string",4,0,"left",,"N",0,,"X",,,,,
24+
"aeat_mod296_sub01_export_line_23","aeat_mod296_sub01_export_config",23,"Codigo cuenta valores: sucursal","string",4,0,"left",,"N",0,,"X",,,,,
25+
"aeat_mod296_sub01_export_line_24","aeat_mod296_sub01_export_config",24,"Codigo cuenta valores: d.c","string",4,0,"left",,"N",0,,"X",,,,,
26+
"aeat_mod296_sub01_export_line_25","aeat_mod296_sub01_export_config",25,"Codigo cuenta valores: número cuenta","string",10,0,"left",,"N",0,,"X",,,,,
27+
"aeat_mod296_sub01_export_line_26","aeat_mod296_sub01_export_config",26,"Pendiente","boolean",1,0,"left",,"N",0,,"X",${object.pendiente},,,,
28+
"aeat_mod296_sub01_export_line_27","aeat_mod296_sub01_export_config",27,"Ejercicio devengo","string",4,0,"left",,"N",0,,"X",${object.mod296_id.year},,,,
29+
"aeat_mod296_sub01_export_line_28","aeat_mod296_sub01_export_config",28,"Fecha de inicio del préstamo","string",8,0,"left",,"N",0,,"X",,,,,
30+
"aeat_mod296_sub01_export_line_29","aeat_mod296_sub01_export_config",29,"Fecha de vencimiento del préstamo","string",8,0,"left",,"N",0,,"X",,,,,
31+
"aeat_mod296_sub01_export_line_30","aeat_mod296_sub01_export_config",30,"Remuneración","string",5,0,"left",,"N",0,,"X",,,,,
32+
"aeat_mod296_sub01_export_line_31","aeat_mod296_sub01_export_config",31,"Al prestamista","string",7,0,"left",,"N",0,,"X",,,,,
33+
"aeat_mod296_sub01_export_line_32","aeat_mod296_sub01_export_config",32,"Compensaciones","string",12,0,"left",,"N",0,,"X",,,,,
34+
"aeat_mod296_sub01_export_line_33","aeat_mod296_sub01_export_config",33,"Garantias","string",12,0,"left",,"N",0,,"X",,,,,
35+
"aeat_mod296_sub01_export_line_34","aeat_mod296_sub01_export_config",34,"Direccion del perceptor: domicilio/address","string",50,0,"left",,"N",0,,"X",${object.domicilio},,,,
36+
"aeat_mod296_sub01_export_line_35","aeat_mod296_sub01_export_config",35,"Direccion del perceptor: complemento del domicilio","string",40,0,"left",,"N",0,,"X",${object.complemento_domicilio},,,,
37+
"aeat_mod296_sub01_export_line_36","aeat_mod296_sub01_export_config",36,"Direccion del perceptor: poblacion/ciudad","string",30,0,"left",,"N",0,,"X",${object.poblacion},,,,
38+
"aeat_mod296_sub01_export_line_37","aeat_mod296_sub01_export_config",37,"Direccion del perceptor: Provincia/estado/región","string",30,0,"left",,"N",0,,"X",${object.provincia.name},,,,
39+
"aeat_mod296_sub01_export_line_38","aeat_mod296_sub01_export_config",38,"Direccion del perceptor: código postal","string",10,0,"left",,"N",0,,"X",${object.zip},,,,
40+
"aeat_mod296_sub01_export_line_39","aeat_mod296_sub01_export_config",39,"Direccion del perceptor: código pais","string",2,0,"left",,"N",0,,"X",${object.pais.code},,,,
41+
"aeat_mod296_sub01_export_line_40","aeat_mod296_sub01_export_config",40,"Blancos","string",44,0,"left",,"N",0,,"X",,,,,
42+
"aeat_mod296_sub01_export_line_41","aeat_mod296_sub01_export_config",41,"NIF en el pais de residencia","string",20,0,"left",,"N",0,,"X",${object.nif_pais_residencia},,,,
43+
"aeat_mod296_sub01_export_line_42","aeat_mod296_sub01_export_config",42,"Fecha de nacimiento","string",8,0,"left",,"N",0,,"X",${object.fecha_nacimiento_export},,,,
44+
"aeat_mod296_sub01_export_line_43","aeat_mod296_sub01_export_config",43,"Lugar de nacimiento: ciudad","string",35,0,"left",,"N",0,,"X",${object.ciudad_nacimiento},,,,
45+
"aeat_mod296_sub01_export_line_44","aeat_mod296_sub01_export_config",44,"Lugar de nacimiento: código país","string",2,0,"left",,"N",0,,"X",${object.pais_nacimiento.code},,,,
46+
"aeat_mod296_sub01_export_line_45","aeat_mod296_sub01_export_config",45,"Pais o territorio de residencia fiscal","string",2,0,"left",,"N",0,,"X",${object.pais_residencia_fiscal.code},,,,
47+
"aeat_mod296_sub01_export_line_46","aeat_mod296_sub01_export_config",46,"Blancos","string",1,0,"left",,"N",0,,"X",,,,,
48+
"aeat_mod296_main_export_line_01","aeat_mod296_main_export_config",1,"Constante: tipo de registro","string",1,0,"left",,"N",0,,"X",,"1",,,
49+
"aeat_mod296_main_export_line_02","aeat_mod296_main_export_config",2,"Identificación: modelo","string",3,0,"left",,"N",0,,"X",,"296",,,
50+
"aeat_mod296_main_export_line_03","aeat_mod296_main_export_config",3,"Identificación: ejercicio","string",4,0,"left",,"N",0,,"X",${object.year},,,,
51+
"aeat_mod296_main_export_line_04","aeat_mod296_main_export_config",4,"Identificación: nif declarante","string",9,0,"left",,"N",0,,"X","${object.company_vat}",,,,
52+
"aeat_mod296_main_export_line_05","aeat_mod296_main_export_config",5,"Identificación: Apellidos o razón social","string",40,0,"left",,"N",0,,"X","${object.company_id.name",,,,
53+
"aeat_mod296_main_export_line_06","aeat_mod296_main_export_config",6,"Identificación: Tipo de soporte","string",1,0,"left",,"N",0,,"X",${object.support_type},,,,
54+
"aeat_mod296_main_export_line_07","aeat_mod296_main_export_config",7,"Persona con quien relacionarse: teléfono","string",9,0,"left",,"N",0,,"X",${object.contact_phone},,,,
55+
"aeat_mod296_main_export_line_08","aeat_mod296_main_export_config",8,"Persona con quien relacionarse: apellidos y nombre","string",40,0,"left",,"N",0,,"X",${object.contact_name},,,,
56+
"aeat_mod296_main_export_line_09","aeat_mod296_main_export_config",9,"Número identificativo de la declaración","string",13,0,"left",,"N",0,,"X",${object.name},,,,
57+
"aeat_mod296_main_export_line_10","aeat_mod296_main_export_config",10,"Complementaria - Declaración complementaria","boolean",1,0,"left",,"N",0,,"X",${object.statement_type == 'C'},,,,
58+
"aeat_mod296_main_export_line_11","aeat_mod296_main_export_config",11,"Complementaria - Declaración sustitutiva","boolean",1,0,"left",,"N",0,,"X",${object.statement_type == 'S'},,,,
59+
"aeat_mod296_main_export_line_12","aeat_mod296_main_export_config",12,"Complementaria - Número justificante declaración anterior","string",13,0,"left",,"N",0,,"X","${object.previous_number if object.statement_type in ('C','S') else ''}",,,,
60+
"aeat_mod296_main_export_line_13","aeat_mod296_main_export_config",13,"Número total de perceptores[01]","integer",9,0,"right",,"N",0,,"X",${object.casilla_01},,,,
61+
"aeat_mod296_main_export_line_14","aeat_mod296_main_export_config",14,"Base retenciones e ingresos a cuenta[02]","float",15,2,"right",True,"N",0,,"X",${object.casilla_02},,,,
62+
"aeat_mod296_main_export_line_15","aeat_mod296_main_export_config",15,"Base retenciones e ingresos a cuenta[03]","float",14,2,"right",,"N",0,,"X","${object.casilla_03}",,,,
63+
"aeat_mod296_main_export_line_16","aeat_mod296_main_export_config",16,"Base retenciones e ingresos a cuenta[04]","float",14,2,"right",,"N",0,,"X","${object.casilla_04}",,,,
64+
"aeat_mod296_main_export_line_17","aeat_mod296_main_export_config",17,"Espacios en blanco","string",201,0,"left",,"N",0,,"X",,,,,
65+
"aeat_mod296_main_export_line_18","aeat_mod296_main_export_config",18,"Identificación: nif representante legal","string",9,0,"left",,"N",0,,"X",${object.representative_vat},,,,
66+
"aeat_mod296_main_export_line_19","aeat_mod296_main_export_config",19,"Espacios en blanco","string",88,0,"left",,"N",0,,"X",,,,,
67+
"aeat_mod296_main_export_line_20","aeat_mod296_main_export_config",20,"Reservado para la administración: Sello electrónico","string",13,0,"left",,"N",0,,"X",,,,,
68+
"aeat_mod296_main_export_line_21","aeat_mod296_main_export_config",21,"Tipo de Registro 2 – Registro de perceptor","subconfig",0,0,,,"N",0,,"X",,,True,object.lines296,aeat_mod296_sub01_export_config
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,model,date_from,date_to
2+
aeat_mod296_map,296,,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
id,map_parent_id:id,field_number,field_type,sum_type,inverse,name,tax_xmlid_ids/id
2+
aeat_mod296_map_line_02,aeat_mod296_map,02,base,both,True,Sometidas a retención - Base ret. ing. cuenta,"p_irpfnrnue24p,p_irpfnrue19p"
3+
aeat_mod296_map_line_03,aeat_mod296_map,03,amount,both,False,Sometidas a retención - Retenciones ingresos a cuenta,"p_irpfnrnue24p,p_irpfnrue19p"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
id,name
2+
p_irpfnrnue24p,account_tax_template_p_irpfnrnue24p
3+
p_irpfnrue19p,account_tax_template_p_irpfnrue19p
105 KB
Binary file not shown.
298 KB
Binary file not shown.

0 commit comments

Comments
 (0)