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: digest.digest

Compute Method: _compute_kpi_pos_total_value

Inputs Method Outputs
self._raise_if_not_member_of('point_of_sale.group_pos_user')
self._calculate_kpi(
            'pos.order',
            'kpi_pos_total_value',
            date_field='date_order',
            additional_domain=[('state', 'not in', ['draft', 'cancel'])],
            sum_field='amount_total',
        )

Back to entity