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

Module: Commissions

Entity: commission.mixin

Compute Method: _compute_commission_free

Inputs Method Outputs
"""Compute instead of a simple related to have a proper initialized value."""
for line in self:
            line.commission_free = line.product_id.commission_free

Back to entity