AEAT modelo 216

l10n_es_aeat_mod216
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/19.0/l10n_es_aeat_mod216
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi_ubl_cii
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Modelo 216 de la AEAT. IRNR. Impuesto sobre la Renta de no Residentes.
Rentas obtenidas sin mediación de establecimiento permanente.
Retenciones e ingresos a cuenta.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report list Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (24)
  • casilla_01_pre_2024 Integer
    compute='_compute_casilla_01_pre_2024' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03_pre_2024 Monetary
    compute='_compute_casilla_03_pre_2024' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04_pre_2024 Integer
    help='Income not subject to retention - Number of recipients' readonly=False string='[04] # Recipients'
  • casilla_05 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[05] Número de rentas'
  • casilla_05_pre_2024 Monetary
    help='Income not subject to retention - Base amount' readonly=False string='[05] Base amount'
  • casilla_06 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[06] Número de rentas'
  • casilla_06_pre_2024 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=False string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta declaradas en las casillas 05 y 06.' string='[07] Número de rentas'
  • casilla_07_pre_2024 Monetary
    compute='_compute_casilla_07_pre_2024' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • casilla_08 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 05.' string='[08] Base de retenciones e ingresos a cuenta'
  • casilla_09 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 06.' string='[09] Base de retenciones e ingresos a cuenta'
  • casilla_10 Monetary
    compute='_compute_casilla_10' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta declaradas en las casillas 08 y 09.' string='[10] Base de retenciones e ingresos a cuenta'
  • casilla_11 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 05.' string='[11] Retenciones e ingresos a cuenta'
  • casilla_12 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 06.' string='[12] Retenciones e ingresos a cuenta'
  • casilla_13 Monetary
    compute='_compute_casilla_13' help='Se consignará el importe total de las retenciones e ingresos a cuenta declaradas en las casillas 11 y 12.' string='[13] Retenciones e ingresos a cuenta'
  • casilla_14 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[14] Número de rentas'
  • casilla_15 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[15] Número de rentas'
  • casilla_16 Integer
    compute='_compute_casilla_16' help='Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta declaradas en las casillas 14 y 15.' string='[16] Número de rentas'
  • casilla_17 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 14.' string='[17] Base de retenciones e ingresos a cuenta'
  • casilla_18 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 15.' string='[18] Base de retenciones e ingresos a cuenta'
  • casilla_19 Monetary
    compute='_compute_casilla_19' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en las casillas 17 y 18.' string='[19] Base de retenciones e ingresos a cuenta'
  • casilla_20 Monetary
    help='Deberá consignarse en esta casilla el importe correspondiente a declaraciones anteriores, por el mismo concepto, ejercicio y período, exclusivamente en caso de declaración complementaria.' string='[20] Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período'
  • casilla_21 Monetary
    compute='_compute_casilla_21' help='Deberá consignarse en esta casilla el importe correspondiente a la resta de las casillas 13 y 20' string='[21] Resultado a ingresar'
  • tipo_declaracion Selection
    default='I' readonly=False required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] string='Result type'
