TIP: You can type at any time to perform a new search.
Base Location Geonames Import
base_location_geonames_import · OCA/partner-contact
- Repository
- OCA/partner-contact · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Partner Management
- Folder size
- 0.49 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/partner-contact
- Last tracking update
- 2026-08-07 09:06:26
- Authors
- Akretion, Odoo Community Association (OCA), Agile Business Group, Tecnativa, AdaptiveCity
- Maintainers
- Akretion, Odoo Community Association (OCA), Agile Business Group, Tecnativa, AdaptiveCity
- Committers
- Weblate, Ruchir Shukla, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_es_toponyms
- Description
This module adds a wizard to import cities and/or city zip entries from [Geonames](http://www.geonames.org/) database.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
city_zip_geonames_import_form |
Import from Geonames form view | city.zip.geonames.import | form | New |
view_country_geonames_form |
res.country.geonames.form | res.country | form | Inherits base.view_country_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
country_idsMany2many → res.countrystring='Countries' args: 'res.country' -
letter_caseSelectiondefault='unchanged'help='Converts retreived city and state names to Title Case (upper case on each first letter of a word) or Upper Case (all letters upper case).' args: [('unchanged', 'Unchanged'), ('title', 'Title Case'), ('upper', 'Upper Case')]
-
get_and_parse_csv(self, country)@api.model -
prepare_city(self, row, country, state)@api.model -
prepare_state(self, row, country)@api.model -
prepare_zip(self, row, city_id)@api.model -
run_import(self) -
transform_city_name(self, city, country)@api.modelOverride it for transforming city name (if needed) :param city: Original city name :param country: Country record :return: Transformed city name
New fields (2)
-
geonames_state_code_columnInteger -
geonames_state_name_columnInteger
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…