Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 13 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 12 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.49 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

Description

This module adds a wizard to import cities and/or city zip entries from Geonames database.

Dependencies

Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
l10n_es_toponyms

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_ids Many2many → res.country
    string='Countries' args: 'res.country'
  • letter_case Selection
    default='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')]
Public methods (6)
  • 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.model
    Override 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_column Integer
  • geonames_state_name_column Integer
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…