Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.0.0
Category
Invoices & Payments
Folder size
0.22 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 07:47:27
Authors
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Maintainers
Odoo Community Association (OCA), AvanzOSC, Tecnativa
Committers
Pedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-travis
Odoo dependencies
OCA/account-financial-reporting:
OCA/l10n-spain:
OCA/server-ux:
odoo/odoo:
- web
- bus
- uom
Python dependencies
cryptography<39, unidecode
System dependencies
None
Required by
l10n_es_aeat_vat_prorrate_asset
Description

Code Analysis

Views touched (2)
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
view_compute_vat_prorrate_form Compute VAT prorrate form l10n.es.aeat.compute.vat.prorrate form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • year Integer
    default=_default_year required=True
Public methods (1)
  • button_compute(self)

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] Regularización de la prorrata'
  • prorrate_regularization_account_id Many2one → account.account
    comodel_name='account.account' help='This account will be the one where charging the regularization of VAT prorrate.' string='Prorrate regularization account'
  • prorrate_regularization_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 prorrate.' string='Prorrate regularization analytic account'
  • vat_prorrate_percent Float
    default=100 readonly=True states={'draft': [('readonly', False)]} string='VAT prorrate percentage'
  • vat_prorrate_type Selection
    default='none' readonly=True required=True states={'draft': [('readonly', False)]} string='VAT prorrate type' args: [('none', 'None'), ('general', 'General prorrate')]
Public methods (2)
  • calculate(self)
  • check_vat_prorrate_percent(self)
    @api.constrains('vat_prorrate_percent')

Loading…

Loading…

Loading…

Loading…

Loading…