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

Module: MRP Multi Level

Entity: product.mrp.area

Compute Method: _compute_qty_available

Inputs Method Outputs
for rec in self:
            rec.qty_available = rec.product_id.with_context(
                location=rec._get_locations().ids
            ).qty_available

Back to entity