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.abstract

Compute Method: _compute_product_qty

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

Back to entity