Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
unidecode
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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
  • 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…

Loading…

Loading…