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_shipping_id

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

Back to entity