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

Entity: stock.request.allocation

Compute Method: _compute_requested_product_qty

Inputs Method Outputs
for rec in self:
            rec.requested_product_qty = rec.product_uom_id._compute_quantity(
                rec.requested_product_uom_qty,
                rec.product_id.uom_id,
                rounding_method="HALF-UP",
            )

Back to entity