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

Module: Sendcloud Shipping

Entity: sendcloud.integration

Compute Method: _compute_service_point_carrier_ids

View 17.0
Inputs Method Outputs
  • service_point_carriers
- for integration in self:
-             carriers_list = safe_eval(integration.service_point_carriers)
-             domain = [("sendcloud_code", "in", carriers_list)]
-             sendcloud_carriers = self.env["sendcloud.carrier"].search(domain)
-             integration.service_point_carrier_ids = sendcloud_carriers
  • service_point_carrier_ids

Back to entity