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

Module: Stock Cycle Count

Entity: stock.inventory

Compute Method: _compute_responsible_id

Inputs Method Outputs
for inv in self:
            if inv.cycle_count_id:
                inv.responsible_id = inv.cycle_count_id.responsible_id
                inv.stock_quant_ids.write(
                    {"user_id": inv.cycle_count_id.responsible_id}
                )

Back to entity