Prorrata de IVA [303]

l10n_es_aeat_mod303_vat_prorate
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_mod303_vat_prorate
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
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, Andrii9090-tecnativa, Angel Rivas, christian-ramos-tecnativa, 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_vat_prorate
    - l10n_es_aeat
    - l10n_es_aeat_mod303
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
Este módulo contempla la casuística de prorrata en el modelo 303 cuando
se han creado ya los apuntes contables separados con el módulo
l10n_es_vat_prorate.

Esto es necesario si se cuenta con el SII y se debe enviar la
información ya seccionada.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
l10n_es_aeat_mod303_prorrata_form l10n.es.aeat.mod303.prorrata.form l10n.es.aeat.mod303.report field Inherits l10n_es_aeat_mod303.view_l10n_es_aeat_mod303_report_form
Models touched (1)

New fields (7)
  • casilla_44 Float
    default=0 help='Regularización por aplicación del porcentaje definitivo de prorrata.' readonly=True string='[44] Prorate regularization'
  • prorate_account_id Many2one → account.account
    comodel_name='account.account' help='This account will be the one where charging the regularization of the VAT prorate.' readonly=True string='Prorate regularization account'
  • prorate_analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' help='This analytic account will be the one where charging the regularization of the VAT prorate.' readonly=True string='Prorate regularization analytic account'
  • prorate_id Many2one → res.company.vat.prorate
    comodel_name='res.company.vat.prorate' compute='_compute_prorate_id' ondelete='restrict' store=True string='Prorate'
  • vat_prorate_percent Float
    default=100 readonly=True string='Definitive VAT prorate percentage'
  • with_special_vat_prorate Boolean
    compute='_compute_prorate_id' store=True
  • with_vat_prorate Boolean
    related='company_id.with_vat_prorate'
Public methods (3)
  • button_compute(self)
  • calculate(self)
    Calculate the field 44 according the definitive one and adjust results.
  • check_vat_prorate_percent(self)
    @api.constrains('vat_prorate_percent')
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_mod303_vat_prorate
VERSION
VERSION 3.1.0
CATEGORY
CATEGORYAccounting
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, oca-ci, Andrii9090-tecnativa, 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_vat_prorate
    - l10n_es_aeat
    - l10n_es_aeat_mod303
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
Este módulo contempla la casuística de prorrata en el modelo 303 cuando
se han creado ya los apuntes contables separados con el módulo
l10n_es_vat_prorate.

Esto es necesario si se cuenta con el SII y se debe enviar la
información ya seccionada.

Para el caso de que se quiera hacer la repartición con el asiento de
liquidación del IVA, utilizar l10n_es_aeat_vat_prorrate.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
l10n_es_aeat_mod303_prorrata_form l10n.es.aeat.mod303.prorrata.form l10n.es.aeat.mod303.report field Inherits l10n_es_aeat_mod303.view_l10n_es_aeat_mod303_report_form
Models touched (1)

New fields (7)
  • casilla_44 Float
    default=0 help='Regularización por aplicación del porcentaje definitivo de prorrata.' readonly=True string='[44] Prorate regularization'
  • prorate_account_id Many2one → account.account
    comodel_name='account.account' help='This account will be the one where charging the regularization of the VAT prorate.' readonly=True string='Prorate regularization account'
  • prorate_analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' help='This analytic account will be the one where charging the regularization of the VAT prorate.' readonly=True string='Prorate regularization analytic account'
  • prorate_id Many2one → res.company.vat.prorate
    comodel_name='res.company.vat.prorate' compute='_compute_prorate_id' ondelete='restrict' store=True string='Prorate'
  • vat_prorate_percent Float
    default=100 readonly=True string='Definitive VAT prorate percentage'
  • with_special_vat_prorate Boolean
    compute='_compute_prorate_id' store=True
  • with_vat_prorate Boolean
    related='company_id.with_vat_prorate'
Public methods (2)
  • calculate(self)
    Calculate the field 44 according the definitive one and adjust results.
  • check_vat_prorate_percent(self)
    @api.constrains('vat_prorate_percent')
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_mod303_vat_prorate
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
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, Carolina Fernandez, Andrii9090-tecnativa
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_vat_prorate
    - l10n_es_aeat
    - l10n_es_aeat_mod303
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 (1)
XML IDNameModelTypeStatus
l10n_es_aeat_mod303_prorrata_form l10n.es.aeat.mod303.prorrata.form l10n.es.aeat.mod303.report field Inherits l10n_es_aeat_mod303.view_l10n_es_aeat_mod303_report_form
Models touched (1)

New fields (7)
  • casilla_44 Float
    default=0 help='Regularización por aplicación del porcentaje definitivo de prorrata.' states={'done': [('readonly', True)]} string='[44] Prorate regularization'
  • prorate_account_id Many2one → account.account
    comodel_name='account.account' help='This account will be the one where charging the regularization of the VAT prorate.' readonly=True states={'calculated': [('readonly', False)]} string='Prorate regularization account'
  • prorate_analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' help='This analytic account will be the one where charging the regularization of the VAT prorate.' readonly=True states={'calculated': [('readonly', False)]} string='Prorate regularization analytic account'
  • prorate_id Many2one → res.company.vat.prorate
    comodel_name='res.company.vat.prorate' compute='_compute_prorate_id' ondelete='restrict' store=True string='Prorate'
  • vat_prorate_percent Float
    default=100 readonly=True states={'draft': [('readonly', False)]} string='Definitive VAT prorate percentage'
  • with_special_vat_prorate Boolean
    compute='_compute_prorate_id' store=True
  • with_vat_prorate Boolean
    related='company_id.with_vat_prorate'
Public methods (2)
  • calculate(self)
    Calculate the field 44 according the definitive one and adjust results.
  • check_vat_prorate_percent(self)
    @api.constrains('vat_prorate_percent')
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_mod303_vat_prorate
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
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, oca-ci
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_vat_prorate
    - l10n_es_aeat
    - l10n_es_aeat_mod303
    - 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 (1)
XML IDNameModelTypeStatus
l10n_es_aeat_mod303_prorrata_form l10n.es.aeat.mod303.prorrata.form l10n.es.aeat.mod303.report field Inherits l10n_es_aeat_mod303.view_l10n_es_aeat_mod303_report_form
Models touched (1)

New fields (5)
  • casilla_44 Float
    default=0 help='Regularización por aplicación del porcentaje definitivo de prorrata.' states={'done': [('readonly', True)]} string='[44] Prorate regularization'
  • prorate_account_id Many2one → account.account
    comodel_name='account.account' help='This account will be the one where charging the regularization of the VAT prorate.' readonly=True states={'calculated': [('readonly', False)]} string='Prorate regularization account'
  • prorate_analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' help='This analytic account will be the one where charging the regularization of the VAT prorate.' readonly=True states={'calculated': [('readonly', False)]} string='Prorate regularization analytic account'
  • vat_prorate_percent Float
    default=100 readonly=True states={'draft': [('readonly', False)]} string='Definitive VAT prorate percentage'
  • with_vat_prorate Boolean
    related='company_id.with_vat_prorate'
Public methods (2)
  • calculate(self)
    Calculate the field 44 according the definitive one and adjust results.
  • check_vat_prorate_percent(self)
    @api.constrains('vat_prorate_percent')
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-spain
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_es_aeat_mod303_vat_prorate: Migration to 19.0 (#4908)