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

Module: Stock Inventory Verification Request

Entity: stock.slot.verification.request

Compute Method: _compute_involved_move_lines

Inputs Method Outputs
for rec in self:
            if rec.state == "open":
                rec.involved_move_line_ids = self.env["stock.move.line"].search(
                    rec._get_involved_move_lines_domain()
                )
            else:
                rec.involved_move_line_ids = self.env["stock.move.line"]

Back to entity