Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: WMS Accounting
Entity: product.value
Compute Method: _compute_adjustment
| Inputs | Method | Outputs |
|---|---|---|
|
+ for product_value in self: + if product_value.move_id: + product_value.adjustment = product_value.new_value - product_value.old_value + else: + product_value.adjustment = (product_value.new_cost - product_value.old_cost) * product_value.quantity |
|
