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

Module: Delivery Costs

Entity: delivery.carrier

Compute Method: _compute_delivery_currency_id

Inputs Method Outputs
wizard_currency_id = self.env.context.get("wizard_currency_id")
delivery_currency = self.env["res.currency"].browse(wizard_currency_id)
for carrier in self:
            carrier.delivery_currency_id = delivery_currency

Back to entity