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

Module: Rma Batch

Entity: rma

Compute Method: _compute_user_id

Inputs Method Outputs
for rec in self:
            if rec.state != "draft":
                continue
            if rec.batch_id.user_id:
                rec.user_id = rec.batch_id.user_id

Back to entity