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

Module: eCommerce

Entity: product.template

Compute Method: _compute_base_unit_price

Inputs Method Outputs
  • list_price
for template in self:
            template.base_unit_price = template._get_base_unit_price(template.list_price)

Back to entity