Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Vertical Lift
Entity: vertical.lift.operation.inventory
Compute Method: _compute_tray_data
| Inputs | Method | Outputs |
|---|---|---|
|
- for record in self: - location = record.quant_id.location_id - tray_type = location.location_id.tray_type_id - # this is the current cell - record.tray_location_id = location.id - # name of the tray where the cell is - record.tray_name = location.location_id.name - record.tray_type_id = tray_type.id - record.tray_type_code = tray_type.code - record.tray_x = location.posx - record.tray_y = location.posy - record.tray_matrix = location.tray_matrix |
|
