Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.1.0
Category
Accounting
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 08:42:46
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, Andrii Kompaniiets, OCA-git-bot, oca-ci, Andrii9090-tecnativa, Angel Rivas, christian-ramos-tecnativa
Odoo dependencies
Python dependencies
unidecode
System dependencies
None
Required by
None
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 form Inherits l10n_es_aeat_mod303.view_l10n_es_aeat_mod303_report_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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')

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
157 days ago
Last activity
157 days ago
Repository
OCA/l10n-spain
Pull request
[19.0][MIG] l10n_es_aeat_mod303_vat_prorate: Migration to 19.0 (#4908)