AEAT modelo 390

l10n_es_aeat_mod390
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_mod390
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Pablo Cortés
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_mod303
    - 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 390 de la AEAT. Declaración-resumen anual del Impuesto sobre el
Valor Añadido.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report header Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.list l10n.es.aeat.mod390.report list Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_move_form account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (1)
  • is_bankrupcy_uncollectible_debt Boolean
    help='When this is set, the tax base and rate will be reflected in fields 31, 32, 45 and 46 of the AEAT 390 model' readonly=False string='Bankrupcy/uncollectible debt'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_taxes_for_company(self, company)
    Get taxes from map line, considering redirected map lines (since they use exactly the same taxes).

New fields (66)
  • casilla_108 Monetary
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Monetary
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Monetary
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Monetary
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Monetary
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Monetary
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Monetary
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Monetary
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Monetary
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Monetary
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Monetary
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Monetary
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Monetary
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Monetary
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Monetary
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Monetary
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Monetary
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Monetary
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Monetary
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Monetary
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_658 Monetary
    string='[658] Regularización cuotas art. 80. Cinco.5ª LIVA'
  • casilla_662 Monetary
    help='[662] Cuotas pendientes de compensación generadas en el ejercicio y distintas de las incluidas en la casilla 97' string='[662] Cuotas pendientes de compensación al término del ejercicio'
  • casilla_84 Monetary
    compute='_compute_casilla_84' store=True string='[84] Suma de resultados'
  • casilla_85 Monetary
    help='Se consignará el importe de las cuotas pendientes de compensación generadas en ejercicios anteriores y aplicadas en el ejercicio (es decir, que se hubiesen consignado en la casilla 78 de alguna de las autoliquidaciones del periodo).' string='[85] Compens. ejercicio anterior'
  • casilla_86 Monetary
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Monetary
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Monetary
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Monetary
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del primer representante'
  • first_representative_vat Char
    size=9 string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    size=40 string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    size=4 string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    size=40 string='5ª actividad'
  • other_fifth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    size=40 string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    size=4 string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    size=40 string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    size=40 string='2ª actividad'
  • other_second_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    size=4 string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    size=40 string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    size=4 string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del segundo representante'
  • second_representative_vat Char
    size=9 string='NIF del segundo representante'
  • third_representative_date Date
    string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del tercer representante'
  • third_representative_vat Char
    size=9 string='NIF del tercer representante'
  • use_303 Boolean
    default=False help="If it's checked, this report uses 303 reports for calculate fields 85, 95, 97, 98 and 662. When it's unchecked, you should fill them in. If you calculated first and then checked this option, you must calculate it again." args: 'Use 303 reports'
Public methods (2)
  • button_confirm(self)
    Check that the manual 303 results match the report.
  • calculate(self)
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_mod390
VERSION
VERSION 1.1.5
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, sergio, oca-ci, Emilio Pascual, sygel, Andrii Kompaniiets
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_mod303
    - 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 390 de la AEAT. Declaración-resumen anual del Impuesto sobre el
Valor Añadido.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report header Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.list l10n.es.aeat.mod390.report list Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_move_form account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (1)
  • is_bankrupcy_uncollectible_debt Boolean
    help='When this is set, the tax base and rate will be reflected in fields 31, 32, 45 and 46 of the AEAT 390 model' readonly=False string='Bankrupcy/uncollectible debt'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_taxes_for_company(self, company)
    Get taxes from map line, considering redirected map lines (since they use exactly the same taxes).

