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

Module: Purchase

Entity: purchase.order.line

Compute Method: _compute_qty_received_at_date

Inputs Method Outputs
if not self._date_in_the_past():
            for line in self:
                line.qty_received_at_date = line.qty_received
            return
received_quantities = self._prepare_qty_received()
for line in self:
            line.qty_received_at_date = received_quantities[line]

Back to entity