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

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

Back to entity