Public methods (1)
  • calculate(self)
    Calculate the report.
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/18.0/l10n_es_aeat_mod216
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Modelo 216 de la AEAT. IRNR. Impuesto sobre la Renta de no Residentes.
Rentas obtenidas sin mediación de establecimiento permanente.
Retenciones e ingresos a cuenta.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report list Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (24)
  • casilla_01_pre_2024 Integer
    compute='_compute_casilla_01_pre_2024' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03_pre_2024 Monetary
    compute='_compute_casilla_03_pre_2024' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04_pre_2024 Integer
    help='Income not subject to retention - Number of recipients' readonly=False string='[04] # Recipients'
  • casilla_05 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[05] Número de rentas'
  • casilla_05_pre_2024 Monetary
    help='Income not subject to retention - Base amount' readonly=False string='[05] Base amount'
  • casilla_06 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[06] Número de rentas'
  • casilla_06_pre_2024 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=False string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta declaradas en las casillas 05 y 06.' string='[07] Número de rentas'
  • casilla_07_pre_2024 Monetary
    compute='_compute_casilla_07_pre_2024' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • casilla_08 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 05.' string='[08] Base de retenciones e ingresos a cuenta'
  • casilla_09 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 06.' string='[09] Base de retenciones e ingresos a cuenta'
  • casilla_10 Monetary
    compute='_compute_casilla_10' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta declaradas en las casillas 08 y 09.' string='[10] Base de retenciones e ingresos a cuenta'
  • casilla_11 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 05.' string='[11] Retenciones e ingresos a cuenta'
  • casilla_12 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 06.' string='[12] Retenciones e ingresos a cuenta'
  • casilla_13 Monetary
    compute='_compute_casilla_13' help='Se consignará el importe total de las retenciones e ingresos a cuenta declaradas en las casillas 11 y 12.' string='[13] Retenciones e ingresos a cuenta'
  • casilla_14 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[14] Número de rentas'
  • casilla_15 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[15] Número de rentas'
  • casilla_16 Integer
    compute='_compute_casilla_16' help='Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta declaradas en las casillas 14 y 15.' string='[16] Número de rentas'
  • casilla_17 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 14.' string='[17] Base de retenciones e ingresos a cuenta'
  • casilla_18 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 15.' string='[18] Base de retenciones e ingresos a cuenta'
  • casilla_19 Monetary
    compute='_compute_casilla_19' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en las casillas 17 y 18.' string='[19] Base de retenciones e ingresos a cuenta'
  • casilla_20 Monetary
    help='Deberá consignarse en esta casilla el importe correspondiente a declaraciones anteriores, por el mismo concepto, ejercicio y período, exclusivamente en caso de declaración complementaria.' string='[20] Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período'
  • casilla_21 Monetary
    compute='_compute_casilla_21' help='Deberá consignarse en esta casilla el importe correspondiente a la resta de las casillas 13 y 20' string='[21] Resultado a ingresar'
  • tipo_declaracion Selection
    default='I' readonly=False required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] string='Result type'
Public methods (1)
  • calculate(self)
    Calculate the report.
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/17.0/l10n_es_aeat_mod216
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSGitHub, Jairo Llopis, Weblate, OCA-git-bot, oca-ci, Emilio Pascual, Ignacio, david-banon-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Modelo 216 de la AEAT. IRNR. Impuesto sobre la Renta de no Residentes.
Rentas obtenidas sin mediación de establecimiento permanente.
Retenciones e ingresos a cuenta.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (24)
  • casilla_01_pre_2024 Integer
    compute='_compute_casilla_01_pre_2024' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03_pre_2024 Monetary
    compute='_compute_casilla_03_pre_2024' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04_pre_2024 Integer
    help='Income not subject to retention - Number of recipients' readonly=False string='[04] # Recipients'
  • casilla_05 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[05] Número de rentas'
  • casilla_05_pre_2024 Monetary
    help='Income not subject to retention - Base amount' readonly=False string='[05] Base amount'
  • casilla_06 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' string='[06] Número de rentas'
  • casilla_06_pre_2024 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=False string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta declaradas en las casillas 05 y 06.' string='[07] Número de rentas'
  • casilla_07_pre_2024 Monetary
    compute='_compute_casilla_07_pre_2024' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • casilla_08 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 05.' string='[08] Base de retenciones e ingresos a cuenta'
  • casilla_09 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 06.' string='[09] Base de retenciones e ingresos a cuenta'
  • casilla_10 Monetary
    compute='_compute_casilla_10' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta declaradas en las casillas 08 y 09.' string='[10] Base de retenciones e ingresos a cuenta'
  • casilla_11 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 05.' string='[11] Retenciones e ingresos a cuenta'
  • casilla_12 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 06.' string='[12] Retenciones e ingresos a cuenta'
  • casilla_13 Monetary
    compute='_compute_casilla_13' help='Se consignará el importe total de las retenciones e ingresos a cuenta declaradas en las casillas 11 y 12.' string='[13] Retenciones e ingresos a cuenta'
  • casilla_14 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[14] Número de rentas'
  • casilla_15 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." string='[15] Número de rentas'
  • casilla_16 Integer
    compute='_compute_casilla_16' help='Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta declaradas en las casillas 14 y 15.' string='[16] Número de rentas'
  • casilla_17 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 14.' string='[17] Base de retenciones e ingresos a cuenta'
  • casilla_18 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 15.' string='[18] Base de retenciones e ingresos a cuenta'
  • casilla_19 Monetary
    compute='_compute_casilla_19' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en las casillas 17 y 18.' string='[19] Base de retenciones e ingresos a cuenta'
  • casilla_20 Monetary
    help='Deberá consignarse en esta casilla el importe correspondiente a declaraciones anteriores, por el mismo concepto, ejercicio y período, exclusivamente en caso de declaración complementaria.' string='[20] Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período'
  • casilla_21 Monetary
    compute='_compute_casilla_21' help='Deberá consignarse en esta casilla el importe correspondiente a la resta de las casillas 13 y 20' string='[21] Resultado a ingresar'
  • tipo_declaracion Selection
    default='I' readonly=False required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] string='Result type'
