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.batch

Compute Method: _compute_partner_invoice_id

Inputs Method Outputs
self.partner_invoice_id = False
for record in self.filtered("partner_id"):
            address = record.partner_id.address_get(["invoice"])
            record.partner_invoice_id = address.get("invoice", False)

Back to entity