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

Module: Purchase Agreements

Entity: purchase.requisition.line

Compute Method: _compute_price_subtotal

Inputs Method Outputs
for line in self:
            line.price_subtotal = 0.0 if line.display_type else line.product_qty * line.price_unit

Back to entity