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_origin_names

Inputs Method Outputs
  • move_line_ids
  • move_line_ids.location_id
"""To use in the kanban and show the origin locations on this move
        eservation"""
self.origin_names = False
for move in self:
            move.origin_names = ",".join(move.move_line_ids.location_id.mapped("name"))

Back to entity