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.bill.line.match
Compute Method: _compute_product_uom_qty
| Inputs | Method | Outputs |
|---|---|---|
|
+ for line in self: + if line.product_id: + line.product_uom_qty = line.line_uom_id._compute_quantity(line.line_qty, line.product_uom_id) + else: + line.product_uom_qty = line.line_qty |
|