Public methods (1)
  • calculate(self)
    Calculate the report.
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/16.0/l10n_es_aeat_mod216
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, oca-ci, EmilioPascual, Luis Rodriguez, FernandoRomera, Eduardo López Peñalver
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (24)
  • casilla_01_pre_2024 Integer
    compute='_compute_casilla_01_pre_2024' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03_pre_2024 Monetary
    compute='_compute_casilla_03_pre_2024' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04_pre_2024 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' readonly=True states={'calculated': [('readonly', False)]} string='[05] Número de rentas'
  • casilla_05_pre_2024 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Integer
    help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta en el mes o trimestre objeto de declaración.' readonly=True states={'calculated': [('readonly', False)]} string='[06] Número de rentas'
  • casilla_06_pre_2024 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Deberá consignarse el número total de rentas sobre las que el declarante haya venido obligado a retener o a efectuar ingreso a cuenta declaradas en las casillas 05 y 06.' readonly=True states={'calculated': [('readonly', False)]} string='[07] Número de rentas'
  • casilla_07_pre_2024 Monetary
    compute='_compute_casilla_07_pre_2024' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • casilla_08 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 05.' readonly=True states={'calculated': [('readonly', False)]} string='[08] Base de retenciones e ingresos a cuenta'
  • casilla_09 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 06.' readonly=True states={'calculated': [('readonly', False)]} string='[09] Base de retenciones e ingresos a cuenta'
  • casilla_10 Monetary
    compute='_compute_casilla_10' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta declaradas en las casillas 08 y 09.' readonly=True states={'calculated': [('readonly', False)]} string='[10] Base de retenciones e ingresos a cuenta'
  • casilla_11 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 05.' readonly=True states={'calculated': [('readonly', False)]} string='[11] Retenciones e ingresos a cuenta'
  • casilla_12 Monetary
    help='Se consignará el importe total de las retenciones e ingresos a cuenta que correspondan a las rentas declaradas en la casilla 06.' readonly=True states={'calculated': [('readonly', False)]} string='[12] Retenciones e ingresos a cuenta'
  • casilla_13 Monetary
    compute='_compute_casilla_13' help='Se consignará el importe total de las retenciones e ingresos a cuenta declaradas en las casillas 11 y 12.' readonly=True states={'calculated': [('readonly', False)]} string='[13] Retenciones e ingresos a cuenta'
  • casilla_14 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." readonly=True states={'calculated': [('readonly', False)]} string='[14] Número de rentas'
  • casilla_15 Integer
    help="Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta, conforme a lo previsto en los puntos 2 y 3 del artículo 2 de la Orden que aprueba este modelo (estos puntos se recogen en el apartado 'Obligados' de estas instrucciones como apartados Dos y Tres)." readonly=True states={'calculated': [('readonly', False)]} string='[15] Número de rentas'
  • casilla_16 Integer
    compute='_compute_casilla_16' help='Deberá consignarse el número total de rentas sujetas al impuesto exceptuadas de retención o de ingreso a cuenta declaradas en las casillas 14 y 15.' readonly=True states={'calculated': [('readonly', False)]} string='[16] Número de rentas'
  • casilla_17 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 14.' readonly=True states={'calculated': [('readonly', False)]} string='[17] Base de retenciones e ingresos a cuenta'
  • casilla_18 Monetary
    help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en la casilla 15.' readonly=True states={'calculated': [('readonly', False)]} string='[18] Base de retenciones e ingresos a cuenta'
  • casilla_19 Monetary
    compute='_compute_casilla_19' help='Se consignará la suma total de las bases de retención o de ingreso a cuenta correspondientes a las rentas declaradas en las casillas 17 y 18.' readonly=True states={'calculated': [('readonly', False)]} string='[19] Base de retenciones e ingresos a cuenta'
  • casilla_20 Monetary
    help='Deberá consignarse en esta casilla el importe correspondiente a declaraciones anteriores, por el mismo concepto, ejercicio y período, exclusivamente en caso de declaración complementaria.' readonly=True states={'calculated': [('readonly', False)]} string='[20] Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período'
  • casilla_21 Monetary
    compute='_compute_casilla_21' help='Deberá consignarse en esta casilla el importe correspondiente a la resta de las casillas 13 y 20' readonly=True states={'calculated': [('readonly', False)]} string='[21] Resultado a ingresar'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (1)
  • calculate(self)
    Calculate the report.
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/15.0/l10n_es_aeat_mod216
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Eduardo De Miguel, Luis Rodriguez
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_irnr
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Monetary
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Monetary
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/14.0/l10n_es_aeat_mod216
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, oca-ci, Núria Sancho, Luis Rodriguez
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_irnr
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography<39
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Monetary
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Monetary
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/13.0/l10n_es_aeat_mod216
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSVíctor Martínez, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_irnr
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Monetary
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Monetary
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/12.0/l10n_es_aeat_mod216
VERSION
VERSION 2.5.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, OCA-git-bot, Roberto Lizana Ramírez
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_irnr
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_iban
    - l10n_es
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES OpenSSL
requests
unidecode
zeep
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Monetary
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Monetary
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/11.0/l10n_es_aeat_mod216
VERSION
VERSION 2.2.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, OCA-git-bot, Victor Martin
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_irnr
OCA/server-ux:
    - date_range
