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
| Inputs | Method | Outputs |
|---|---|---|
|
+ 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) |
|
