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

Module: Inventory

Entity: digest.digest

Compute Method: _compute_kpi_stock_delivery_count_value

Inputs Method Outputs
self._raise_if_not_member_of('stock.group_stock_manager')
self._calculate_kpi(
            'stock.picking',
            'kpi_stock_delivery_count_value',
            date_field='date_done',
            additional_domain=[('state', '=', 'done'),
                               # view_move_search outgoing filter condition
                               ('location_id.usage', 'in', ('internal', 'transit')),
                               ('location_dest_id.usage', 'not in', ('internal', 'transit'))],
        )

Back to entity