Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Spain - Accounting (PGCE 2008)

Entity: account.tax

Compute Method: _compute_l10n_es_regime_code

View 20.0
Inputs Method Outputs
  • l10n_es_regime_code
+ for tax in self:
+             valid = tax._l10n_es_regime_get_available_codes()
+             if tax.l10n_es_regime_code not in valid:
+                 tax.l10n_es_regime_code = False
  • l10n_es_regime_code

Back to entity