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

Compute Method: _compute_fast_payment_method_ids

Inputs Method Outputs
for config in self:
            config.fast_payment_method_ids = config.fast_payment_method_ids.filtered(lambda pm: pm.id in config.payment_method_ids.ids)
            if not config.fast_payment_method_ids:
                config.use_fast_payment = False

Back to entity