odoo/odoo:
    - account_invoicing
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_iban
    - l10n_es
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Monetary
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Monetary
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Monetary
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Monetary
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/10.0/l10n_es_aeat_mod216
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Jordi Ballester, OCA Transbot, oca-travis, OCA-git-bot, Sergio Teruel Albert, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat_mod111
    - l10n_es
    - l10n_es_aeat
OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_partner_form_mod216 view.partner.form.mod296 res.partner group Inherits base_vat.view_partner_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Float
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Float
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Float
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

New fields (1)
  • is_non_resident Boolean
    oldname='is_resident' string='Is non-resident'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/9.0/l10n_es_aeat_mod216
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/l10n-spain:
    - l10n_es_aeat_mod111
    - l10n_es
    - l10n_es_aeat
OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report field Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_partner_form_mod216 view.partner.form.mod296 res.partner field Inherits base_vat.view_partner_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • casilla_01 Integer
    compute='_compute_casilla_01' help='Income subject to retention - Number of recipients' readonly=True string='[01] # Recipients'
  • casilla_03 Float
    compute='_compute_casilla_03' help='Income subject to retention - Amount of retentions' readonly=True string='[03] Amount of retentions'
  • casilla_04 Integer
    help='Income not subject to retention - Number of recipients' readonly=True states={'calculated': [('readonly', False)]} string='[04] # Recipients'
  • casilla_05 Float
    help='Income not subject to retention - Base amount' readonly=True states={'calculated': [('readonly', False)]} string='[05] Base amount'
  • casilla_06 Float
    help='Fee to compensate for prior results with same subject, fiscal year and period (in which his statement was to return and compensation back option was chosen).' readonly=True states={'calculated': [('readonly', False)]} string='[06] Fees to compensate'
  • casilla_07 Integer
    compute='_compute_casilla_07' help='Result: ([03] - [06])' readonly=True string='[07] Result'
  • tipo_declaracion Selection
    default='I' readonly=True required=True selection=[('I', 'To enter'), ('U', 'Direct debit'), ('G', 'To enter on CCT'), ('N', 'To return')] states={'draft': [('readonly', False)]} string='Result type'
