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

Module: Products & Pricelists

Entity: product.supplierinfo

Compute Method: _compute_price_discounted

Inputs Method Outputs
for rec in self:
            rec.price_discounted = rec.price * (1 - rec.discount / 100)

Back to entity