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_operation_id

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

Back to entity