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

Compute Method: _compute_count_linked_orders

Inputs Method Outputs
for record in self:
            record.count_linked_orders = self.env['pos.order'].search_count([('preset_id', 'in', record.ids)])

Back to entity