New fields (66)
  • casilla_108 Monetary
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Monetary
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Monetary
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Monetary
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Monetary
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Monetary
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Monetary
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Monetary
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Monetary
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Monetary
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Monetary
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Monetary
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Monetary
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Monetary
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Monetary
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Monetary
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Monetary
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Monetary
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Monetary
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Monetary
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_658 Monetary
    string='[658] Regularización cuotas art. 80. Cinco.5ª LIVA'
  • casilla_662 Monetary
    help='[662] Cuotas pendientes de compensación generadas en el ejercicio y distintas de las incluidas en la casilla 97' string='[662] Cuotas pendientes de compensación al término del ejercicio'
  • casilla_84 Monetary
    compute='_compute_casilla_84' store=True string='[84] Suma de resultados'
  • casilla_85 Monetary
    help='Se consignará el importe de las cuotas pendientes de compensación generadas en ejercicios anteriores y aplicadas en el ejercicio (es decir, que se hubiesen consignado en la casilla 78 de alguna de las autoliquidaciones del periodo).' string='[85] Compens. ejercicio anterior'
  • casilla_86 Monetary
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Monetary
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Monetary
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Monetary
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del primer representante'
  • first_representative_vat Char
    size=9 string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    size=40 string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    size=4 string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    size=40 string='5ª actividad'
  • other_fifth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    size=40 string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    size=4 string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    size=40 string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    size=40 string='2ª actividad'
  • other_second_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    size=4 string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    size=40 string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    size=4 string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del segundo representante'
  • second_representative_vat Char
    size=9 string='NIF del segundo representante'
  • third_representative_date Date
    string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del tercer representante'
  • third_representative_vat Char
    size=9 string='NIF del tercer representante'
  • use_303 Boolean
    default=False help="If it's checked, this report uses 303 reports for calculate fields 85, 95, 97, 98 and 662. When it's unchecked, you should fill them in. If you calculated first and then checked this option, you must calculate it again." args: 'Use 303 reports'
Public methods (2)
  • button_confirm(self)
    Check that the manual 303 results match the report.
  • calculate(self)
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_mod390
VERSION
VERSION 1.9.4
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Emilio Pascual, LauraCForgeFlow, EmilioPascual, Ignacio, sygel
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_mod303
    - 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 390 de la AEAT. Declaración-resumen anual del Impuesto sobre el
Valor Añadido.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report header Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_move_form account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (1)
  • is_bankrupcy_uncollectible_debt Boolean
    help='When this is set, the tax base and rate will be reflected in fields 31, 32, 45 and 46 of the AEAT 390 model' readonly=False string='Bankrupcy/uncollectible debt'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_taxes_for_company(self, company)
    Get taxes from map line, considering redirected map lines (since they use exactly the same taxes).

New fields (66)
  • casilla_108 Monetary
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Monetary
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Monetary
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Monetary
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Monetary
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Monetary
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Monetary
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Monetary
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Monetary
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Monetary
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Monetary
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Monetary
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Monetary
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Monetary
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Monetary
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Monetary
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Monetary
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Monetary
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Monetary
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Monetary
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_658 Monetary
    string='[658] Regularización cuotas art. 80. Cinco.5ª LIVA'
  • casilla_662 Monetary
    help='[662] Cuotas pendientes de compensación generadas en el ejercicio y distintas de las incluidas en la casilla 97' string='[662] Cuotas pendientes de compensación al término del ejercicio'
  • casilla_84 Monetary
    compute='_compute_casilla_84' store=True string='[84] Suma de resultados'
  • casilla_85 Monetary
    help='Se consignará el importe de las cuotas pendientes de compensación generadas en ejercicios anteriores y aplicadas en el ejercicio (es decir, que se hubiesen consignado en la casilla 78 de alguna de las autoliquidaciones del periodo).' string='[85] Compens. ejercicio anterior'
  • casilla_86 Monetary
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Monetary
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Monetary
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Monetary
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del primer representante'
  • first_representative_vat Char
    size=9 string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    size=40 string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    size=4 string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    size=40 string='5ª actividad'
  • other_fifth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    size=40 string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    size=4 string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    size=40 string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    size=4 string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    size=40 string='2ª actividad'
  • other_second_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    size=4 string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    size=40 string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    size=4 string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del segundo representante'
  • second_representative_vat Char
    size=9 string='NIF del segundo representante'
  • third_representative_date Date
    string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP size=80 string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP size=12 string='Notaría del tercer representante'
  • third_representative_vat Char
    size=9 string='NIF del tercer representante'
  • use_303 Boolean
    default=False help="If it's checked, this report uses 303 reports for calculate fields 85, 95, 97, 98 and 662. When it's unchecked, you should fill them in. If you calculated first and then checked this option, you must calculate it again." args: 'Use 303 reports'
