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.product

Compute Method: _compute_base_unit_price

View 20.0
Inputs Method Outputs
  • id
  • lst_price
+ for product in self:
+             if not product.id:
+                 product.base_unit_price = 0
+             else:
+                 product.base_unit_price = product._get_base_unit_price(product.lst_price)
  • base_unit_price

Back to entity