Public methods (0)

No public methods.

New fields (1)
  • is_non_resident Boolean
    oldname='is_resident' string='Is non-resident'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/8.0/l10n_es_aeat_mod216
VERSION
VERSION 1.3.1
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Antiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Antiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE), cubells, OCA Transbot, Hugo Santos, oca-travis, agaldona, Antonio Espinosa, Jose Maria Alzaga
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-spain:
    - l10n_es_aeat
    - l10n_es_aeat_mod111
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod216_report_form l10n_es.aeat.mod216.report.form l10n.es.aeat.mod216.report button Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod216_report_tree l10n_es.aeat.mod216.report.tree l10n.es.aeat.mod216.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_partner_form_mod216 view.partner.form.mod296 res.partner field Inherits base_vat.view_partner_form
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (12)
  • casilla_01 Integer
    help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [01] Número de rentas' readonly=True states={'calculated': [('readonly', False)]} args: '[01] Número de rentas'
  • casilla_02 Float
    help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [02] Base de retenciones e ingresos a cuenta/Importe de las rentas' readonly=True states={'calculated': [('readonly', False)]} args: '[02] Base de retenciones'
  • casilla_03 Float
    help='Liquidación - Rentas sometidas a retención/ingreso a cuenta - Casilla [03] Retenciones e ingresos a cuenta' readonly=True states={'calculated': [('readonly', False)]} args: '[03] Retenciones'
  • casilla_04 Integer
    help='Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [04] Número de rentas' readonly=True states={'calculated': [('readonly', False)]} args: '[04] Número de rentas'
  • casilla_05 Float
    help='Liquidación - Rentas no sometidas a retención/ingreso a cuenta - Casilla [05] Base de retenciones e ingresos a cuenta/Importe de las rentas' readonly=True states={'calculated': [('readonly', False)]} args: '[05] Base de retenciones'
  • casilla_06 Float
    help='Liquidación - Casilla [06] A deducir (exclusivamente en caso de complementaria): Resultados a ingresar de anteriores declaraciones por el mismo concepto, ejercicio y período' readonly=True states={'calculated': [('readonly', False)]} args: '[06] Resultados a ingresar anteriores'
  • casilla_07 Integer
    compute='_compute_07' help='Liquidación - Casilla [07] Resultado a ingresar ([03] - [06])' readonly=True args: '[07] Resultado a ingresar'
  • currency_id Many2one → res.currency
    readonly=True related='company_id.currency_id' store=True string='Moneda' args: 'res.currency'
  • move_lines_base Many2many → account.move.line
    column1='mod216' column2='account_move_line' comodel_name='account.move.line' relation='mod216_account_move_lines_base_rel' string='Account move lines for bases'
  • move_lines_cuota Many2many → account.move.line
    column1='mod216' column2='account_move_line' comodel_name='account.move.line' relation='mod216_account_move_line_cuota_rel' string='Account move lines for amounts'
  • number Char
    default='216'
  • tipo_declaracion Selection
    readonly=True required=True states={'draft': [('readonly', False)]} string='Tipo de declaración' args: [('I', 'Ingreso'), ('U', 'Domiciliación'), ('G', 'Ingreso a anotar en CCT'), ('N', 'Negativa')]
Public methods (2)
  • calculate(self)
    @api.multi
  • show_move_lines(self)
    @api.multi

New fields (1)
  • is_non_resident Boolean
    oldname='is_resident' string='Is non-resident'
Public methods (0)

No public methods.