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

Module: Point of Sale

Entity: pos.payment.method

Compute Method: _compute_all_providers_installed

Inputs Method Outputs
providers_status = self.get_provider_status()
if providers_status and all(status['state'] == 'installed' for status in providers_status):
            self.all_providers_installed = True
        else:
            self.all_providers_installed = False

Back to entity