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

Module: Donation Mass

Entity: mass.request

Compute Method: _compute_offering

Inputs Method Outputs
for req in self:
            offering = 0.0
            if req.product_id and req.company_id:
                offering = req.company_id.currency_id.round(
                    req.quantity * req.product_id.list_price
                )
            req.offering = offering

Back to entity