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

View 20.0
Inputs Method Outputs
  • qty_received
+ 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]
  • qty_received_at_date

Back to entity