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.config.settings

Compute Method: _compute_account_peppol_edi_user

Inputs Method Outputs
  • company_id
  • company_id.account_edi_proxy_client_ids
for config in self:
            config.account_peppol_edi_user = config.company_id.account_edi_proxy_client_ids.filtered(
                lambda u: u.proxy_type in self.env['account_edi_proxy_client.user']._get_peppol_proxy_types())

Back to entity