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

Module: Weighing assistant

Entity: stock.move

Compute Method: _compute_lot_names

Inputs Method Outputs
  • move_line_ids
  • move_line_ids.lot_id
"""To use in the kanban and show the list of lots for this move"""
self.lot_names = False
for move in self:
            move.lot_names = ",".join(move.move_line_ids.lot_id.mapped("name"))

Back to entity