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: res.config.settings

Compute Method: _compute_replenish_on_order

Inputs Method Outputs
route = self.env.ref('stock.route_warehouse0_mto', raise_if_not_found=False)
if route:
            self.replenish_on_order = route.active

Back to entity