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

Module: Hungary - Accounting

Entity: res.partner

Compute Method: _compute_l10n_hu_eu_vat

Inputs Method Outputs
  • country_code
  • vat
for partner in self:
            if partner.country_code == 'HU' and partner.vat:
                partner.l10n_hu_eu_vat = partner._convert_hu_local_to_eu_vat(partner.vat)
            else:
                partner.l10n_hu_eu_vat = False

Back to entity