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

Module: Import/Export electronic invoices with UBL/CII

Entity: res.partner

Compute Method: _compute_available_routing_schemes

Inputs Method Outputs
for partner in self:
            partner.available_routing_schemes = [
                eas for eas in dict(partner._fields['routing_scheme'].selection)
                if eas not in DEPRECATED_ELECTRONIC_ADDRESS_SCHEMES_CODELIST or eas == partner.routing_scheme
            ]

Back to entity