Topónimos Peruanos

l10n_pe_toponym
REPOSITORY
REPOSITORYOCA/l10n-peru
GIT
GIThttps://github.com/OCA/l10n-peru.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-peru/tree/12.0/l10n_pe_toponym
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Colossus Peru, maicoldlb
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Colossus Peru, maicoldlb
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Juan D. Salcedo Salazar
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-peru
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
district_view_form district.view.form l10n_pe.res.country.district form New
district_view_tree district.view.tree l10n_pe.res.country.district tree New
l10n_pe_toponym_import_wizard l10n_pe.toponym.import.form l10n_pe.toponym.import.wizard data Inherits base.res_config_installer
province_view_form province.view.form l10n_pe.res.country.province form New
province_view_tree province.view.tree l10n_pe.res.country.province tree New
Models touched (3)

New fields (5)
  • code Char
    required=True string='Código'
  • country_id Many2one → res.country
    default=_default_country_id string='País' args: 'res.country'
  • name Char
    required=True string='Nombre'
  • province_id Many2one → l10n_pe.res.country.province
    required=True string='Provincia' args: 'l10n_pe.res.country.province'
  • state_id Many2one → res.country.state
    related='province_id.state_id' string='Departamento' args: 'res.country.state'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True string='Código'
  • country_id Many2one → res.country
    default=_default_country_id string='País' args: 'res.country'
  • name Char
    required=True string='Nombre'
  • state_id Many2one → res.country.state
    required=True string='Departamento' args: 'res.country.state'
Public methods (0)

No public methods.

New fields (1)
  • import_fail Boolean
    default=False
Public methods (2)
  • execute(self)
    @api.multi
  • import_local(self)
    @api.multi