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

Module: Inventory

Entity: stock.location

Compute Method: _compute_replenish_location

View 17.0 View 19.0
Inputs Method Outputs
  • usage
for loc in self:
            if loc.usage != 'internal':
                loc.replenish_location = False
  • replenish_location

Back to entity