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.parcel
Compute Method: _compute_brand_id
| Inputs | Method | Outputs |
|---|---|---|
|
- for parcel in self: - brands = parcel.company_id.sendcloud_brand_ids - # TODO only brands with domain? - parcel.brand_id = fields.first(brands) |
|
