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

Module: Stock Request MRP

Entity: stock.request.order

Compute Method: _compute_production_ids

Inputs Method Outputs
for req in self:
            req.production_ids = req.stock_request_ids.mapped("production_ids")
            req.production_count = len(req.production_ids)

Back to entity