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.putaway.rule

Compute Method: _compute_storage_category

View 17.0 View 19.0
Inputs Method Outputs
  • sublocation
+ for rule in self:
+             if rule.sublocation != 'closest_location':
+                 rule.storage_category_id = False
  • storage_category_id

Back to entity