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_partner_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for rec in self: + if rec.state != "draft": + continue + if rec.batch_id.partner_id: + rec.partner_id = rec.batch_id.partner_id |
|
