Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: PoS - Stock
Entity: pos.config
Compute Method: _compute_warehouse_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for config in self: + if config.picking_type_id.warehouse_id: + config.warehouse_id = config.picking_type_id.warehouse_id + else: + config.warehouse_id = config._default_warehouse_id() |
|