Public methods (2)
  • button_confirm(self)
    Check that the manual 303 results match the report.
  • calculate(self)
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_mod390
VERSION
VERSION 2.12.3
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Jairo Llopis, Enric Tobella, Omar (Comunitea), Weblate, OCA-git-bot, oca-ci, Emilio Pascual, angel, LauraCForgeFlow, EmilioPascual, FernandoRomera
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_mod303
    - 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 (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report header Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_move_form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (1)
  • is_bankrupcy_uncollectible_debt Boolean
    help='When this is set, the tax base and rate will be reflected in fields 31, 32, 45 and 46 of the AEAT 390 model' readonly=True states={'draft': [('readonly', False)]} string='Bankrupcy/uncollectible debt'
Public methods (0)

No public methods.

New fields (66)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_658 Float
    string='[658] Regularización cuotas art. 80. Cinco.5ª LIVA'
  • casilla_662 Float
    help='[662] Cuotas pendientes de compensación generadas en el ejercicio y distintas de las incluidas en la casilla 97' readonly=True states=REQUIRED_ON_CALCULATED string='[662] Cuotas pendientes de compensación al término del ejercicio'
  • casilla_84 Float
    compute='_compute_casilla_84' readonly=True string='[84] Suma de resultados'
  • casilla_85 Float
    help='Se consignará el importe de las cuotas pendientes de compensación generadas en ejercicios anteriores y aplicadas en el ejercicio (es decir, que se hubiesen consignado en la casilla 78 de alguna de las autoliquidaciones del periodo).' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
  • use_303 Boolean
    default=False help="If it's checked, this report uses 303 reports for calculate fields 85, 95, 97, 98 and 662. When it's unchecked, you should fill them in. If you calculated first and then checked this option, you must calculate it again." args: 'Use 303 reports'
Public methods (3)
  • button_confirm(self)
    Check that the manual 303 results match the report.
  • calculate(self)
  • get_taxes_from_map(self, map_line)
    Get taxes from map line, considering redirected map lines (since they use exactly the same taxes).
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_mod390
VERSION
VERSION 2.10.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Jordi Ballester Alomar, OCA Transbot, Omar (Comunitea), Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel, angel, LauraCForgeFlow, EmilioPascual, Juanma WVBS S.L, Angel Rivas
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_mod303
    - 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 cryptography
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report header Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
view_move_form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (1)
  • is_bankrupcy_uncollectible_debt Boolean
    help='When this is set, the tax base and rate will be reflected in fields 31, 32, 45 and 46 of the AEAT 390 model' readonly=True states={'draft': [('readonly', False)]} string='Bankrupcy/uncollectible debt'
Public methods (0)

No public methods.

New fields (64)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_662 Float
    help='[662] Cuotas pendientes de compensación generadas en el ejercicio y distintas de las incluidas en la casilla 97' readonly=True states=REQUIRED_ON_CALCULATED string='[662] Cuotas pendientes de compensación al término del ejercicio'
  • casilla_85 Float
    help='Se consignará el importe de las cuotas pendientes de compensación generadas en ejercicios anteriores y aplicadas en el ejercicio (es decir, que se hubiesen consignado en la casilla 78 de alguna de las autoliquidaciones del periodo).' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
  • use_303 Boolean
    default=False help="If it's checked, this report uses 303 reports for calculate fields 85, 95, 97, 98 and 662. When it's unchecked, you should fill them in. If you calculated first and then checked this option, you must calculate it again." args: 'Use 303 reports'
Public methods (3)
  • button_confirm(self)
    Check that the manual 303 results match the report.
  • calculate(self)
  • get_taxes_from_map(self, map_line)
    Get taxes from map line, considering redirected map lines (since they use exactly the same taxes).
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_mod390
VERSION
VERSION 3.4.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Omar (Comunitea), oca-travis, Weblate, OCA-git-bot, oca-ci, angel
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_mod303
    - l10n_es_aeat
    - l10n_es_extra_data
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_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (62)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
Public methods (1)
  • button_confirm(self)
    Check that the manual 303 results match the report.
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_mod390
VERSION
VERSION 3.3.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Omar (Comunitea), oca-travis, Weblate, OCA-git-bot, oca-ci, Valentin Vinagre Urteaga
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_mod303
    - 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 pyOpenSSL
unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (62)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
Public methods (1)
  • button_confirm(self)
    Check that the manual 303 results match the report.
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_mod390
VERSION
VERSION 5.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Enric Tobella, Jordi Ballester Alomar, cubells, OCA Transbot, oca-travis, Roberto Lizana, Weblate, OCA-git-bot, oca-ci, César López Ramírez, Joan Francesc Arbona
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_mod303_extra_data
    - l10n_es_irnr
    - l10n_es_aeat_mod303
    - l10n_es_aeat
    - l10n_es_extra_data
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_iban
    - 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_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (62)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 4ª actividad'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 2ª actividad'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código 3ª actividad'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
Public methods (1)
  • button_confirm(self)
    Check that the manual 303 results match the report.
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_mod390
VERSION
VERSION 6.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Rodrigo Bonilla, OCA Git Bot, oca-ci, Alejandro Ji Cheung, xAdrianC
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_mod303
    - l10n_es_aeat
OCA/server-ux:
    - date_range
odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_iban
    - base_vat
    - account_invoicing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (62)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION string='Código actividad principal (antiguo)'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad (antiguo)'
  • other_fifth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION string='Código 1ª actividad (antiguo)'
  • other_first_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad (antiguo)'
  • other_fourth_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad (antiguo)'
  • other_second_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad (antiguo)'
  • other_third_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain="[ '|', ('period_type', '=', False), ('period_type', '=', period_type), '&', '|', ('date_start', '=', False), ('date_start', '<=', date_start), '|', ('date_end', '=', False), ('date_end', '>=', date_end),]" string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
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_mod390
VERSION
VERSION 3.2.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, angelmoya, oca-travis, OCA-git-bot, 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
    - 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 (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (56)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_50 Float
    compute='_compute_casilla_50' store=True string='[50] Total bases imponibles deducibles en operaciones interiores de bienes de inversión'
  • casilla_51 Float
    compute='_compute_casilla_51' store=True string='[51] Total de cuotas deducibles en operaciones interiores de bienes de inversión'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_54 Float
    compute='_compute_casilla_54' store=True string='[54] Total base deducible importaciones bienes de inversión'
  • casilla_55 Float
    compute='_compute_casilla_55' store=True string='[55] Total cuota deducible importaciones bienes de inversión'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_58 Float
    compute='_compute_casilla_58' store=True string='[58] Total base deducible adq. intracomunitarias bienes de inversión'
  • casilla_59 Float
    compute='_compute_casilla_59' store=True string='[59] Total cuota deducible adq. intracomunitarias bienes de inversión'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=REQUIRED_ON_CALCULATED string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
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_mod390
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, OCA Git Bot
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
    - 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 (2)
XML IDNameModelTypeStatus
view_l10n_es_aeat_mod390_report_form l10n_es.aeat.mod390.report.form l10n.es.aeat.mod390.report group Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
view_l10n_es_aeat_mod390_report_tree l10n_es.aeat.mod390.report.tree l10n.es.aeat.mod390.report tree Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree
Models touched (1)

New fields (50)
  • casilla_108 Float
    compute='_compute_casilla_108' store=True string='[108] Total vol. oper.'
  • casilla_33 Float
    compute='_compute_casilla_33' store=True string='[33] Total bases IVA'
  • casilla_34 Float
    compute='_compute_casilla_34' store=True string='[34] Total cuotas IVA'
  • casilla_47 Float
    compute='_compute_casilla_47' store=True string='[47] Total cuotas IVA y recargo de equivalencia'
  • casilla_48 Float
    compute='_compute_casilla_48' store=True string='[48] Total base deducible operaciones corrientes'
  • casilla_49 Float
    compute='_compute_casilla_49' store=True string='[49] Total cuota deducible operaciones corrientes'
  • casilla_52 Float
    compute='_compute_casilla_52' store=True string='[52] Total base deducible importaciones corrientes'
  • casilla_53 Float
    compute='_compute_casilla_53' store=True string='[53] Total cuota deducible importaciones corrientes'
  • casilla_56 Float
    compute='_compute_casilla_56' store=True string='[56] Total base deducible adq. intracomunitarias bienes'
  • casilla_57 Float
    compute='_compute_casilla_57' store=True string='[57] Total cuota deducible adq. intracomunitarias bienes'
  • casilla_597 Float
    compute='_compute_casilla_597' store=True string='[597] Total base deducible adq. intracomunitarias servicios'
  • casilla_598 Float
    compute='_compute_casilla_598' store=True string='[598] Total cuota deducible adq. intracomunitarias servicios'
  • casilla_64 Float
    compute='_compute_casilla_64' store=True string='[64] Suma de deducciones'
  • casilla_65 Float
    compute='_compute_casilla_65' store=True string='[65] Result. rég. gral.'
  • casilla_85 Float
    help='Si en la autoliquidación del último período del ejercicio anterior resultó un saldo a su favor y usted optó por la compensación, consigne en esta casilla la cantidad a compensar, salvo que la misma haya sido modificada por la Administración, en cuyo caso se consignará esta última.' readonly=True states=EDITABLE_ON_CALCULATED string='[85] Compens. ejercicio anterior'
  • casilla_86 Float
    compute='_compute_casilla_86' store=True string='[86] Result. liquidación'
  • casilla_95 Float
    help='Se consignará la suma de las cantidades a ingresar por el Impuesto como resultado de las autoliquidaciones periódicas del ejercicio que no tributen en el régimen especial del grupo de entidades, incluyendo aquellas para las que se hubiese solicitado aplazamiento, fraccionamiento o no se hubiese efectuado el pago.' readonly=True states=REQUIRED_ON_CALCULATED string='[95] Total resultados a ingresar modelo 303'
  • casilla_97 Float
    help='Si el resultado de la última autoliquidación fue a compensar, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[97] Result. 303 último periodo a compensar'
  • casilla_98 Float
    help='Si el resultado de la última autoliquidación fue a devolver, consignará en esta casilla el importe de la misma.' readonly=True states=REQUIRED_ON_CALCULATED string='[98] Result. 303 último periodo a devolver'
  • first_representative_date Date
    readonly=True states=REQUIRED_ON_CALCULATED string='Fecha poder del primer representante'
  • first_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=REQUIRED_ON_CALCULATED string='Nombre del primer representante'
  • first_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=REQUIRED_ON_CALCULATED string='Notaría del primer representante'
  • first_representative_vat Char
    readonly=True size=9 states=REQUIRED_ON_CALCULATED string='NIF del primer representante'
  • has_347 Boolean
    default=True help='Marque la casilla si el sujeto pasivo ha efectuado con alguna persona o entidad operaciones por las que tenga obligación de presentar la declaración anual de operaciones con terceras personas (modelo 347).' string='¿Obligación del 347?'
  • main_activity Char
    readonly=True size=40 states=REQUIRED_ON_CALCULATED string='Actividad principal'
  • main_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=REQUIRED_ON_CALCULATED string='Código actividad principal'
  • main_activity_iae Char
    readonly=True size=4 states=REQUIRED_ON_CALCULATED string='Epígrafe I.A.E. actividad principal'
  • other_fifth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='5ª actividad'
  • other_fifth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 5ª actividad'
  • other_fifth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 5ª actividad'
  • other_first_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='1ª actividad'
  • other_first_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 1ª actividad'
  • other_first_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 1ª actividad'
  • other_fourth_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='4ª actividad'
  • other_fourth_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 4ª actividad'
  • other_fourth_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 4ª actividad'
  • other_second_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='2ª actividad'
  • other_second_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 2ª actividad'
  • other_second_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 2ª actividad'
  • other_third_activity Char
    readonly=True size=40 states=EDITABLE_ON_CALCULATED string='3ª actividad'
  • other_third_activity_code Selection
    readonly=True selection=ACTIVITY_CODE_SELECTION states=EDITABLE_ON_CALCULATED string='Código 3ª actividad'
  • other_third_activity_iae Char
    readonly=True size=4 states=EDITABLE_ON_CALCULATED string='Epígrafe I.A.E. 3ª actividad'
  • second_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del segundo representante'
  • second_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del segundo representante'
  • second_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del segundo representante'
  • second_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del segundo representante'
  • third_representative_date Date
    readonly=True states=EDITABLE_ON_CALCULATED string='Fecha poder del tercer representante'
  • third_representative_name Char
    help=REPRESENTATIVE_HELP readonly=True size=80 states=EDITABLE_ON_CALCULATED string='Nombre del tercer representante'
  • third_representative_notary Char
    help=NOTARY_CODE_HELP readonly=True size=12 states=EDITABLE_ON_CALCULATED string='Notaría del tercer representante'
  • third_representative_vat Char
    readonly=True size=9 states=EDITABLE_ON_CALCULATED string='NIF del tercer representante'
Public methods (0)

No public methods.