Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Brazilian - Accounting
Entity: res.city
Compute Method: _compute_l10n_br_zip_ranges
| Inputs | Method | Outputs |
|---|---|---|
|
+ for city in self: + city.l10n_br_zip_ranges = " ".join( + city.l10n_br_zip_range_ids.mapped(lambda zip_range: f"[{zip_range.start} {zip_range.end}]") + ) |
|
