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: stock.location

Compute Method: _compute_is_valued

View 19.0
Inputs Method Outputs
- for location in self:
-             if location._should_be_valued():
-                 location.is_valued_internal = True
-                 location.is_valued_external = False
-             else:
-                 location.is_valued_internal = False
-                 location.is_valued_external = True
  • is_valued_internal
  • is_valued_external

Back to entity