partner-contact/base_location_geonames_import/models/res_country.py

17 lines
429 B
Python
Raw Normal View History

2021-03-23 19:36:29 +00:00
# Copyright 2017 Franco Tampieri, Freelancer http://franco.tampieri.info
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from flectra import fields, models
class ResCountryState(models.Model):
_inherit = 'res.country'
geonames_state_name_column = fields.Integer(
'Geonames State Name Column',
)
geonames_state_code_column = fields.Integer(
'Geonames State Code Column',
)