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

Module: Base

Entity: res.partner

Compute Method: _compute_has_vat

Inputs Method Outputs
for partner in self:
            vat = partner.vat
            partner.has_vat = vat and vat not in ('/', 'na', 'NA')

Back to entity