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

Module: Peppol

Entity: res.partner

Compute Method: _compute_available_peppol_sending_methods

Inputs Method Outputs
methods = dict(self._fields['invoice_sending_method'].selection)
if self.env.company.country_code not in PEPPOL_LIST:
            methods.pop('peppol')
self.available_peppol_sending_methods = list(methods)

Back to entity